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 10-01-2016, 12:48   #1
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
Chart downloader - copying charts to other computer

I have a pc with a lot of charts downloaded with the chart downloader.

When copying the chart directory to another pc with opencpn, the charts works fine. When then going to the chart downloader to update the copied charts, the interface shows no catalogs. If trying to add a catalogue, you will se the chart catalogues and are able to choose, but opencpn is not aware of the copied charts even if they are located at the same (standard suggested) location as chartdownloader suggest. Any suggestion how to make chart downlaoder aware of the copied charts ??
petter5 is offline   Reply With Quote
Old 10-01-2016, 15:25   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Chart downloader - copying charts to other computer

Petter

Did you hit Update the Catalog first?
Is the path the same? No actually that should not matter.
rgleason is offline   Reply With Quote
Old 10-01-2016, 15:46   #3
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Chart downloader - copying charts to other computer

Quote:
chart downloader .. the interface shows no catalogs.

If trying to add a catalog ..see the chart catalogues and are able to choose, but opencpn is not aware of the copied charts even if they are located at the same (standard suggested) location as chartdownloader suggest.

Any suggestion how to make chart downlaoder awareof the copied charts ??
I believe your opencpn.ini does not have the Chartdownloader settings section in it.

I have copied this section over from another computer and done a very careful search and replace to modify the pathnames for only that section of the ini and it has worked like a charm. But be careful, and save an opencpn.ini.old first!

Why would Chart Download have the catalogs and know the path structure when that information is on another computer?

Hope it works.
rgleason is offline   Reply With Quote
Old 10-01-2016, 16:44   #4
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Chart downloader - copying charts to other computer

Petter...
If you copy all your charts (including the chartdldr_pi.dat file in each of the chart folders, in which the update timestamps of the charts are stored and the catalog XML file) and configure the chart downloader to use these copied folders, it should work without any problem. If you copy just the charts, it won't.

Pavel
nohal is offline   Reply With Quote
Old 12-01-2016, 12:07   #5
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
Re: Chart downloader - copying charts to other computer

I had to copy the chartdownloader ini settings from opencpn.ini also and all the copied charts displayed in the chartdownloader catalog window. I face another problem (4.1.1301 latest compiled from GIT raspberry pi) when I want to update the charts, the update fails and it seems that opencpn is not able to connect to internet. Interet is working on the Pi and I'm able to open the xml file in a browser window, but not able to download the xml from within the chartdownloader.
petter5 is offline   Reply With Quote
Old 12-01-2016, 17:18   #6
Registered User
 
ac0rn's Avatar

Join Date: Nov 2012
Location: Missouri/SW Florida
Posts: 20
Re: Chart downloader - copying charts to other computer

Petter5 I am having your exact same problem as you with downloading the XML files. I'm on an Android tablet.

Sent from my KFFOWI using Tapatalk
__________________
--arthur

Come see our latest projects at The Yacht Barn!
ac0rn is offline   Reply With Quote
Old 12-01-2016, 17:32   #7
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Chart downloader - copying charts to other computer

Petter5 Perhaps you should just copy over the entire ini and modify it as necessary?

Please keep notes of what you have done and I will record them in the manual.

Connection to the internet is a different problem.
Does your browser work? - Probably not. Its a hardware problem or OS config problem.
Can you download a file with a browser?
rgleason is offline   Reply With Quote
Old 12-01-2016, 17:43   #8
Registered User
 
ac0rn's Avatar

Join Date: Nov 2012
Location: Missouri/SW Florida
Posts: 20
Re: Chart downloader - copying charts to other computer

Rgleason, I am able to download via browser, as well as anything else that requires internet. Just not from within the plugin.

Sent from my KFFOWI using Tapatalk
__________________
--arthur

Come see our latest projects at The Yacht Barn!
ac0rn is offline   Reply With Quote
Old 15-01-2016, 07:13   #9
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
Re: Chart downloader - copying charts to other computer

Quote:
Originally Posted by rgleason View Post
Petter5 Perhaps you should just copy over the entire ini and modify it as necessary?

Please keep notes of what you have done and I will record them in the manual.

