×

INDI Library v1.9.2 Released (14 Sep 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones.

INDI distribution for macOS

  • Posts: 197
  • Thank you received: 96
Very good!

Yes, Python3 is the way to go. This is the version mentioned in the web manager tutorial page: www.indilib.org/support/tutorials/162-indi-web-manager.html
This old Python 2.7 is very obsolete and Apple just announce it will stop to provide any default Python with 10.15.

I let you choice the best way to install Python for the web manager, you have much more experience than me and I am probably too Linux biased :)
2 years 3 months ago #40037

Please Log in or Create an account to join the conversation.

  • Posts: 2505
  • Thank you received: 670
So I was inspired by what you did and I worked today and yesterday on putting together a little program to make it happen. It is not finished yet, but it does currently start and stop the web manager, monitor it, and monitor the indi server that was started up.

2 years 3 months ago #40068
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2505
  • Thank you received: 670
More revisions. . .
2 years 3 months ago #40073
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 197
  • Thank you received: 96
This look good!
2 years 3 months ago #40085

Please Log in or Create an account to join the conversation.

  • Posts: 2064
  • Thank you received: 193
That looks interesting, thanks for all your time developing more cool tools for all of us.
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
2 years 3 months ago #40143

Please Log in or Create an account to join the conversation.

  • Posts: 2505
  • Thank you received: 670
So, I think it might be ready for some testing. Try this out:

drive.google.com/open?id=1q7eU2kh0mPFJQLuxtXE4QFS-Qc-kTqHz
2 years 3 months ago #40168

Please Log in or Create an account to join the conversation.

  • Posts: 197
  • Thank you received: 96
Hi Rob,

Just tested your webmanager application on a clean MacOS.

Install work fine, I have to open the setup to install python and indiweb.
For convenience for new users maybe this page can open automatically on the first run if the application is not found? or a simplified dialog that do the same as the Install button?

The server start but then it fail to load a driver. the messages are:
FIFO: Starting driver indi_simulator_ccd
2019-06-14T06:53:32: Driver indi_simulator_ccd: pid=64014 rfd=4 wfd=7 efd=8
2019-06-14T06:53:32: Driver indi_simulator_ccd: dyld: Library not loaded: @executable_path/../Frameworks/libusb-1.0.0.dylib
2019-06-14T06:53:32: Driver indi_simulator_ccd: Referenced from: /Applications/INDIWebManagerApp.app/Contents/Frameworks/libindidriver.1.dylib
2019-06-14T06:53:32: Driver indi_simulator_ccd: Reason: image not found
2019-06-14T06:53:32: Driver indi_simulator_ccd: stderr EOF
Child process 64014 died

The details for this libs:

$ otool -L /Applications/INDIWebManagerApp.app/Contents/Frameworks/libindidriver.1.dylib
/Applications/INDIWebManagerApp.app/Contents/Frameworks/libindidriver.1.dylib:
@rpath/libindidriver.1.dylib (compatibility version 1.0.0, current version 1.7.8)
@executable_path/../Frameworks/libusb-1.0.0.dylib (compatibility version 2.0.0, current version 2.0.0)
@executable_path/../Frameworks/libnova-0.13.0.dylib (compatibility version 1.0.0, current version 1.0.0)
@rpath/libcfitsio.3.dylib (compatibility version 3.0.0, current version 3.45.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1)
@rpath/libz.dylib (compatibility version 1.0.0, current version 1.2.11)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.4)

$ otool -L /Applications/INDIWebManagerApp.app/Contents/Frameworks/libusb-1.0.0.dylib
/Applications/INDIWebManagerApp.app/Contents/Frameworks/libusb-1.0.0.dylib:
@rpath/libusb-1.0.0.dylib (compatibility version 2.0.0, current version 2.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1570.15.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1)

Just remark that for indiserver running in Contents/MacOS/indi the Framework path is ../../Framework . maybe this is the error.
Or need @rpath instead of @executable_path/../Frameworks
2 years 3 months ago #40173

Please Log in or Create an account to join the conversation.

  • Posts: 2505
  • Thank you received: 670
So, the interesting thing is that I just went back and took a look at the build log. When I ran the fix libraries script, the paths were all correct! When I looked at the final dmg, the paths were NOT correct. So then I tried a little experiment. I tried running the fix libraries script AFTER the macdeployqt command. see if this helps any.

