Cruisers Forum
 


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 21-07-2016, 13:24   #376
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Chart Downloader/Updater Plugin

Paul...
Good catch, fixed now. It is a bit hard to monitor the Slovak page for changes as there are no dates there...

Pavel
nohal is offline   Reply With Quote
Old 21-07-2016, 13:58   #377
Registered User

Join Date: Oct 2014
Posts: 274
Re: Chart Downloader/Updater Plugin

Pavel,

Before the ChartDownloader, I used Wget to download charts. It has an option to track the file dates on the remote server (if the server allows access to file date information). The file's date and time from the remote is set on the local copy as soon as the download is finished. Wget can download files from the remote server that are newer than the dates of previously downloaded files, and previously downloaded files are not downloaded again.

I don't know how hard it would be to get the file dates from the remote server....

Paul
.Paul. is offline   Reply With Quote
Old 21-07-2016, 14:51   #378
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Chart Downloader/Updater Plugin

Paul...
We certainly can get modification timestamp of pretty much all files available on the web using something like
Code:
wget --server-response --spider http://www.svp.sk/dunaj/media/ris/ENCs-SK.zip 2>&1 | grep Last-Modified | cut -d : -f 2
The problem is that the chart producers care very little about us trying to follow their updates so the URLs change all the time and as most of the pages are updated manually, they are prone to operator error. Said that, I already have an automatic system watching most of the chart sources periodically, it just can't be 100% reliable as long as the original sources aren't. The rest is up to observant users like you as I really don't surf to all the European RIS sites more than once or twice a year (Usually to just find out that the IENC charts moved to some other place, even harder to find than last time)...

Pavel
nohal is offline   Reply With Quote
Old 21-07-2016, 19:39   #379
Registered User

Join Date: Oct 2014
Posts: 274
Re: Chart Downloader/Updater Plugin

Pavel,

The ChartDownloader fails to unzip the compressed file from the new zipfile_location for the SK_INLAND charts. I see the ENCs-SK.rar file in the ...\SK_INLAND\ folder as it is being downloaded. As soon as the download is finished, ENCs-SK.rar disappears. The charts remaining in the folder are then chartdldr_pi.dat and SK_IENC_Catalog.xml plus any *.000 charts that were in the folder before the download started.

Here is opencpn.log (starting at the end of plug-in loading) and ending after the ChartBase update starts following an attempt to download SK charts:
Code:
1:34:38 AM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.4.0\plugins\wmm_pi.dll
1:34:38 AM:   C:\Program Files (x86)\OpenCPN 4.4.0\plugins\wmm_pi.dll
              API Version detected: 108
              PlugIn Version detected: 101
1:34:38 AM: Opencpn language reload for:  en_US
1:34:38 AM: Loading catalog for:  opencpn-chartdldr_pi
1:34:38 AM: Loading catalog for:  opencpn-climatology_pi
1:34:38 AM: Loading catalog for:  opencpn-dashboard_pi
1:34:38 AM: Loading catalog for:  opencpn-ge2kap_pi
1:34:38 AM: Loading catalog for:  opencpn-grib_pi
1:34:38 AM: Loading catalog for:  opencpn-ocpn_draw_pi
1:34:38 AM: Loading catalog for:  opencpn-projections_pi
1:34:38 AM: Loading catalog for:  opencpn-weather_routing_pi
1:34:38 AM: Loading catalog for:  opencpn-wmm_pi
1:34:38 AM: Loading catalog for opencpn core.
1:34:38 AM: WMM: WMM model data loaded from file C:\Program Files (x86)\OpenCPN 4.4.0\plugins\wmm_pi\data\/WMM.COF.
1:34:38 AM: PlugInManager: Calling LateInit PlugIn: C:\Program Files (x86)\OpenCPN 4.4.0\plugins\ocpn_draw_pi.dll
1:34:40 AM: NMEA input device initial open failed: COM4...GetLastError():  2
1:34:40 AM: NMEA input device initial open failed: COM3...GetLastError():  2
1:34:40 AM: Chart cache purge
1:34:40 AM: Initializing Chart C:\Charts\ENC\SK_INLAND_2010\2D7D1873.000
1:34:40 AM: Initializing Chart C:\Charts\ENC\AT_INLAND\ENC_ROOT\1SAD1870.000
1:34:41 AM:    ***GPS Watchdog timeout at Lat:29.3203   Lon: -94.7772
1:35:37 AM: LOGBOOK:  2016-07-22 01:35:37 UTC  DR Lat   29.32030 Lon  -94.77720
1:36:38 AM: Detected display size (horizontal): 344 mm
1:39:51 AM: Error: Cannot wait for thread termination (error 6: the handle is invalid.)
1:39:51 AM: Error: Couldn't terminate thread (error 6: the handle is invalid.)
1:41:30 AM: Detected display size (horizontal): 344 mm
1:43:49 AM: Chart cache purge
1:43:49 AM:    
1:43:49 AM: Starting chart database Update...
1:43:49 AM:    No change detected on directory C:\PilotCharts
1:43:50 AM:    No change detected on directory C:\Charts\RNC
1:43:50 AM: Searching directory: C:\Charts\ENC for *.kap
1:43:50 AM: Searching directory: C:\Charts\ENC for *.geo
1:43:50 AM: Searching directory: C:\Charts\ENC for *.000
1:43:50 AM: Loading chart data for C:\Charts\ENC\AT_INLAND\ENC_ROOT\1SAD1870.000
1:43:50 AM: Loading chart data for C:\Charts\ENC\AT_INLAND\ENC_ROOT\1SAD1880.000
1:43:51 AM: Loading chart data for C:\Charts\ENC\AT_INLAND\ENC_ROOT\1SAD1890.000
This is running Windows 10.

