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 19-10-2017, 23:31   #76
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,160
Re: plug ins not showing in 4.80, one one laptop, work on another?

TDan.
Very nice you happen to capture that. I've tried to reproduce the same but couldn't. No miniature is shown.
I've asked the user to test your O version. I'll revert.
Håkan
Hakan is offline   Reply With Quote
Old 21-10-2017, 10:23   #77
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,160
Re: plug ins not showing in 4.80, one one laptop, work on another?

TDan..
OK - the built from your plugindebug works fine also for my friend. Issue solved?
So, what's your plan to make a PR? What's the actual changes to make the dialog in front? Is the try-catch procedure worth to keep for any future oddities?
Thanks for great efforts.
Håkan
Hakan is offline   Reply With Quote
Old 22-10-2017, 05:35   #78
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: plug ins not showing in 4.80, one one laptop, work on another?

Quote:
Originally Posted by Hakan View Post
TDan..
OK - the built from your plugindebug works fine also for my friend. Issue solved?
So, what's your plan to make a PR? What's the actual changes to make the dialog in front? Is the try-catch procedure worth to keep for any future oddities?
Thanks for great efforts.
Håkan
Håkan,

Thanks for the report. I don't know why my pluginDebug build fixes the problem for your friend. It was only designed to tell us what plugin is causing the issue. I think Dave or Pavel should look at my code and decide if it should be a PR or not. I don't like making changes when I don't know why the change works.
transmitterdan is offline   Reply With Quote
Old 22-10-2017, 12:38   #79
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,160
Re: plug ins not showing in 4.80, one one laptop, work on another?

TDan
Agreed. One do have to know why things are working.
But you did some more minor things than the try-catch part. Some commands where moved but I haven't yet run a diff to find all changes.
Hopefully Dave/Pavel can solve why the dialog are working now but not before.
Hakan is offline   Reply With Quote
Old 22-10-2017, 13:14   #80
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: plug ins not showing in 4.80, one one laptop, work on another?

You can compare pluginDebug to master to see differences. Can be done online at github web site.
transmitterdan is offline   Reply With Quote
Old 27-10-2017, 09:15   #81
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,160
Re: plug ins not showing in 4.80, one one laptop, work on another?

TDan..
Now we may got verified why your fix was working. The fix in this commit by Shawn Dooley https://github.com/OpenCPN/OpenCPN/p...4/files#diff-0 was in your "pluginDebug as well.
Håkan
Hakan is offline   Reply With Quote
Old 27-10-2017, 18:19   #82
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: plug ins not showing in 4.80, one one laptop, work on another?

Yes, maybe that is the true bug but I think either way the parenthesis are arranged is valid. I forget why I changed it.

I also found another null pointer error that I had to add to pluginDebug branch.
transmitterdan is offline   Reply With Quote
Old 28-10-2017, 10:06   #83
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,160
Re: plug ins not showing in 4.80, one one laptop, work on another?

TDan..
You may be correct but with recent O build the blacklist message is now shown correct if I run it using the "bad" plugin directory.
Håkan
Hakan is offline   Reply With Quote
Old 28-10-2017, 11:15   #84
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: plug ins not showing in 4.80, one one laptop, work on another?

Ok, I guess that was the real bug. Glad it's fixed.
transmitterdan is offline   Reply With Quote
Old 29-10-2017, 04:35   #85
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: plug ins not showing in 4.80, one one laptop, work on another?

Quote:
Originally Posted by transmitterdan View Post
Yes, maybe that is the true bug but I think either way the parenthesis are arranged is valid. I forget why I changed it.

I also found another null pointer error that I had to add to pluginDebug branch.
For people not familiar with wxWidgets it is quite usefull to have a look into the wxWidgets eBook: https://www.google.com/url?sa=t&rct=...DKGrkc5mVx1FMF

Even if this eBook is outdated now it is still a very good source.

Gerhard
CarCode is offline   Reply With Quote
Old 29-10-2017, 12:29   #86
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,160
Re: plug ins not showing in 4.80, one one laptop, work on another?

