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 29-06-2020, 07:58   #1
Registered User

Join Date: Jun 2017
Posts: 81
Can't open OESENC chart when starting OpenCPN

When I start OpenCPN the oesenc chart of the area covered by the display does not load. However that chart that fails to load is available, if I click on the relevant chart tab at the bottom it loads fine.the log is attached. First the chart is not available then after I select the tab it says "Creating new chart...." If I happen to move to a different area outside the "failing" chart and close down/start up then a different chart is mentioned in the error messages so it isn't one particular chart, it's any of them

Does anyone have any ideas why this might not be working?

OpenCPN 5.0.0, oesenc dongle, plugin 4.0.10

Code:
15:49:18 BST: validateUserKey
15:49:18 BST: Current userKey: RALc-23Yl-BaLQ-CKUV-ERxQ-dg
15:49:18 BST: validateUserKey E1
15:49:19 BST: 
15:49:19 BST:    Cannot load SENC file /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-B24204.oesenc
15:49:19 BST: Recoverable problem initializing Chart /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-B24204.oesenc
15:49:19 BST:    OpenChartFromStack... Error opening chart /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-B24204.oesenc ... return code 1
15:49:37 BST: LOGBOOK:  2020-06-29 14:49:37 UTC  DR Lat   41.33610 Lon    2.18790
15:50:36 BST: Creating new chart
15:50:36 BST: Initializing Chart /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-B24204.oesenc
15:50:36 BST: OpenChartUsingCache, NOT in cache:   cache size: 1
15:50:36 BST:    OpenChartUsingCache:  type 8  /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-A24204.oesenc
15:50:36 BST: Creating new chart
15:50:36 BST: Initializing Chart /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-A24204.oesenc
15:50:36 BST: OpenChartUsingCache, NOT in cache:   cache size: 2
baltika_no_9 is offline   Reply With Quote
Old 29-06-2020, 12:19   #2
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: Can't open OESENC chart when starting OpenCPN

baltica_no_9...
Two tests:
- Stop OCPN
- Insert the dongle and start OCPN.
- Go to to Options->Charts->Chart files. Check that desired chart files are listed and when OK "Force a full data base rebuild."
Hakan is offline   Reply With Quote
Old 30-06-2020, 01:19   #3
Registered User

Join Date: Jun 2017
Posts: 81
Re: Can't open OESENC chart when starting OpenCPN

Thanks Hakan

I just tried that, rebuild went OK, OpenCPN loaded and I got the oesenc-pi message indicating the chart set I have so it all went normally except it did not load the chart. On the right of my display is the CM93 chart, all good, on the left where my oesenc chart should be I get only the base world map segment. However as before when I press the tab for the chart I want it pops up ok. I wonder why it doesn't load.

Another odd thing, the oesenc-pi message showing which chart sets I can use has my chart set named twice. I see:
British Isles and France Atlantic 2020 2020-26 2021-06-25
British Isles and France Atlantic 2020 2020-26 2021-06-25

Code:
09:06:05 BST: validateUserKey
09:06:05 BST: Current userKey: RALc-23Yl-BaLQ-CKUV-ERxQ-dg
09:06:05 BST: validateUserKey E1
09:06:05 BST: 
09:06:05 BST:    Cannot load SENC file /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-397206.oesenc
09:06:05 BST: Recoverable problem initializing Chart /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-397206.oesenc
09:06:05 BST:    OpenChartFromStack... Error opening chart /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-397206.oesenc ... return code 1
09:06:26 BST: LOGBOOK:  2020-06-30 08:06:26 UTC  GPS Lat   50.93591 Lon   -1.01050 COG    8.66000 SOG   0.36 kts

## At this point I hit the tab for the missing chart and it loads perfectly ##

09:08:02 BST: Creating new chart
09:08:02 BST: Initializing Chart /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-397206.oesenc
baltika_no_9 is offline   Reply With Quote
Old 30-06-2020, 02:25   #4
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Can't open OESENC chart when starting OpenCPN

Never use a space when you create folder names!
CarCode is offline   Reply With Quote
Old 30-06-2020, 04:06   #5
Registered User