Connection to the internet is a different problem.
Does your browser work? - Probably not. Its a hardware problem or OS config problem.
Can you download a file with a browser?
Yes, I'm able to download the file with a browser and internet is fully operational but not chart downloader.
petter5 is offline   Reply With Quote
Old 15-01-2016, 19:29   #10
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Chart downloader - copying charts to other computer

I've run out of suggestions. Sorry. Transmitter Dan, can you help?
rgleason is offline   Reply With Quote
Old 15-01-2016, 20:06   #11
Registered User
 
Invictus69's Avatar

Join Date: Dec 2012
Location: New York City
Boat: none yet :(
Posts: 121
Re: Chart downloader - copying charts to other computer

Quote:
Originally Posted by petter5 View Post
I have a pc with a lot of charts downloaded with the chart downloader.
I am still more of a test user of OpenCPN as a secondary solution but I am curious where do find free charts if that is what you are referring to. I am struggling finding free charts for Med/Aegean/Adriatic as well as Leeward/Windward islands. If those are available at all, any help would be appreciated.

Cheers!
B.
Invictus69 is offline   Reply With Quote
Old 15-01-2016, 20:35   #12
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Chart downloader - copying charts to other computer

Quote:
Originally Posted by rgleason View Post
I've run out of suggestions. Sorry. Transmitter Dan, can you help?
I don't know enough about RPi platforms to be of much help. RPi users should be able to do some snooping by putting in custom log messages to debug what is happening (or not happening) as the chart downloader proceeds. I think we left a few breadcrumbs from the original development but inserting log messages is pretty simple.

Android users can ask questions over at the Android OpenCPN support forum. But bottom line is that Google has decided to limit where one can put downloaded files. It is an ill-conceived concept IMO. One of the big advantages of Android over iPad is (or was) the ability to store your own data on SD or micro-SD but it seems they are gradually taking that capability away.
transmitterdan is offline   Reply With Quote
Old 16-01-2016, 03:29   #13
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Chart downloader - copying charts to other computer

Use Chart Downloaderr or refer to the manual for Chart Sources.

opencpn.org
rgleason is offline   Reply With Quote
Old 16-01-2016, 05:42   #14
Registered User
 
ac0rn's Avatar

Join Date: Nov 2012
Location: Missouri/SW Florida
Posts: 20
Re: Chart downloader - copying charts to other computer

Quote:
Originally Posted by transmitterdan View Post
I don't know enough about RPi platforms to be of much help. RPi users should be able to do some snooping by putting in custom log messages to debug what is happening (or not happening) as the chart downloader proceeds. I think we left a few breadcrumbs from the original development but inserting log messages is pretty simple.

Android users can ask questions over at the Android OpenCPN support forum. But bottom line is that Google has decided to limit where one can put downloaded files. It is an ill-conceived concept IMO. One of the big advantages of Android over iPad is (or was) the ability to store your own data on SD or micro-SD but it seems they are gradually taking that capability away.
Interesting that the error message indicates no connection though... I do store charts in a custom location (SD card), so your theory makes some sense. For now I'm using downloader on my Windows laptop, copying the updates to the android tablet over USB, and updating the database. Kind of a pain, but it does save downloading twice ☺

Sent from my KFFOWI using Tapatalk
__________________
--arthur

Come see our latest projects at The Yacht Barn!
ac0rn is offline   Reply With Quote
Old 16-01-2016, 06:03   #15
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Chart downloader - copying charts to other computer

The "no connection" message is sort of generic for "we didn't get the file we need". The library used doesn't give us details on the root cause. It can be that a particular route doesn't work or the firewall doesn't like the request. The downloader uses http protocol to retrieve files. The chart catalog is listed in the downloader with its full URL. You can try pasting that URL into a web browser and see what happens.
transmitterdan is offline   Reply With Quote
Reply

Tags
charts, loa


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
Chart Downloader/Updater Plugin nohal OpenCPN 432 29-03-2024 03:23
Android Chart Downloader Maine_bill OpenCPN 7 03-01-2016 04:25
Chart Downloader problems Kercat OpenCPN 8 11-11-2015 05:39
Chart Downloader problem Brown7477 OpenCPN 6 09-09-2015 01:59
Open CPN - Chart 'Mark' Copying livedelife Boat Ownership & Making a Living 2 12-02-2013 09:49

Advertise Here


All times are GMT -7. The time now is 12:47.


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.