×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

INDI distribution for macOS

  • Posts: 2247
  • Thank you received: 223
That looks interesting, thanks for all your time developing more cool tools for all of us.
4 years 9 months ago #40143

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

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

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

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

  • Posts: 210
  • Thank you received: 104
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
4 years 9 months ago #40173

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

  • Posts: 2876
  • Thank you received: 809
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
4 years 9 months ago #40176

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

  • Posts: 460
  • Thank you received: 69
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
4 years 9 months ago #40182

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

  • Posts: 2876
  • Thank you received: 809
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.
4 years 9 months ago #40184

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

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

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

Thanks for the help!
4 years 9 months ago #40185

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

  • Posts: 210
  • Thank you received: 104
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.
4 years 9 months ago #40186

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

  • Posts: 2876
  • Thank you received: 809
Yes, it is because I do a check to see if the desired location actually exists. But of course, this folder does not exist. I will add an option to create the folder if it is detected that it doesn't exist.

Please keep testing and find any other issues.
4 years 9 months ago #40188

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

  • Posts: 2876
  • Thank you received: 809
This one is revised with the changes you suggested.

drive.google.com/open?id=1scWHyDBgfX7K84mF6K75Aach2RP6UvkB
4 years 9 months ago #40191

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

  • Posts: 2876
  • Thank you received: 809
I made some slight changes to the source code and got it to work well on Linux.

The following user(s) said Thank You: Patrick Chevalley
4 years 9 months ago #40198
Attachments:

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

  • Posts: 210
  • Thank you received: 104
I tested the new Mac version and all is good.
The Setup panel is open on the first run if Python and indiweb is not installed.
The GSC install work fine, without problem with the default directory.

Then I compiled and tested on Linux (Ubuntu 18.04 x86_64). No problem after installing the cmake requirement.
The application work fine.

The requirement I have to install, this is in addition to everything need to compile INDI
sudo apt install extra-cmake-modules qtbase5-dev libkf5config-dev libkf5kio-dev libkf5doctools-dev
Last edit: 4 years 9 months ago by Patrick Chevalley.
4 years 9 months ago #40208

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

Time to create page: 0.343 seconds