drive.google.com/open?id=1kuo3kHtfRCMno04G0qQ1s1uaiYcAXCKx
2 years 3 months ago #40176

Please Log in or Create an account to join the conversation.

  • Posts: 278
  • Thank you received: 39
Not sure what happened on my system...

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
Library not loaded: @rpath/QtConcurrent.framework/Versions/5/QtConcurrent
Referenced from: /Applications/INDIWebManagerApp.app/Contents/MacOS/INDIWebManagerApp
Reason: image not found

Binary Images:
0x1053a7000 - 0x1053c7ffb + (0.5 - 0.5) <F6239FAF-E45C-3017-84B4-E48C9392A1AB> /Applications/INDIWebManagerApp.app/Contents/MacOS/INDIWebManagerApp
0x1053d7000 - 0x10545affb +libKF5KIOFileWidgets.5.dylib (0) <660B54E1-6EDD-3D37-BA20-358081ADD602> /Applications/INDIWebManagerApp.app/Contents/Frameworks/libKF5KIOFileWidgets.5.dylib
0x105504000 - 0x1055b6ffb +libKF5KIOWidgets.5.dylib (0) <CCDB0EAB-7D85-3AEA-A9A7-E209012F0FFC> /Applications/INDIWebManagerApp.app/Contents/Frameworks/libKF5KIOWidgets.5.dylib
0x10568f000 - 0x105779ff7 +libKF5KIOCore.5.dylib (0) <D3ED626F-9156-3D75-8A12-60A9CBEEC3F7> /Applications/INDIWebManagerApp.app/Contents/Frameworks/libKF5KIOCore.5.dylib
0x10586b000 - 0x10587dffb +libKF5JobWidgets.5.dylib (0) <707796B5-D957-35EC-B7FE-F72AC9192CF1> /Applications/INDIWebManagerApp.app/Contents/Frameworks/libKF5JobWidgets.5.dylib
0x1058a6000 - 0x105911ff7 +libKF5Service.5.dylib (0) <F7AD1EB0-CDDC-33A3-81C8-FEF873D72D7A> /Applications/INDIWebManagerApp.app/Contents/Frameworks/libKF5Service.5.dylib
0x105978000 - 0x105992fff +libKF5Completion.5.dylib (0) <76119590-3427-39A9-9764-47C9CE0EF946> /Applications/INDIWebManagerApp.app/Contents/Frameworks/libKF5Completion.5.dylib
0x10ad0f000 - 0x10ad796ef dyld (655.1.1) <CE635DB2-D47E-3C05-A0A3-6BD982E7E750> /usr/lib/dyld

Model: MacBookPro11,1, BootROM 153.0.0.0.0, 2 processors, Intel Core i5, 2.6 GHz, 8 GB, SMC 2.16f68
Graphics: kHW_IntelIrisItem, Intel Iris, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x384B54463531323634485A2D314736453120
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x384B54463531323634485A2D314736453120
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x112), Broadcom BCM43xx 1.0 (7.77.61.2 AirPortDriverBrcmNIC-1305.8)
Bluetooth: Version 6.0.12f1, 3 services, 27 devices, 1 incoming serial ports
Network Service: Thunderbolt Ethernet, Ethernet, en4
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0512F, 500.28 GB
USB Device: USB 3.0 Bus
USB Device: BUP BK
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.2
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
2 years 3 months ago #40182

Please Log in or Create an account to join the conversation.

  • Posts: 2505
  • Thank you received: 670
Oops, no you are right. There is a good reason for that. I forgot that my fix libraries script deletes the Frameworks folder and starts fresh, so by just reversing the commands, the stuff MacDeployQT does do correctly got deleted accidentally. Let me revise that and try again.
2 years 3 months ago #40184

Please Log in or Create an account to join the conversation.

  • Posts: 2505
  • Thank you received: 670
Here, this should still have those framework files in it.

drive.google.com/open?id=1-ywwLuELPwAYU1LsDLK-PupkV9-hDLZn

Thanks for the help!
2 years 3 months ago #40185

Please Log in or Create an account to join the conversation.

  • Posts: 197
  • Thank you received: 96
Thank you, this last version work fine!

One minor problem with the GSC, when you click Install it just show a message "Folder does not exists".
Maybe because ~/Library/Application Support/INDIWebManagerApp/ do not exists.
2 years 3 months ago #40186

Please Log in or Create an account to join the conversation.

Time to create page: 0.857 seconds