Join Date: Jun 2017
Posts: 81
Re: Can't open OESENC chart when starting OpenCPN

Quote:
Originally Posted by CarCode View Post
Never use a space when you create folder names!
I am aware of this alleged "wisdom" but there in no problem is using spaces. It might make navigation less easy but functionally it is perfectly acceptable. Linux knows how to handle spaces, it's people that generally don't bother to learn how to handle them.

More to the point it has nothing to do with the problem I am reporting here.
baltika_no_9 is offline   Reply With Quote
Old 30-06-2020, 05:33   #6
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,740
Re: Can't open OESENC chart when starting OpenCPN

Quote:
Originally Posted by baltika_no_9 View Post
However that chart that fails to load is available, if I click on the relevant chart tab at the bottom it loads fine.

If I get your right the issue is that the chart does not pop-up directly by itself at start-up of OpenCPN. You need to evoke it via the chart bar and then it works as it should?


I've seen this sometimes on some systems, but not generally.
bcn is offline   Reply With Quote
Old 30-06-2020, 06:22   #7
Registered User

Join Date: Jun 2017
Posts: 81
Re: Can't open OESENC chart when starting OpenCPN

Quote:
Originally Posted by bcn View Post
If I get your right the issue is that the chart does not pop-up directly by itself at start-up of OpenCPN. You need to evoke it via the chart bar and then it works as it should?


I've seen this sometimes on some systems, but not generally.
Yes that's exactly what happens, I select it via the chart bar tab and it loads perfectly. I should add that it is not always reproducible, occasionally the chart does open without intervention.

Obviously not a big deal as the solution is so trivial. Just a minor annoyance but I'll try to see if I can get to the bottom of it.

Thanks
baltika_no_9 is offline   Reply With Quote
Old 30-06-2020, 09:09   #8
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: Can't open OESENC chart when starting OpenCPN

So I missed the point bcn cached. Good.
The described issue I've seen as well. There are some attempts to solve it in the latest beta where the up-start is slightly changed. On one of my old "tractor" it can still happen but now not so often.
Give the beta 5.1.621 a try to check for improvements in this matter.
Hakan is offline   Reply With Quote
Old 01-07-2020, 03:32   #9
Registered User

Join Date: Jun 2017
Posts: 81
Re: Can't open OESENC chart when starting OpenCPN

I tried 5.1.621 and updated the oesenc-pi to 4.2.12 from 4.0.

I've started OpenCPN 6 or 7 times and the chart loads OK. In the log I still see the "Cannot load..." error BUT the "Creating new chart" message appears automatically without my having to press the chart tab.

[QUOTE][11:04:16.254 MESSAGE oesenc_pi.cpp:2539 validateUserKey E1
11:04:16.355 MESSAGE eSENCChart.cpp:3639
11:04:16.355 MESSAGE eSENCChart.cpp:4531 Cannot load SENC file /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-A22026.oesenc
11:04:16.356 MESSAGE chartdb.cpp:1595 Recoverable problem initializing Chart /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-A22026.oesenc
11:04:16.356 MESSAGE chartdb.cpp:1605 OpenChartFromStack... Error opening chart /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-A22026.oesenc ... return code 1
11:04:16.371 MESSAGE chartdb.cpp:1346 Creating new chart
11:04:16.371 MESSAGE chartdb.cpp:1475 Initializing Chart /home/pi/Charts/UK and France/sgl001CD41A-FRatl_UK-2020-26/OC-44-A22026.oesenc
/QUOTE]
baltika_no_9 is offline   Reply With Quote
Reply

Tags
enc, opencpn


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
oeSENC chart refresh API error Shawanaga OpenCPN 2 11-06-2020 10:00
oeSENC chart issues Dockhead OpenCPN 1 26-09-2019 03:13
Chart Rotation Plugin: oeSENC charts text wrong place Ben S OpenCPN 24 08-09-2018 11:11
Open CPN and oeSENC Charts Pete7 OpenCPN 9 09-08-2018 13:49
Missing detail in oeSENC chart Ernsthra OpenCPN 8 27-05-2018 14:35

Advertise Here


All times are GMT -7. The time now is 22:40.


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.