Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 13-02-2024, 11:55   #1
Registered User

Join Date: Feb 2024
Posts: 3
ODRAW 1.8.46.0 not installing and crashing on Mac

I have tried for a couple of days on several Mac systems without success. Current systems iMac 3.6 GHz Quad-Core Intel Core i3, Sonoma 14.3.1 but happened also before the upgrade on Catalina. Same for MacBookPro with Apple M1 chip. Also tried with Beta Plugin Library as well as creating new users.

Symptoms: Installing ODRAW gives a success message, but then when applying/Ok'ing not appearing in toolbar and when restarting get the message that issues with plugin, or even more recently after installation success get the message that plugin encountered a problem and system crashes. Screenshots., logs, Ini and Config attached.

Any help highly appreciated .. looking at the logs there is an issue with locating some files.

Thanks a lot
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2024-02-13 at 20.31.29.jpg
Views:	41
Size:	124.0 KB
ID:	286271   Click image for larger version

Name:	Screenshot 2024-02-13 at 20.24.04.jpg
Views:	41
Size:	320.2 KB
ID:	286272  

Click image for larger version

Name:	Screenshot 2024-02-13 at 20.23.53.jpg
Views:	46
Size:	224.7 KB
ID:	286273  
Attached Files
File Type: pdf opencpnini.pdf (52.3 KB, 12 views)
File Type: pdf opencpnlog.pdf (69.1 KB, 12 views)
KarlInfinity is offline   Reply With Quote
Old 13-02-2024, 12:19   #2
Registered User
 
Shrew's Avatar

Join Date: Aug 2010
Posts: 3,109
Re: ODRAW 1.8.46.0 not installing and crashing on Mac

20:22:29.245 ERROR file.cpp:216 can't open file '/Users/ocpn/Library/Preferences/opencpn/mmsitoname.csv' (error 2: No such file or directory)

20:23:55.256 ERROR dlunix.cpp:120 Failed to load shared library '/Users/ocpn/Library/Application Support/OpenCPN/Contents/PlugIns/libocpn_draw_pi.dylib':
dlopen(/Users/ocpn/Library/Application Support/OpenCPN/Contents/PlugIns/libocpn_draw_pi.dylib, 0x0002):
Library not loaded: /usr/local/lib/libwx_baseu-3.2.dylib Referenced from: <185847B6-B3B3-3E18-A03D-14780660C493> /Users/ocpn/Library/Application Support/OpenCPN/Contents/PlugIns/libocpn_draw_pi.dylib
Reason: tried:
'/usr/local/lib/libwx_baseu-3.2.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libwx_baseu-3.2.dylib' (no such file),
'/usr/local/lib/libwx_baseu-3.2.dylib' (no such file),
'/usr/lib/libwx_baseu-3.2.dylib' (no such file, not in dyld cache)

20:25:21.589 ERROR file.cpp:216 can't open file '/Users/ocpn/Library/Preferences/opencpn/mmsitoname.csv' (error 2: No such file or directory)

20:27:34.601 ERROR dlunix.cpp:120 Failed to load shared library '/Users/ocpn/Library/Application Support/OpenCPN/Contents/PlugIns/libocpn_draw_pi.dylib':
dlopen(/Users/ocpn/Library/Application Support/OpenCPN/Contents/PlugIns/libocpn_draw_pi.dylib, 0x0002):
Library not loaded: /usr/local/lib/libwx_baseu-3.2.dylib Referenced from: <185847B6-B3B3-3E18-A03D-14780660C493> /Users/ocpn/Library/Application Support/OpenCPN/Contents/PlugIns/libocpn_draw_pi.dylib
Reason: tried:
'/usr/local/lib/libwx_baseu-3.2.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libwx_baseu-3.2.dylib' (no such file),
'/usr/local/lib/libwx_baseu-3.2.dylib' (no such file),
'/usr/lib/libwx_baseu-3.2.dylib' (no such file, not in dyld cache)

20:32:39.951 ERROR file.cpp:216 can't open file '/Users/ocpn/Library/Preferences/opencpn/mmsitoname.csv' (error 2: No such file or directory)



Are all of these are in the path in the error?

These are all in [/Users/ocpn/Library/]. Most are in the Library directory. I would assume that either the files are missing, or there is an environment variable that needs to be set. Keep in mind Unix is case sensitive.
Shrew is offline   Reply With Quote
Old 13-02-2024, 15:45   #3
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: ODRAW 1.8.46.0 not installing and crashing on Mac

The packaging of the plugin is broken, before distributing it should have been processed by a script that changes the paths to the libraries from /usr/local/lib/ to @executable_path/../Frameworks/ where they actually are on your systems.

Not much you can do until a corrected version of the plugin is released.
nohal is offline   Reply With Quote
Old 13-02-2024, 15:56   #4
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: ODRAW 1.8.46.0 not installing and crashing on Mac

I have sent a pull request with a fix, so new package will hopefully be available soon.
nohal is offline   Reply With Quote
Old 13-02-2024, 23:57   #5
Registered User

Join Date: Feb 2024
Posts: 3
Re: ODRAW 1.8.46.0 not installing and crashing on Mac

All, thanks a lot. Thought it was some install script. Will wait for a new version..
KarlInfinity is offline   Reply With Quote
Old 14-02-2024, 09:07   #6
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: ODRAW 1.8.46.0 not installing and crashing on Mac

New package just landed in the master catalog, works fine for me.
nohal is offline   Reply With Quote
Old 14-02-2024, 09:43   #7
Registered User

Join Date: Feb 2024
Posts: 3
Re: ODRAW 1.8.46.0 not installing and crashing on Mac

Works fine for me too, thanks !
KarlInfinity is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing plugins on Mac not working Bella Donna OpenCPN 4 04-06-2023 10:31
ODraw 1.5 beta jongough OpenCPN 36 22-03-2019 02:52
ODraw - 1.3 beta jongough OpenCPN 105 13-06-2017 13:40
ODraw - beta 1.1 jongough OpenCPN 99 06-07-2016 01:20

Advertise Here


All times are GMT -7. The time now is 23:36.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.