Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 24-02-2016, 07:31   #1
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
S63 charts - new charts and updating

I'm trying to add new licenced chart cells and update old ones.

The system has already installed a lot of S63 charts and this is working fine.
Ubuntu 14.04 x32 Opencpn 4.0

The new PERMIT.TXT is imported and the new cells with correct expire date can bee seen in "installed S63 permits" window.

Next, I press " Import charts / updates " and browses to the unzipped folder with new charts and choose the "ENC_ROOT" folder. When starting processing, I get an error " Install media not available" see attached photo.

Since the boat is going to sail ASAP and need the new charts this matte is important so solve ASAP....
Attached Thumbnails
Click image for larger version

Name:	S63-error-install-1.jpg
Views:	253
Size:	370.3 KB
ID:	119516  
petter5 is offline   Reply With Quote
Old 24-02-2016, 09:02   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,384
Re: S63 charts - new charts and updating

Petter5...

Need more information.

Could you attach that portion of your logfile that shows the OCPN loading the new cells?

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 24-02-2016, 09:12   #3
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,683
Re: S63 charts - new charts and updating

Petter...

did you install the charts from an USB stick or other removable device?

When running, the charts have to be in the same directory as in the moment of the install.
Under Windows we observed the typical case that somebody did change the USB port or the order of plugging in USB devices with the result of a different volume.

Hubert
bcn is offline   Reply With Quote
Old 24-02-2016, 09:59   #4
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
Re: S63 charts - new charts and updating

Quote:
Originally Posted by bcn View Post
Petter...

did you install the charts from an USB stick or other removable device?

When running, the charts have to be in the same directory as in the moment of the install.
Under Windows we observed the typical case that somebody did change the USB port or the order of plugging in USB devices with the result of a different volume.

Hubert
Initially, Charts was downloaded direct on the computer. Now the computer is onboard the vessel hundreds of kilometre away from where I'm so I try to support the captain to install the updated and new charts from a USB.

Really, I do not exactly remember the exact location of the charts when initially installed except for that they was downloaded direct on this computer and that the install procedure just " worked" and all was fine up to now.

  • The import / update procedure would improve if it was possible just to import the zip files from chartworld and that this import procedure thereby unzip and copies charts and permits to the correct location in one single operation.
  • For me import means " take the files from the current location and copy to the correct location and it works" It is hopeless if you will have to keep the download directory or the USB drive connected in the same port.
  • Each updated map is delivered from chartworld as a downloadable ZIP file with it's own ENC_ROOT. When you have maybe 30 ENC cells to update, you will have to unzip all 30 and repeat the import for all 30 ENC's ??
****************************************
DAVE: I will try to get the log-file emailed to me and post, but I'm not sure it this is possible to fix just now since the vessel might have left the harbour,,,
petter5 is offline   Reply With Quote
Old 24-02-2016, 11:43   #5
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,683
Re: S63 charts - new charts and updating

Petter...

it's just about to copy the delivery set to a directory on the system and install from there.
Point OCPN to the basic ENC_ROOT and then later on the same with the weekly updates and their ENC_ROOT directory.
No need to point to individual files.
In case you have one basic set and let us say 10 weeks of update sets you will have 11 directories.

You unzip the delivery set at/to the data directory and there the data live.

The procedure is based on the ideas of CD-ROMS or floppy disks shipped around. 20 years young...

One would do it differently today? Yes.

Hubert
bcn is offline   Reply With Quote
Old 24-02-2016, 12:36   #6
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
Re: S63 charts - new charts and updating

Quote:
Originally Posted by bcn View Post
Petter...

it's just about to copy the delivery set to a directory on the system and install from there.
Point OCPN to the basic ENC_ROOT and then later on the same with the weekly updates and their ENC_ROOT directory.
No need to point to individual files.
In case you have one basic set and let us say 10 weeks of update sets you will have 11 directories.

You unzip the delivery set at/to the data directory and there the data live.

The procedure is based on the ideas of CD-ROMS or floppy disks shipped around. 20 years young...

One would do it differently today? Yes.

Hubert
Just to clarify, see the 4 attached photos where you can see the folder structure

Witch one shall the updates be copied to ?
/home/charts/ENC_ROOT/ ? Correct ??

/Petter.
Attached Thumbnails
Click image for larger version

Name:	chart_directory-1.jpg
Views:	189
Size:	362.1 KB
ID:	119548   Click image for larger version

Name:	chart_directory-2.jpg
Views:	241
Size:	415.5 KB
ID:	119549  

Click image for larger version

Name:	chart_directory-3.jpg
Views:	179
Size:	357.8 KB
ID:	119550   Click image for larger version

Name:	chart_directory-4.jpg
Views:	173
Size:	411.4 KB
ID:	119551  

petter5 is offline   Reply With Quote
Old 25-02-2016, 06:02   #7
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
Re: S63 charts - new charts and updating

Most errors above is now was fixed by placing updates in Charts/ENC_ROOT.

Still some errors in the log file:

