Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 25-06-2019, 10:17   #1
Registered User

Join Date: Mar 2017
Location: Baltic Sea
Boat: IW31
Posts: 6
Raspberry Pi and oesenc

ahoy!
I tried to generate a fingerprint-file on my RPI running openCPN 5.0 but failed. I purchased charts on my Desktop Computer some time ago and now wanted to generate a key on my second device, the Raspberry. 'Error 2', said the log.
Maybe someone has a hint for me?!

regards, Matthias
__________________

lagita is offline   Reply With Quote
Old 25-06-2019, 10:25   #2
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,437
Re: Raspberry Pi and oesenc

"error 2" would be the server in maintenance mode. Did you try later again?

Why do you try to generate the fpr manually?

Which version of the plug-in are you using?

Can you log-in into your o-charts account?
__________________

bcn is offline   Reply With Quote
Old 25-06-2019, 11:57   #3
Registered User

Join Date: Mar 2017
Location: Baltic Sea
Boat: IW31
Posts: 6
Re: Raspberry Pi and oesenc

Quote:
Originally Posted by bcn View Post
"error 2" would be the server in maintenance mode. Did you try later again?
yes, since yesterday at least 4 times during the day.

Quote:
Originally Posted by bcn View Post
Why do you try to generate the fpr manually?
It is the only way I know..

Quote:
Originally Posted by bcn View Post
Which version of the plug-in are you using?
oeSENC 3.0

