×

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

Bi-monthly release with minor bug fixes and improvements

MacOS Stars 2.9.5 crash

  • Posts: 2876
  • Thank you received: 809
ah, thank you, thats much better info.
5 years 11 months ago #25509

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

  • Posts: 2876
  • Thank you received: 809
no, I think I might have found a lead based on what you said via a google search.
5 years 11 months ago #25510

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

  • Posts: 2876
  • Thank you received: 809
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
5 years 11 months ago #25511

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

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

That is actually where it was before.
5 years 11 months ago #25512

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

  • Posts: 2876
  • Thank you received: 809
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.
5 years 11 months 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
5 years 11 months 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.
5 years 11 months ago #25515

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

  • Posts: 2876
  • Thank you received: 809
try this:

DYLD_PRINT_LIBRARIES=1 /Applications/kstars.app/Contents/MacOS/kstars
5 years 11 months 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.
5 years 11 months ago #25518
Attachments:

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

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

[Paths]
Plugins = PlugIns
5 years 11 months 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 :(
5 years 11 months ago #25520

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

  • Posts: 2876
  • Thank you received: 809
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.
5 years 11 months ago #25521

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

Time to create page: 0.554 seconds