×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

MacOS Stars 2.9.5 crash

  • Posts: 2877
  • Thank you received: 812
Can you try putting a text file in the folder /Applications/kstars.app/Contents/MacOS called qt.conf with the following contents:

[Paths]
Plugins = Plugins
6 years 1 day ago #25511

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

  • Posts: 2877
  • Thank you received: 812
or possibly in /Applications/kstars.app/Contents/Resources

That is actually where it was before.
6 years 1 day ago #25512

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

  • Posts: 2877
  • Thank you received: 812
I don't know why but it seems to be missing in the build I made last night. Weird. It has been automatically in kstars every time I built it for a very long time! Now it is suddenly not there.
6 years 1 day ago #25513

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

  • Posts: 1957
  • Thank you received: 420
I tried both places and tried to start KStars from the command line but got the same error:
$> /Applications/kstars.app/Contents/MacOS/kstars
This application failed to start because it could not find or load the Qt platform plugin "cocoa"
in "".
 
Reinstalling the application may fix this problem.
Abort trap: 6
6 years 1 day ago #25514

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

  • Posts: 1957
  • Thank you received: 420
I meant: I first tried /Applications/kstars.app/Contents/Resources and tried to start KStars but got the error. Then i tried /Applications/kstars.app/Contents/MacOS and got the same error. I even tried having the file with those contents in both directories at the same time but still I got the error.
6 years 1 day ago #25515

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

  • Posts: 2877
  • Thank you received: 812
try this:

DYLD_PRINT_LIBRARIES=1 /Applications/kstars.app/Contents/MacOS/kstars
6 years 1 day ago #25516

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

  • Posts: 1957
  • Thank you received: 420
Lots of output which I captured in a txt file by adding a 2>&1 redirect. See the attached file.
6 years 1 day ago #25518
Attachments:

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

  • Posts: 2877
  • Thank you received: 812
oh! it still might just be qt.conf. the plugins directory is not Plugins, its PlugIns

[Paths]
Plugins = PlugIns
6 years 1 day ago #25519

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

  • Posts: 1957
  • Thank you received: 420
I changed both files but, sorry, it didn't work. I still get the same error :(
6 years 1 day ago #25520

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

  • Posts: 2877
  • Thank you received: 812
ok, I think I understand the issue now. Somehow when I ran the build, it didn't run the macdeployqt step correctly. There are files missing from the plugins folder. The qt.conf file is missing, but the files it tells the system to look for in plugins are missing too. I will check on the build computer and see why this didn't work.

Thank you for your help. I should be able to fix this now.
6 years 1 day ago #25521

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

  • Posts: 1957
  • Thank you received: 420
Glad to have been of help. As I wrote in my PM to you, let me know when I can help out more.
6 years 1 day ago #25522

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

  • Posts: 2877
  • Thank you received: 812
Ok, I have updated the KStars Mac DMG. There was a typo in the build script on the macdeployqt line. That explains why the qt.conf file was not created and why the plugins were not exported correctly. Please try the dmg again as soon as possible.

Thanks,

Rob
The following user(s) said Thank You: Wouter van Reeven
6 years 1 day ago #25525

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

Time to create page: 0.666 seconds