Gerhard..
Nice and handy document not least for my very basic knowledge. Thanks for the link.
Håkan
Hakan is offline   Reply With Quote
Old 29-10-2017, 14:25   #87
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,654
Images: 2
Re: plug ins not showing in 4.80, one one laptop, work on another?

Such small paren issues, create so much trouble. Yikes, you guys figured it out. Congratulations.
There is now a short DEV Manual note with Gerhard's doc. wxWidgets
rgleason is offline   Reply With Quote
Old 24-11-2017, 14:38   #88
Registered User
 
wingssail's Avatar

Join Date: Jan 2010
Location: On Vessel WINGS, wherever there's an ocean, currently in Mexico
Boat: Serendipity 43
Posts: 5,509
Send a message via AIM to wingssail Send a message via Skype™ to wingssail
Re: plug ins not showing in 4.80, one one laptop, work on another?

Guys, I'm watching this thread and it's great work.

Now, I have a similar problem:

Plugins page is blank (but the log shows successful plug in load, see below)
4:05:36 PM: PlugInManager searching for PlugIns in location C:\Program Files (x86)\OpenCPN\plugins
4:05:37 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\chartdldr_pi.dll
4:05:37 PM: C:\Program Files (x86)\OpenCPN\plugins\chartdldr_pi.dll
API Version detected: 113
PlugIn Version detected: 102
4:05:37 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\dashboard_pi.dll
4:05:37 PM: C:\Program Files (x86)\OpenCPN\plugins\dashboard_pi.dll
API Version detected: 106
PlugIn Version detected: 102
4:05:37 PM: Warning: Caught MainLoopException, continuing...
4:06:15 PM: LOGBOOK: 2017-11-24 22:06:15 UTC DR Lat 20.74820 Lon -105.37830
4:07:47 PM: opencpn::MyFrame exiting cleanly.
4:07:47 PM: Chart cache PlugIn purge
4:07:47 PM: PlugInManager: Deactivating PlugIn: C:\Program Files (x86)\OpenCPN\plugins\chartdldr_pi.dll
4:07:47 PM: PlugInManager: Deactivating PlugIn: C:\Program Files (x86)\OpenCPN\plugins\dashboard_pi.dll
The problem is more complicated.
  1. Also, after trying to view plugins the toolbox ICON does not work
  2. Also now O will not shut down

All the above have worked for me before.

These issues are very repeatable.

I installed 4.80 today, now just went back to 4.6.1, no change.

I am on Windows10 Creators update.

In a few minutes I will try to delete the plug in folder (rename so I can save it) and reinstall O.

After that I will restore the operating system.

After that I will switch to a back-up laptop which is working fine

Fred Roswold
wingssail is offline   Reply With Quote
Old 24-11-2017, 14:56   #89
Registered User
 
wingssail's Avatar

Join Date: Jan 2010
Location: On Vessel WINGS, wherever there's an ocean, currently in Mexico
Boat: Serendipity 43
Posts: 5,509
Send a message via AIM to wingssail Send a message via Skype™ to wingssail
Re: plug ins not showing in 4.80, one one laptop, work on another?

After trying step 1 (deleting the plugin folder) and then reinstalling O (4.80), it all seems to work.
wingssail is offline   Reply With Quote
Old 25-11-2017, 16:40   #90
Registered User

Join Date: Nov 2017
Posts: 7
Re: plug ins not showing in 4.80, one one laptop, work on another?

Is anyone able to talk to me about OpenCPN on the phone ? I'm going nuts trying to open and download charts.
capttomk is offline   Reply With Quote
Reply

Tags
laptop, plug


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
Status of the OCPN plug-ins bcn OpenCPN 0 25-01-2015 02:35
Building O's plug-ins with Codeblocks on Ubuntu dave777 OpenCPN 13 10-07-2014 16:02
Plug Ins for Mac OSX kas_1611 OpenCPN 40 30-03-2014 07:51
Plug-ins and ".pot" Gilletarom OpenCPN 2 01-06-2011 13:39
Is There an "Plug Ins for Dummies" Guide? Tom.B OpenCPN 6 22-04-2011 15:24

Advertise Here


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


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.