Code:
09:43:59 CET: Loading chart data for /home/kaptein/.opencpn/s63/s63charts/49/NO2B1620.os63
09:43:59 CET: /usr/bin/OCPNsenc  -n  -i "/home/kaptein/.opencpn/s63/s63SENC/NO2B1620.ehdr" -o "/tmp/OpH9Bh" -u 0CDDCCCF5E22F50CD6570C613147 -e EF75FF0781E36F3EB -b 49530 -p NO2B162020160229C7DBDE583A292C6DC7DBDE583A292C6DE1D6569C08803720,0,,49, -z "/usr/lib/opencpn/libs63_pi.so"
09:43:59 CET:    Replacing older chart file of same path: /home/kaptein/.opencpn/s63/s63charts/49/NO2B1620.os63
09:43:59 CET: Chart cache purge
09:43:59 CET: ChartDB Cache policy:  Application target is 964 MBytes
09:43:59 CET: Loading chart db version: V018
09:43:59 CET: Chartdb: Chart directory list follows
09:43:59 CET:   Chart directory #0: /home/kaptein/CM93 30.07.12
09:43:59 CET:   Chart directory #1: /home/kaptein/.opencpn/s63/s63charts/49
09:43:59 CET:   Chart directory #2: /media/kaptein/7A58-39FD/ENC_ROOT/NO
09:43:59 CET:   Chart directory #3: /media/kaptein/EC24-109B/ENC_ROOT
09:43:59 CET:   Chart directory #4: /media/kaptein/C8BA-6741/ENC_ROOT
09:43:59 CET: /usr/bin/OCPNsenc  -n  -i "/home/kaptein/.opencpn/s63/s63SENC/NO2B1620.es57" -o "/tmp/aQJnWm" -u 0CDDCCCF5E22F50CD6570C613147 -e EF75FF0781E36F3EB -b 49530 -p NO2B162020160229C7DBDE583A292C6DC7DBDE583A292C6DE1D6569C08803720,0,,49, -z "/usr/lib/opencpn/libs63_pi.so"
09:44:02 CET: s63_pi: Security Scheme Error

 SSE 23 - Non sequential update, previous update(s) missing.
Try reloading from the base media. 
 If the problem persists contact your data supplier.

cell:/home/kaptein/.opencpn/s63/s63charts/49/NO2B2020.os63
Latest intalled update: 0
Attempted update: 3
Any suggestions to solve this error ??
petter5 is offline   Reply With Quote
Old 25-02-2016, 06:33   #8
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,384
Re: S63 charts - new charts and updating

Petter5..

To explain the error more fully:

1. You presently have installed the cell "NO2B1620.000"

2. The update set contains the update "NO2B1620.003"

3. The updates "NO2B1620.001" and "NO2B1620.002" are missing.

The S57/63 update scheme requires that all updates be applied sequentially, and must abort if any incremental updates are missing. This is what is happening now.

Have a look at your ENC_ROOT directory to try to find if these two updates were somehow "misfiled". If you cannot find them, you should contact the chart provider.

Good luck
Dave
bdbcat is offline   Reply With Quote
Old 25-02-2016, 06:53   #9
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,683
Re: S63 charts - new charts and updating

Or in other words:

the weekly updates to the charts have to be applied in order.

If then an update shows up as missing it is time to ring the bell asking the chart supplier for the missing cells.
bcn is offline   Reply With Quote
Old 25-02-2016, 06:59   #10
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
Re: S63 charts - new charts and updating

Quote:
Originally Posted by bcn View Post
Or in other words:

the weekly updates to the charts have to be applied in order.

If then an update shows up as missing it is time to ring the bell asking the chart supplier for the missing cells.
I just contacted Chartworld and they is going to send a new full set of licensed charts to try to solve the issue.
petter5 is offline   Reply With Quote
Old 14-04-2016, 12:45   #11
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
Re: S63 charts - new charts and updating