Quote:
Originally Posted by bcn View Post
Can you log-in into your o-charts account?
yes, in the charts-section (oeSENC Tab) I see the charts I purchased on my mac, but cannot download onto the Raspberry ('Status: System FPR Upload Error)

thanks, Matthias
lagita is offline   Reply With Quote
Old 25-06-2019, 12:13   #4
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,437
Re: Raspberry Pi and oesenc

At the RasPi same as on the rest of the systems the online way with fpr handling in the background shall work.
From the Options|Charts|oeSENC tab and "refresh"

You might try to reset the credentials first from Options|Plug-ins|oeSENC --> Preferences. Just in case...
bcn is offline   Reply With Quote
Old 25-06-2019, 12:31   #5
Registered User

Join Date: Mar 2017
Location: Baltic Sea
Boat: IW31
Posts: 6
Re: Raspberry Pi and oesenc

thanks for your advice! I tried both, but failed.

best, Matthias
lagita is offline   Reply With Quote
Old 25-06-2019, 12:34   #6
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,437
Re: Raspberry Pi and oesenc

Your log file please...
bcn is offline   Reply With Quote
Old 26-06-2019, 09:11   #7
Registered User

Join Date: Mar 2017
Location: Baltic Sea
Boat: IW31
Posts: 6
Re: Raspberry Pi and oesenc

some entries from the log:

17:58:22 CEST: PlugInManager: plugins loading from ~/.local/lib/opencpn:/usr/local/lib/opencpn:/usr/lib/opencpn
17:58:22 CEST: PlugInManager searching for PlugIns in location /home/pi/.local/lib/opencpn
17:58:22 CEST: Directory /home/pi/.local/lib/opencpn does not exist.
17:58:22 CEST: PlugInManager searching for PlugIns in location /usr/local/lib/opencpn
17:58:22 CEST: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libgrib_pi.so
17:58:22 CEST: PlugInManager: /usr/local/lib/opencpn/libgrib_pi.so
API Version detected: 116
PlugIn Version detected: 401
17:58:22 CEST: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libdashboard_pi.so
17:58:22 CEST: PlugInManager: /usr/local/lib/opencpn/libdashboard_pi.so
API Version detected: 106
PlugIn Version detected: 102
17:58:22 CEST: oesenc_pi: Calculated pix/mm = 3.77358
17:58:23 CEST: Warning: Cannot set locale to language "English (U.S.)".
17:58:23 CEST: Error: locale 'en_US' cannot be set.
17:58:23 CEST: Opencpn language load for: en_US
17:58:23 CEST: Loading catalog for: opencpn-chartdldr_pi
17:58:23 CEST: Loading catalog for: opencpn-wmm_pi
17:58:23 CEST: Loading catalog for: opencpn-oesenc_pi
17:58:23 CEST: Loading catalog for opencpn core.
17:58:23 CEST: Getting DefaultSystemLocale...
17:58:23 CEST: PlugInManager searching for PlugIns in location /usr/lib/opencpn
17:58:23 CEST: oesenc_pi: Calculated pix/mm = 3.77358
17:58:23 CEST: Warning: Cannot set locale to language "English (U.S.)".
17:58:23 CEST: Error: locale 'en_US' cannot be set.
17:58:23 CEST: Opencpn language load for: en_US
17:58:23 CEST: Loading catalog for: opencpn-chartdldr_pi
17:58:23 CEST: Loading catalog for: opencpn-wmm_pi
17:58:23 CEST: Loading catalog for: opencpn-oesenc_pi
17:58:23 CEST: Loading catalog for opencpn core.
17:58:23 CEST: Getting DefaultSystemLocale...
17:58:54 CEST: Create FPR command: -g "/home/pi/.opencpn/"
17:58:54 CEST: execvp(-g, /home/pi/.opencpn/) failed with error 2!
17:58:54 CEST: oesenc_pi: oeserverd results:
17:58:54 CEST: execvp(-g, /home/pi/.opencpn/) failed with error 2!
17:58:54 CEST: Loading World Chart Q=4 in 0 ms.
17:58:59 CEST: LOGBOOK: 2019-06-26 15:58:59 UTC DR Lat -30.18820 Lon -164.25290
17:59:03 CEST: ChartSymbols loaded from /usr/local/share/opencpn/s57data/chartsymbols.xml
17:59:04 CEST: Using s57data in /usr/local/share/opencpn/s57data
17:59:09 CEST: oeserverd execution error:
17:59:09 CEST: execvp(-s) failed with error 2!
17:59:09 CEST: Loading World Chart Q=4 in 0 ms.
17:59:53 CEST: doLogin results:
17:59:53 CEST: <?xml version="1.0" encoding="utf-8"?><response><result>1</result><key>3f09430b036f758331afa83e69ec6656</key></response>
18:00:00 CEST: LOGBOOK: 2019-06-26 16:00:00 UTC DR Lat -30.18820 Lon -164.25290
18:00:10 CEST: oeserverd execution error:
18:00:10 CEST: execvp(-s) failed with error 2!
18:00:10 CEST: Create FPR command: -g "/home/pi/.opencpn/"
18:00:10 CEST: execvp(-g, /home/pi/.opencpn/) failed with error 2!
18:00:10 CEST: oesenc_pi: oeserverd results:
18:00:10 CEST: execvp(-g, /home/pi/.opencpn/) failed with error 2!
18:00:10 CEST: Loading World Chart Q=4 in 0 ms.
18:00:16 CEST: Metrics: m_display_size_mm: 212 wxDisplaySize: 800:480
18:00:16 CEST: oesenc_pi: Calculated pix/mm = 3.77358
18:00:17 CEST: Loading World Chart Q=4 in 0 ms.
18:00:18 CEST: Loading World Chart Q=4 in 0 ms.
lagita is offline   Reply With Quote
Old 26-06-2019, 13:56   #8
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,437
Re: Raspberry Pi and oesenc

Please the complete one.
You can attach it here if you rename it to .doc to overcome size restrictions.
bcn is offline   Reply With Quote
Old 27-06-2019, 02:26   #9
Registered User

Join Date: Aug 2016
Posts: 68
Re: Raspberry Pi and oesenc

strange thing. seems that OpenCPN is selfcompiled binary but oesenc comes from debian package. is that right?
BlackSea is offline   Reply With Quote
Old 27-06-2019, 05:38   #10
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 5,612
Re: Raspberry Pi and oesenc

BlackSea...
For the convenience of linux users, we deploy all of OpenCPN and its plugins as debian packages.


You may compile oesenc_pi from source if you wish.
https://github.com/bdbcat/oesenc_pi


Dave
bdbcat is offline   Reply With Quote
Old 28-06-2019, 00:20   #11
Registered User

Join Date: Aug 2016
Posts: 68
Re: Raspberry Pi and oesenc

@dave


you didn't understand. Error is not with me. I'm just trying to understand how error could occur with @lagita.
BlackSea is offline   Reply With Quote
Old 28-06-2019, 00:53   #12
Registered User

Join Date: Mar 2017
Location: Baltic Sea
Boat: IW31
Posts: 6
Re: Raspberry Pi and oesenc

ahoy,

I cannot save the log to another document. Also I do not know why the log is hidden, had some trouble finding it. Typical beginners problems I guess.
So I postponed the task to have AIS (and the RasPi) on board while cruising to swedish shores. Have a good time and I hope I get evrything fixed (with you help!) in august/september!

Best, Matthias

last years sailing in the baltic sea:
lagita is offline   Reply With Quote
Old 28-06-2019, 01:01   #13
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,437
Re: Raspberry Pi and oesenc

Matthias,

the log you access via the About or Help button from the tool bar (the "?").

And for RasPi, consider OpenPlotter. You will need just to plug-in the AIS...

Happy sailing

Hubert
bcn is offline   Reply With Quote
Old 28-06-2019, 01:09   #14
Registered User

Join Date: Mar 2017
Location: Baltic Sea
Boat: IW31
Posts: 6
Re: Raspberry Pi and oesenc

thanks Hubert,

open plotter is an option, yes. But I have to connect the dAISy HAT to the RasPi and the GPS, and I am not sure if that will be easy. Time flies, and have paper charts and Navionics gold on board ;-)

ciao Matthias
lagita is offline   Reply With Quote
Old 28-06-2019, 01:52   #15
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,437
Re: Raspberry Pi and oesenc

The developer of OpenPlotter tells me that there is no problem to use the dAISy Hat...
__________________

bcn is offline   Reply With Quote
Reply

Tags
enc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
How does OpenCPN/oeSENC handle periodical and date dependent objects? keoe OpenCPN 1 16-06-2019 15:24
O-charts (oeSenc) and W10 1903 ? sailorF54 OpenCPN 26 18-05-2019 01:28
OpenCPN 5 and oeSENC - oeserved dvda95 OpenCPN 36 29-04-2019 08:35
Raspberry Pi and oeSENC geronius OpenCPN 2 23-09-2018 13:33
Open CPN and oeSENC Charts Pete7 OpenCPN 9 09-08-2018 13:49



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 02:03.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.