Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-02-2016, 09:39   #331
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,101
Re: Celestial Navigation Plugin Redux

Perhaps a programmer will be able to add these sometime.
Celestial Navigation Plugin Redux
__________________

__________________
rgleason is offline   Reply With Quote
Old 06-02-2016, 09:54   #332
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Celestial Navigation Plugin Redux

Quote:
Originally Posted by rgleason View Post
NAV try the one in 4.1.1317 PI WIN Folder.
I just installed into Opencpn 4.2.0 and it works.
Just tried two times (uninstallling the old version and re-installing the one you mention above). I still observe the same thing: black OpenCPN window and no more reaction from OpenCPN.
__________________

__________________
NAV is offline   Reply With Quote
Old 06-02-2016, 09:57   #333
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Celestial Navigation Plugin Redux

Quote:
Originally Posted by rgleason View Post
Also check the 4.2 versions of all the plugins that are here, where Pavel has rebuilt for v4.2 PlugIns for OpenCPN 4.2 | Official OpenCPN Homepage
I see a celestial_nav_pi there for v4.2.
That's the version I initially tried (also two times) ......
__________________
NAV is offline   Reply With Quote
Old 07-02-2016, 07:20   #334
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,101
Re: Celestial Navigation Plugin Redux

NAV,
First check your LOG file to see what the errors are and post them here if you find something you don't understand.

Then i suggest you use the uninstall-celestial-navigation_pi.exe and then check your opencpn.ini file to make sure that there are no left over 'celestial settings' in the ini.
Then try reinstalling the plugin.

I think there might be something in the ini file that is a causing this.

I have tried the plugin again and it seems to be working fine. I installed it into a fresh version of opencpn.ini (reasonably fresh anyway) and it works.

Another alternative, you can also rename your opencpn.ini to opencpn.ini.old or something and restart O and a new opencpn.ini will be created. Then try installing celestial_pi.
Attached Thumbnails
Click image for larger version

Name:	CelestialNav.png
Views:	51
Size:	229.5 KB
ID:	118511  
__________________
rgleason is offline   Reply With Quote
Old 07-02-2016, 08:23   #335
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Celestial Navigation Plugin Redux

Still the same problem.