I'm really trying to fully understand the logic and file structure for correct installing and updating chartworld s63 charts.

  1. initial install of permits and charts using S63 charts, using 1 userpermit and 1 install permit - OK.
  2. buy more charts from Chartworld, every time there is created a new installpermit at the account as O-charts.org ? Under the same userpermit, there is now listed several install permits. There is no description or date on the install permits listed. Do you have to update/ import a new install permit every time you buy new charts or renew licence for old ones - and if so, witch one to use ? there is nothing identifying the install permits from each other except for a crypto name so when you have several, this is likely to be the wrong one ?
  3. Chart structure.
    By now, I have [charts]chartworld-updates, ENC_ROOT, RNC,ENC . RNC and ENC folders are automatically created by the chart downloader and is not topic of this thread. First install, all files downloaded from chartworld was unzipped and installed into charts/ chartworld-updates/ENC_ROOT folder. When buying more charts and receiving updates, the zip'ed folders was unzip'ed to [charts]chartworld-updates/ENC_ROOT where I then had 15 folders including the .prm folder.
  4. Then , first remove the old permits and then import the new PERMITS.TXT from the [charts]chartworld-updates/ENC_ROOT/*.prm folder - works fine.
  5. Then import new charts/updates choosing the [charts]chartworld-updates/ENC_ROOT folder, the system is unable to find and files/updates. It seems that it is expected that you browse to and choose the ENC_ROOT folder in every subfolder and thereby have to repat the operation 15 times if you have 15 updates/ folders. The updates is expected to be done cumulative after each other. it is very difficult to identify the correct sequence of witch folder to use next time and if you previously has updated that folder.
  6. Maybe I'm doing things the wrong way, or misunderstands, but if not this procedure is far to conplicated.
  7. I sugest the possibility to place the zip files recieved from chartworld in a folder, and that the system takes care if correct inport and updating of all files "where they live" everytime you choose to import charts/updates - including unzipping the folders and import the new PERMIT.TXT
petter5 is offline   Reply With Quote
Old 15-04-2016, 08:53   #12
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,683
Re: S63 charts - new charts and updating

Petter...

1) & 2)
The OCPN InstallPermit has nothing to do with the updates for the S-63 chart material you are licensing from one or various chart providers. It just links the licensed chart material for a given UserPermit to an individual install.

The structure of the exchange sets your are getting from the chart providers are defined in the S-63 and S-57 Standards and we can't touch them. Nor the chart provider.
In S-63 you are getting the PERMIT.txt file with the cell permits that allow to decrypt the charts/cell under the ENC_ROOT directory.
These two names are fixed by the standards and will appear in every exchange set (new or update). Implies if you always download into the same directory, the PERMIT file will be overwritten and cell permits that do only exist in the older PERMIT file will be lost.

As you describe under 5) the updates are cumulative and require all and every intermediate update to be installed before you can apply the latest patch.
Al least in the Chartworld sets the calendar week of the exchange set is part of the directory name.

It is not overly complicated when doing this on a weekly base - every time an update drops in - as supposed to be for a professional environment.
And remember when you license a new cell, it comes with all the patches for it included. And then on a weekly base the patches for your chart base.

That all this is not very comfortable if one has to update several installs with accumulated patches, we do agree. Have gone through this when recovering an install and thus be required to re-install the patches one by one again.

Can you lodge a feature request?
bcn is offline   Reply With Quote
Old 18-04-2016, 16:18   #13
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
Images: 2
Re: S63 charts - new charts and updating

Petter5,
Would you be able to write a new paragraph or paragraphs for the S-63 Plugin?
This plugin description covers the o-chart plugin and installing the permit, but to complete the picture I think the user needs more quidance about purchasing charts, installing them and maintaining them. S63 Vector Charts | Official OpenCPN Homepage

With your experience and ideas about how to improve the process, it would be helpful if you were to use what you have written and add it to the end of the S-63 Plugin User Documents.

--You would need to register here and then login and Edit the page following these suggestions Edit the User Manual | Official OpenCPN Homepage

Also your suggestion "Charts S-63 Improve Download, Maintenance & Use" should be added to the Tracker here under OpenCPN Feature Requests. You will want to register here for the Tracker and then use your login to allow you to make the entry.

Thank you!
rgleason is offline   Reply With Quote
Old 19-04-2016, 07:33   #14
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,683
Re: S63 charts - new charts and updating

Petter,

I sent you a lengthy mail just some minutes ago.

Again: the OpenCPN InstallPermit has nothing to do with the install permits the chart providers are talking about. For them a OpenCPN InstallPermit does not exist.

They know about the S-63 concepts: UserPermit and Cell Permits.
The first to encrypt the files and the second to decrypt the licensed files.
Cell Permits do live in the PERMIT.txt file you receive from the chart provider and which we are using to install the cell permits into OpenCPN.

You can have as much PERMIT.txt files as you like, just don't download new ones into the same directory as the former ones as you will overwrite the first one and thus not be able to re-install the old PERMITs in the future for a new installation.
This might be new for a chart provider as they have there own limited world.
As we are free to license charts from each of the S-63 chart providers you will end up with several PERMT.txt files in different directories.
Same as you have as many ROOT_ENC directories as exchange sets you received.

Again: UserPermit and cell permits are S-63 concepts.
The OCPN InstallPermit is unique to OCPN and does not exist for chart providers.
bcn is offline   Reply With Quote
Old 19-04-2016, 16:01   #15
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
Images: 2
Re: S63 charts - new charts and updating

BCN, I think it would be very worthwhile to explain this in the User Documentation, in detail.
rgleason is offline   Reply With Quote
Reply

Tags
charts

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 can I buy worldwide S63 format charts? xytxyt OpenCPN 2 13-05-2015 10:01
S63 charts - overzoom jongough OpenCPN 54 30-11-2014 09:33
S63-Charts Netherland / Ijsselmeer Kuddelmuddel OpenCPN 1 21-11-2014 04:30
Open CPN - ROT & S63 charts Quidnunc OpenCPN 9 13-05-2013 18:16

Advertise Here


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


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.