×

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
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: 2877
  • Thank you received: 812
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: 2877
  • Thank you received: 812
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: 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.
5 years 11 months 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.
5 years 11 months 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
5 years 11 months ago #25525

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

  • Posts: 1957
  • Thank you received: 420
Rob, you nailed it! KStars now starts fine for me. Unfortunately I removed all data directories in an attempt to get it working last night so I have to start over but it is no big deal. The only thing is that I needed to create the ~/Library/Application Support/kstars directory by hand because KStars refused to start without it. Once I did that, however, all is fine. Thanks very much for the hard work you did to fix this!
5 years 11 months ago #25533

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

  • Posts: 31
  • Thank you received: 7
YES! :) tried it this morning and all appears good. Learned lots yesterday from both of you. Thanks for the efforts.
Equipment

Sky Watcher Esprit 100ED APO
QHY5L-II Mini Guider
Pegasus PPB, DMFC
Xagyl Filter, LRGB+Ha
CGEM DX
RP4.4

William Optics RedCat 51
Star Adventurer
RP4.1
Software
KStars phd2 , Ubuntu, StarTools, Mac OS
AstroDSLR AstroGuider AstroTelescope, AstroImager, Astrometry
5 years 11 months ago #25542

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

Time to create page: 0.609 seconds