This is my log after uninstalling celestial, removing everything 'celestial' from ini, and reinstalling from opencpn.org again (I don't see anything strange):

17:02:18: PlugInManager searching for PlugIns in location C:\Program Files (x86)\OpenCPN\plugins
17:02:25: BR24radar_pi: Lost Variation source
17:02:32: BR24radar_pi: WMM plugin provides new magnetic variation 0.771717
17:03:04: LOGBOOK: 2016-02-07 16:03:04 UTC DR Lat 52.49980 Lon 4.50980
17:06:26: Detected display size (horizontal): 518 mm
17:06:27: PlugInManager searching for PlugIns in location C:\Program Files (x86)\OpenCPN\plugins
17:06:27: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\celestial_navigation_pi.dll
17:06:27: C:\Program Files (x86)\OpenCPN\plugins\celestial_navigation_pi.dll
API Version detected: 108
PlugIn Version detected: 110
17:06:33: PlugInManager: Initializing PlugIn: C:\Program Files (x86)\OpenCPN\plugins\celestial_navigation_pi.dll
17:06:33: Opencpn language reload for: nl_NL
17:06:33: Loading catalog for: opencpn-s63_pi
17:06:33: Loading catalog for: opencpn-br24radar_pi
17:06:33: Loading catalog for: opencpn-chartdldr_pi
17:06:33: Loading catalog for: opencpn-dashboard_pi
17:06:33: Loading catalog for: opencpn-grib_pi
17:06:33: Loading catalog for: opencpn-logbookkonni_pi
17:06:33: Loading catalog for: opencpn-ocpn_draw_pi
17:06:33: Loading catalog for: opencpn-polar_pi
17:06:33: Loading catalog for: opencpn-route_pi
17:06:33: Loading catalog for: opencpn-SAR_pi
17:06:33: Loading catalog for: opencpn-vdr_pi
17:06:33: Loading catalog for: opencpn-watchdog_pi
17:06:33: Loading catalog for: opencpn-weather_routing_pi
17:06:33: Loading catalog for: opencpn-wmm_pi
17:06:33: Loading catalog for: opencpn-celestial_navigation_pi
17:06:33: Loading catalog for opencpn core.
17:06:35: BR24radar_pi: Lost Variation source
17:06:38: BR24radar_pi: WMM plugin provides new magnetic variation 0.771717
17:06:40: Detected display size (horizontal): 518 mm
17:06:41: PlugInManager searching for PlugIns in location C:\Program Files (x86)\OpenCPN\plugins
17:06:49: BR24radar_pi: Lost Variation source
17:06:55: BR24radar_pi: WMM plugin provides new magnetic variation 0.771717

The only 'celestial related' lines in the ini (again, I don't see anything wrong):

[PlugIns]
PluginOrder=World Magnetic Model;WeatherRouting;Watchdog;VDR;SAR;S63;ROUTE;Po lar;OCPN Draw;Logbook;GRIB;Dashboard;ChartDownloader;BR24Ra dar;Celestial Navigation

[PlugIns/celestial_navigation_pi.dll]
bEnabled=1


__________________
NAV is offline   Reply With Quote
Old 07-02-2016, 09:58   #336
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,101
Re: Celestial Navigation Plugin Redux

So the plugin is initializing and there don't seem to be any errors.
Have you tried enabling it?
What happens?
Does it show up or not?

What version of Opencpn are you runnning?
__________________
rgleason is offline   Reply With Quote
Old 08-02-2016, 08:24   #337
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Celestial Navigation Plugin Redux

Quote:
Originally Posted by rgleason View Post
So the plugin is initializing and there don't seem to be any errors.
Have you tried enabling it?
What happens?
Does it show up or not?

What version of Opencpn are you runnning?
Yes, I can enable the plugin. The icon becomes visible in the icon bar. But when I click on the icon to start the plugin, the described problem occurs.

I'm running the stable version 4.2 of OpenCPN from opencpn.org (build 2016-02-03). OS is W10.
__________________
NAV is offline   Reply With Quote
Old 08-02-2016, 12:01   #338
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,101
Re: Celestial Navigation Plugin Redux

NAV
I am going to use opencpn.lib for version 4.2.0 and build celestialnavigation_pi for release. Then upload to O Beta File Thingie.

If that does not work, I am sorry, I am running out of suggestions now. You seem to have done everything. The next thing might be to try renaming your opencpn.ini file to opencpn.ini.old if you have not done that.
Then start Opencpn? It will create a brand new ini file. Then you'll need to re enable the plugins one by one. If celestialnavigation_pi works with a new INI file, we will know the problem has to do with the ini.

First try the updated version please. I think Plugin API 108 and 110 s pretty old version. Should be at least 1.14 try the next one I upload please.
__________________
rgleason is offline   Reply With Quote
Old 08-02-2016, 12:21   #339
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,101
Re: Celestial Navigation Plugin Redux

NAV I've compiled and uploaded to O Beta File thingie rguser rgpass.
Look in 4.2.0 PI WIN folder.

I've installed that celestialnav_pi file into v4.2.0 (and it works) and my log shows this, even though the opencpn.lib that I used was the most current, and consequently it should work with v 4.2.0 . What these API numbers must be telling us is that this plugin can be compiled successfully for version 4.0 too! - Perhaps someone else has a suggestion if this does not work.

Quote:
3:14:43 PM: Detected display size (horizontal): 254 mm
3:14:43 PM: PlugInManager searching for PlugIns in location C:\Program Files (x86)\OpenCPN 4.2.0\plugins
3:14:43 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.2.0\plugins\celestial_navigation_pi.dll
3:14:44 PM: C:\Program Files (x86)\OpenCPN 4.2.0\plugins\celestial_navigation_pi.dll
API Version detected: 108
PlugIn Version detected: 110
__________________
rgleason is offline   Reply With Quote
Old 27-02-2016, 10:11   #340
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Celestial Navigation Plugin Redux

Sean extended the Celestial plugin with functionality for lunar distances, and Pavel updated the po-file in CrowdIn accordingly.

I did the initial translations, but I can't test them. I still have a major issue starting the plugin: after clicking the plugin icon, I get a black OpenCPN screen and it seems an unending loop starts ... I have to stop OpenCPN 4.2. I'm using Windows 10 and have no major problems with other plugins. See previous posts for details of ini and log files.
__________________
NAV is offline   Reply With Quote
Old 27-02-2016, 17:30   #341
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,101
Re: Celestial Navigation Plugin Redux

I agree NAV. I tried building Pavel's fork which is the most current and the language files came down, but when I try to enable the plugin, Ov4.2.0 just shuts down completely and disappears! Totally cleaned out the build directory and built a clean version. tried this twice.

We must be missing something from the language files. Maybe the POT or something?
Nope there are 24 files under po. All are po files + celestial_nav.pot and Potfile.in

Perhaps it is some problem with translation?
Could it be related to Jon's work trying to solve the duplicate translation words in two different plugins? using wxtranslations?

If we are having similar trouble with other plugins that might be related, but it is more likely something simpler.

There are a lot of Warnings when I compile. See attached.
Attached Files
File Type: doc celestial_nav_pi-Nohal-git.doc (2.9 KB, 6 views)
File Type: doc opencpn.ini-celestialnav.doc (1.2 KB, 9 views)
__________________
rgleason is offline   Reply With Quote
Old 27-02-2016, 17:35   #342
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,101
Re: Celestial Navigation Plugin Redux

I just tried Sean's version which does not have the updated po files and it works!

I will upload that one to file thingie temporarily.

https://tgp-architects.com/files/
rguser rgpass

4.2.0 WIN PI
celestial_navigation_pi-1.11-ov4.2-sean-win32
__________________
rgleason is offline   Reply With Quote
Old 27-02-2016, 17:40   #343
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,945
Re: Celestial Navigation Plugin Redux

NAV, Rick...
This plugin, as well as all the others now available on the opencpn.org download page works just fine for me. If there is any problem, I need to be able to reproduce it, so please try to produce a repeatable failure scenario we can investigate. To start with, disable all the other plugins and install the package downloaded from opencpn.org. If it won't fail, start adding the other stuff you usually have enabled until you get to a problematic situation.
As soon as we have a failure, we want as much info as possible - at least your logfile to start with.
Rick, please, use the official package in this test and forget about your local builds and any other modifications for a while.

Thanks

Pavel
__________________
nohal is offline   Reply With Quote
Old 28-02-2016, 00:19   #344
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Celestial Navigation Plugin Redux

Quote:
Originally Posted by nohal View Post
To start with, disable all the other plugins and install the package downloaded from opencpn.org. If it won't fail, start adding the other stuff you usually have enabled until you get to a problematic situation.
As soon as we have a failure, we want as much info as possible - at least your logfile to start with.
Pavel,

I ....
1. Deactivated all plugins.
2. Completely removed Celestial from my PC
3. Stopped OpenCPN
4. Started OpenCPN
5. Installed Celestial from opencpn.org (for OpenCPN version 4.2)
6. Activated Celestial (icon becomes visible in icon bar)
Next thing that happens is OpenCPN hanging and showing a black screen.

Logfile shows:
08:55:29: 2016-02-28
08:55:29: ------- Starting OpenCPN -------
08:55:29: Version 4.2.0 Build 2016-02-03
08:55:29: wxWidgets version: wxWidgets 3.0.2 Microsoft Windows NT 64 bit wxMSW
08:55:29: MemoryStatus: mem_total: 4095 mb, mem_initial: 15 mb
08:55:29: SData_Locn is C:\Program Files (x86)\OpenCPN\
08:55:29: PrivateDataDir is C:\ProgramData\opencpn\
08:55:29: Using existing Config_File: C:\ProgramData\opencpn\opencpn.ini
08:55:29: Setting Viewpoint Lat/Lon 53.0184, 4.7063
08:55:29: Setting Ownship Lat/Lon 53.0374, 4.8626
08:55:29: Styles loading from C:\Program Files (x86)\OpenCPN\uidata\styles.xml
08:55:29: No styles found at: C:\ProgramData\opencpn\
08:55:29: No styles found at: C:\ProgramData\opencpn\.opencpn\
08:55:29: Using SVG Icons
08:55:29: Detected display size (horizontal): 518 mm
08:55:29: System default Language: nl_NL
08:55:29: Opencpn language set to: nl_NL
08:55:29: Creating MyFrame...size(1344, 840) position(-8, -8)
08:55:29: Creating glChartCanvas
08:55:30: ChartSymbols loaded from C:\Program Files (x86)\OpenCPN\s57data\chartsymbols.xml
08:55:30: Using s57data in C:\Program Files (x86)\OpenCPN\s57data
08:55:30: OpenGL-> Renderer String: GeForce G210/PCIe/SSE2
08:55:30: OpenGL-> Version reported: 3.3.0
08:55:30: OpenGL-> Texture rectangle format: de1
08:55:30: OpenGL-> Using Vertexbuffer Objects
08:55:30: OpenGL-> Using Framebuffer Objects
08:55:30: OpenGL-> Using FBO Stencil buffer
08:55:30: OpenGL-> Using Stencil buffer clipping
08:55:30: OpenGL-> Using Scissor Clipping
08:55:30: OpenGL-> Not Using compression
08:55:30: OpenGL-> Minimum cartographic line width: 1.0
08:55:30: OpenGL-> Minimum symbol line width: 1.0
08:55:30: Warning: iCCP: known incorrect sRGB profile
08:55:30: ChartDB Cache policy: Application target is 1024 MBytes
08:55:30: Loading chart db version: V018
08:55:30: Chartdb: Chart directory list follows
08:55:30: Chart directory #0: C:\Users\Frans\Documents\Zeekaarten\Zeekaarten (vector S57)\Nederland waterkaarten
08:55:30: Chart directory #1: C:\Users\Frans\Documents\Zeekaarten\Zeekaarten (vector S57)\Zeeuwse wateren (usage 6)
08:55:30: Chart directory #2: C:\Users\Frans\Documents\Zeekaarten\Zeekaarten (vector CM93_2)
08:55:30: Chart directory #3: C:\ProgramData\opencpn\s63\s63charts\GB
08:55:30: Chart directory #4: C:\Users\Frans\Documents\Zeekaarten\Zeekaarten (raster)\Nederland\BSB_Netherlands_NLA01-NLA09
08:55:30: Chart directory #5: C:\Users\Frans\Documents\Zeekaarten\Zeekaarten (raster WCI)
08:55:30: GPS Watchdog Timeout is: 6 sec.
08:55:30: Initializing Chart C:\Users\Frans\Documents\Zeekaarten\Zeekaarten (vector CM93_2)\CM93\00300000\A\00300000.A
08:55:30: CM93Composite Chart Root is C:\Users\Frans\Documents\Zeekaarten\Zeekaarten (vector CM93_2)\CM93\
08:55:30: Loaded CM93 Dictionary from C:\Users\Frans\Documents\Zeekaarten\Zeekaarten (vector CM93_2)\CM93\
08:55:30: Loading CM93 cell C:\Users\Frans\Documents\Zeekaarten\Zeekaarten (vector CM93_2)\CM93\03900000/C/04260012.C
08:55:31: OpenCPN GeÔnitialiseerd in 1450 ms.
08:55:31: Looking for UserIcons at C:\ProgramData\opencpn\UserIcons
08:55:31: Loading UserIcons from C:\ProgramData\opencpn\UserIcons
08:55:31: Warning: iCCP: known incorrect sRGB profile
08:55:31: ..................... (many times!)
08:55:31: Warning: iCCP: known incorrect sRGB profile
08:55:31: Loading navobjects from navobj.xml
08:55:31: Done loading navobjects
08:55:31: PlugInManager searching for PlugIns in location C:\Program Files (x86)\OpenCPN\plugins
08:55:31: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\celestial_navigation_pi.dll
08:55:31: C:\Program Files (x86)\OpenCPN\plugins\celestial_navigation_pi.dll
API Version detected: 108
PlugIn Version detected: 111
08:55:31: Opencpn language reload for: nl_NL
08:55:31: Loading catalog for: opencpn-celestial_navigation_pi
08:55:31: Loading catalog for opencpn core.
08:55:33: ***GPS Watchdog timeout at Lat:53.0374 Lon: 4.8626
08:56:30: LOGBOOK: 2016-02-28 07:56:30 UTC DR Lat 53.03740 Lon 4.86260
09:00:00: LOGBOOK: 2016-02-28 08:00:00 UTC DR Lat 53.03740 Lon 4.86260
09:00:00: Using bells sound file: C:\Program Files (x86)\OpenCPN\sounds\2bells.wav

Last 4 entries make me wonder whether there might be a relation with Watchdog (although this plugin was deactivated and I didn't see this before.)
__________________
NAV is offline   Reply With Quote
Old 28-02-2016, 04:42   #345
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,945
Re: Celestial Navigation Plugin Redux

NAV...
Can you please temporarily remove the file C:\ProgramData\opencpn\plugins\celestial_navigatio n\Sights.xml and try again. If it "helps", we will need the file, so please don't delete it completely...

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Reply

Tags
celestial navigation, navigation

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Logbook Konni for OpenCPN konni OpenCPN 822 14-02-2017 19:01
Google Earth Plugin r.fairman OpenCPN 417 15-02-2015 11:15
GRIB Weather Mark Ward OpenCPN 26 12-02-2012 21:33
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 06:25.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.