I had success using Wget for the download and 7-Zip to extract the files. The Windows unzip routine could not extract the files.

Paul
.Paul. is offline   Reply With Quote
Old 21-07-2016, 20:22   #380
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Chart Downloader/Updater Plugin

Paul...
Should be fixed now. It seems that this new version is not packed in RAR format anymore as was the case with the older one (although also named with .ZIP extension)

Pavel
nohal is offline   Reply With Quote
Old 22-07-2016, 03:24   #381
Registered User

Join Date: Oct 2014
Posts: 274
Re: Chart Downloader/Updater Plugin

Pavel,

The newer SK_INLAND charts downloaded and installed using the updated SK_IENC_Catalog.xml.

Thank you,
Paul
.Paul. is offline   Reply With Quote
Old 03-02-2019, 18:37   #382
Registered User

Join Date: Jan 2010
Boat: Catamaran, 56 ft
Posts: 6
Re: Chart Downloader/Updater Plugin

downloaded OPENCPN 4.8.8 and now the Tag "Chart Downloader" is missing. Do I have to activate it somewhere?
SY TiBay is offline   Reply With Quote
Old 03-02-2019, 18:43   #383
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Chart Downloader/Updater Plugin

The plugin should be activated by default. Is there any chance you are using Windows XP?
nohal is offline   Reply With Quote
Old 04-02-2019, 05:56   #384
Registered User

Join Date: Jan 2010
Boat: Catamaran, 56 ft
Posts: 6
Re: Chart Downloader/Updater Plugin

It's a double System XP and Windows 7, Open CPN is loaded on WIN 7.
SY TiBay is offline   Reply With Quote
Old 04-02-2019, 05:58   #385
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Chart Downloader/Updater Plugin

Quote:
Originally Posted by SY TiBay View Post
It's a double System XP and Windows 7, Open CPN is loaded on WIN 7.
Then I would like you to check if the plugin is visible in the plugin tab of the toolbox. If it is, check it is enabled. If it is not, attach your logfile (Click on the wrench icon in the toolbar to get to it)
nohal is offline   Reply With Quote
Old 04-02-2019, 06:05   #386
Registered User

Join Date: Jan 2010
Boat: Catamaran, 56 ft
Posts: 6
Re: Chart Downloader/Updater Plugin

Thanks nohal, it was just not enabled.
SY TiBay is offline   Reply With Quote
Old 23-02-2019, 19:03   #387
Registered User

Join Date: Jul 2017
Posts: 67
Re: Chart Downloader/Updater Plugin

I am having problems with chart downloader pi even showing up. I was running 4.8.2 and it did not show a chartdownloader tab. so I uninstalled it and installed 4.8.8, windows Vista Home Premium system. With a clean install I do not have a chartdownloader plugin to enable in plugins and nothing under charts?

Ron
CapnRon47 is offline   Reply With Quote
Old 23-02-2019, 19:21   #388
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Chart Downloader/Updater Plugin

Ron...

Your OS is not receiving even security updates since April 2017, it is time to move on. There is a minimal chance that the current beta of OpenCPN 5 might work on it as I have rebuilt all the libraries it uses once again with an intention to try to support these obsolete systems. If it does not, sorry, upgrade, there's nothing we can do for you.

Pavel
nohal is offline   Reply With Quote
Old 23-02-2019, 19:34   #389
Registered User

Join Date: Jul 2017
Posts: 67
Re: Chart Downloader/Updater Plugin

Pavel,
thanks, I thought that might be the issue, for now I can manual download the charts I need, but I can see I will need to upgrade the OS (probably easier to by a refurbished PC with Win 7 already installed, at least that will last a little longer)
thanks,
Ron
CapnRon47 is offline   Reply With Quote
Old 23-02-2019, 19:44   #390
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Chart Downloader/Updater Plugin

Ron...

I can imagine your feelings, really, but W7 will get to exactly the same situation in January 2020. And I really am not able to anticipate how long it will be technically possible to support it. It is the last usable version before 10, something like XP was, so we can hope in something like 4 or 5 years.
But really, if you want to keep using Windows, consider going directly to W10, it is the only future it has for you...

Pavel
nohal is offline   Reply With Quote
Reply

Tags
charts


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
Plugin: DashBoard SethDart OpenCPN 650 12-08-2024 10:19
Logbook Plug-in SethDart OpenCPN 113 04-06-2022 11:21
OpenCPN PlugIn Development bdbcat OpenCPN 161 04-09-2019 12:50
BSB 4 PlugIn bdbcat OpenCPN 98 25-04-2018 18:46
Chartwork Plugin mario f OpenCPN 10 29-03-2012 19:21

Advertise Here


All times are GMT -7. The time now is 17:20.


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.