 |
|
06-02-2024, 10:21
|
#1
|
Registered User
Join Date: Jul 2020
Posts: 14
|
Problem adding NZ ENC files
I previously followed the process outlined by David Burch to add NZ ENC charts to opencpn ( ). After the year, my permit expired.
I recreated the system on the encservice site and got a new PERMIT.TXT that's valid till 01/31/2025, but the charts aren't showing up in opencpn anymore.
I follow all the steps and the charts seem to be imported into the S63 plugin and it does a lot of processing to create the files. Once it's completed, I don't see any outlines for New Zealand or the South Pacific.
I do notice errors in the log file that contain lines like this:
Code:
10:50:45.950 MESSAGE chartdbs.cpp:2526 Loading chart data for /home/xentac/.var/app/org.opencpn.OpenCPN/config/opencpn/s63/s63charts/NZ/WS504125.os63
10:50:45.950 MESSAGE chartdbs.cpp:2531 ...creation failed for /home/xentac/.var/app/org.opencpn.OpenCPN/config/opencpn/s63/s63charts/NZ/WS504125.os63
10:50:45.950 MESSAGE chartdbs.cpp:2174 CreateChartTableEntry() failed for file: /home/xentac/.var/app/org.opencpn.OpenCPN/config/opencpn/s63/s63charts/NZ/WS504125.os63
I've included the entire opencpn.log file as well.
|
|
|
06-02-2024, 20:33
|
#2
|
Registered User
Join Date: Jul 2020
Posts: 14
|
Re: Problem adding NZ ENC files
|
|
|
06-02-2024, 21:35
|
#3
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,708
|
Re: Problem adding NZ ENC files
zentac...
Please PM me a copy of your PERMIT.TXT file.
Thanks
Dave
|
|
|
08-02-2024, 11:00
|
#4
|
Registered User
Join Date: Jul 2020
Posts: 14
|
Re: Problem adding NZ ENC files
PM sent!
|
|
|
08-02-2024, 14:44
|
#5
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,708
|
Re: Problem adding NZ ENC files
zentec...
Got it, on my list for study tonight.
Thanks
Dave
|
|
|
08-02-2024, 19:28
|
#6
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,708
|
Re: Problem adding NZ ENC files
Xentac...
Please start OpenCPN, go to Settings->Charts->S63 Charts.
In the Keys/Permits tab, please select "New Installpermit". The text field should be automatically filled in by your install permit. Push the button "Test installpermit". Report results.
Same for "UserPermit", please.
Thanks
Dave
|
|
|
08-02-2024, 22:23
|
#7
|
Registered User
Join Date: Jul 2020
Posts: 14
|
Re: Problem adding NZ ENC files
When I click "Test installpermit" it says "Install permit OK". When I click "Test Userpermit" it says "Userpermit OK".
|
|
|
09-02-2024, 14:11
|
#8
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,708
|
Re: Problem adding NZ ENC files
Xentac...
So far, no obvious problems found.
The could be some conflct with you older expired charts.
Let us try this:
1. Delete the directory:
"/home/xentac/.var/app/org.opencpn.OpenCPN/config/opencpn/s63/s63charts"
and
"/home/xentac/.var/app/org.opencpn.OpenCPN/config/opencpn/s63/s63SENC"
2. Then, re-add the NZ S63 charts from scratch, as downloaded from the HO.
Thanks
Dave
|
|
|
09-02-2024, 21:55
|
#9
|
Registered User
Join Date: Jul 2020
Posts: 14
|
Re: Problem adding NZ ENC files
After all the permits and charts are added and I click Ok and the "OpenCPN Chart Add..." dialog opens.
Once it gets to the NZ charts, I see a window like this:
Code:
o-charts_pi Message
This chart cannot be loaded due to any of the following reasons:
- You have made important hardware changes on your computer.
- Your OS has been updated and your license has been suspended.
- This chart set was prepared for another system.
- This chart set was prepared for a USB key dongle, but dongle is not detected.
- There are corrupted files due to errors during download or unzip.
Please contact info@o-charts.org if the problem persists.
/home/xentac/.var/app/org.opencpn.OpenCPN/config/opencpn/s63/s63charts/NZ/CK301412.os63
|
|
|
10-02-2024, 07:50
|
#10
|
Registered User
Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,942
|
Re: Problem adding NZ ENC files
Quote:
Originally Posted by xentac
After all the permits and charts are added and I click Ok and the "OpenCPN Chart Add..." dialog opens.
Once it gets to the NZ charts, I see a window like this:
Code:
o-charts_pi Message
This chart cannot be loaded due to any of the following reasons:
- You have made important hardware changes on your computer.
- Your OS has been updated and your license has been suspended.
- This chart set was prepared for another system.
- This chart set was prepared for a USB key dongle, but dongle is not detected.
- There are corrupted files due to errors during download or unzip.
Please contact info@o-charts.org if the problem persists.
/home/xentac/.var/app/org.opencpn.OpenCPN/config/opencpn/s63/s63charts/NZ/CK301412.os63
|
This is a message of the o-charts plug-in and not from the S-63 plug-in.
Did you try to install the S-63 set as an o-charts one?
|
|
|
10-02-2024, 08:14
|
#11
|
Registered User
Join Date: Jul 2020
Posts: 14
|
Re: Problem adding NZ ENC files
I noticed that as well. I never click any buttons on the "o-charts" tab, I'm only in the "S63 Charts". I click the "Import Cell Permits..." button first, then the "Import Charts/Updates..." button. I select the directory that I unzipped into, though sometimes it defaults to the ENC_ROOT subdirectory. It doesn't seem to matter if I choose the root or the ENC_ROOT subdir.
What am I doing that's causing the o-charts plugin to process those charts? Should I try disabling the plugin (I'm a little afraid I'll lose access to my purchases if I mess with the plugin).
|
|
|
10-02-2024, 08:32
|
#12
|
Registered User
Join Date: Jul 2020
Posts: 14
|
Re: Problem adding NZ ENC files
I tried disabling the o-charts plugin and readding the NZ charts. Same problem, but no o-charts error dialog.
Reading through the log again, I noticed a suspicious set of lines during some of the chart processing:
Code:
09:23:27.259 MESSAGE s63chart.cpp:247 /home/xentac/.var/app/org.opencpn.OpenCPN/bin/OCPNsenc -c -i "/home/xentac/Downloads/NZENC WK2024-03/ENC_ROOT/NZ/NZ561541/3/0/NZ561541.000" -o "/home/xentac/.var/app/org.opencpn.OpenCPN/config/opencpn/s63/s63SENC/NZ561541.es57" -p NZ561541202501310BCDC4A54E38E9AA5B37644820B6717071BF9CDCBE179338,0,3,NZ, -u C0D34338B0D02C57B1C7DE243147 -e FA437F57 -r "/app/share/opencpn/s57data" -g "/home/xentac/.var/app/org.opencpn.OpenCPN/config/opencpn/s63/s63charts/NZ/NZ561541.os63" -z "/home/xentac/.var/app/org.opencpn.OpenCPN/lib/opencpn/libs63_pi.so"
09:23:27.259 MESSAGE s63_pi.cpp:2858
09:23:27.949 MESSAGE s63chart.cpp:277 OCPNsenc: Executing...
09:23:27.949 MESSAGE s63chart.cpp:277 OCPNsenc: Building eSENC...
09:23:27.949 MESSAGE s63chart.cpp:277 for NZ561541.000
09:23:27.949 MESSAGE s63chart.cpp:277 OCPNsenc: Cell decrypted OK.
09:23:27.949 MESSAGE s63chart.cpp:277 OCPNsenc: Cell decompressed OK.
09:23:27.949 MESSAGE s63chart.cpp:277 OCPNsenc: ENC update number is 1
09:23:27.949 MESSAGE s63chart.cpp:277
09:23:27.949 MESSAGE s63chart.cpp:277 OCPNsenc: Applying Update 1
09:23:27.950 MESSAGE s63chart.cpp:277 OCPNsenc: Update decrypted OK.
09:23:27.950 MESSAGE s63chart.cpp:277 OCPNsenc: Update decompressed OK.
09:23:27.950 MESSAGE s63chart.cpp:277 OCPNsenc: Update 1 applied OK
09:23:27.950 MESSAGE s63chart.cpp:277
09:23:27.950 MESSAGE s63chart.cpp:277
09:23:27.950 MESSAGE s63chart.cpp:277 OCPNsenc: eSENC built OK: /home/xentac/.var/app/org.opencpn.OpenCPN/config/opencpn/s63/s63SENC/NZ561541.es57
09:23:27.950 MESSAGE s63chart.cpp:277 OCPNsenc: Exit.
09:23:27.950 MESSAGE s63chart.cpp:277
09:23:27.950 MESSAGE s63chart.cpp:277 /home/dsr/Projects/wxWidgets/wxWidgets-3.0.2/wxWidgets-3.0.2/include/wx/strvararg.h(456): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type
09:23:27.950 MESSAGE s63chart.cpp:277 sh: line 1: addr2line: command not found
09:23:27.950 MESSAGE s63chart.cpp:277 09:23:27: Debug: cannot read address information for stack frame #0
09:23:27.950 MESSAGE s63chart.cpp:277 /home/dsr/Projects/wxWidgets/wxWidgets-3.0.2/wxWidgets-3.0.2/include/wx/strvararg.h(456): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type
09:23:27.950 MESSAGE s63chart.cpp:277 sh: line 1: addr2line: command not found
09:23:27.950 MESSAGE s63chart.cpp:277 09:23:27: Debug: cannot read address information for stack frame #0
09:23:27.951 MESSAGE s63chart.cpp:247 /home/xentac/.var/app/org.opencpn.OpenCPN/bin/OCPNsenc -n -i "/home/xentac/.var/app/org.opencpn.OpenCPN/config/opencpn/s63/s63SENC/NZ561541.es57" -o "/tmp/2BOiH5" -u C0D34338B0D02C57B1C7DE243147 -e FA437F57 -p NZ561541202501310BCDC4A54E38E9AA5B37644820B6717071BF9CDCBE179338,0,3,NZ, -z "/home/xentac/.var/app/org.opencpn.OpenCPN/lib/opencpn/libs63_pi.so"
09:23:28.033 MESSAGE s63chart.cpp:277 OCPNsenc: Executing...
09:23:28.033 MESSAGE s63chart.cpp:277 OCPNsenc: Creating eSENC Key...
09:23:28.033 MESSAGE s63chart.cpp:277 OCPNsenc: Exit.
09:23:28.033 MESSAGE s63chart.cpp:277
09:23:28.102 MESSAGE s63_pi.cpp:2858 eSENC built successfully
09:23:28.107 MESSAGE s63_pi.cpp:2858 Cell Processing time (msec.): 1188
I don't know if addr2line is important, but it does seem to say the eSENC is built successfully.
|
|
|
10-02-2024, 08:36
|
#13
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,708
|
Re: Problem adding NZ ENC files
xentac...
The message quoted comes for o-charts, all right. It is triggered when the chart database is updated after adding new charts. Your o-charts will not be usable without a new FPR assignment from the o-charts shop. This is not related to the current S63 problems.
To avoid confusion, I recommend that you temporarily remove the o-charts chart files from your chart list, while we work the S63 questions.
Back to the point: Any difference in S63 after deleting directories (see above) and reloading?
Thanks
Dave
|
|
|
10-02-2024, 09:03
|
#14
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,708
|
Re: Problem adding NZ ENC files
xentac...
Please post your latest logfile.
Thanks
Dave
|
|
|
10-02-2024, 09:38
|
#15
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,708
|
Re: Problem adding NZ ENC files
xentac...
Please verify what version of S63 plugin you have installed.
Thanks
Dave
|
|
|
 |
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|