Apologies for the long post. I downloaded the latest sources and did a clean
rebuild of opencpn. I then tried the result with raster
charts, CM93 and NOAA ENC, results below:
setup and
environment:
----------------------
- latest source, Debian Wheezy armhf on Raspberry Pi
- compiled according to
Compiling - Linux | Official OpenCPN Homepage
also tried changing (ARCH "armel") to (ARCH "armhf")in CMakeLists.txt but didn't seem to make a difference
- opencpn.conf is default except for
[Settings]
NCacheLimit=2
ConfigVersionString=Version 3.0.0 Build 2012-06-03
- disable full
screen quilting
- No
GPS or
AIS
Behaviour:
----------
Added raster charts, and they
work as expected.
Added ENC charts (NOAA area 11)
extract from log:
18:25:57 UTC: Loading chart data for /usr/local/share/charts/ENC_ROOT/US4CA73M/US4CA73M.000
18:25:57 UTC: Adding chart file: /usr/local/share/charts/ENC_ROOT/US4CA73M/US4CA73M.000
18:25:57 UTC: Searching directory: /usr/local/share/charts/ENC_ROOT for *.s57
18:25:57 UTC: Searching directory: /usr/local/share/charts/ENC_ROOT for 00300000.a
18:25:58 UTC: Finished chart database Update
18:25:58 UTC:
18:25:58 UTC: Chart cache purge
18:25:59 UTC: LOGBOOK: 2012-07-27 18:25:59 UTC DR Lat 56.88420 Lon -5.81210
Chart outlines are shown, and can browse default blue/black chart
however when I try to then view the charts the following appears in the log:
18:39:45 UTC: Initializing Chart /usr/local/share/charts/ENC_ROOT/US1WC07M/US1WC07M.000
18:39:45 UTC: Building SENC file for /usr/local/share/charts/ENC_ROOT/US1WC07M/US1WC07M.000 to /root/.opencpn/SENC/US1WC07M.S57
18:39:45 UTC: Error Reading ENC .TXT file: /usr/local/share/charts/ENC_ROOT/US1WC07M/US002147.TXT
... the ingesting window continues to
work for a while after the above message is written then the Opencpn window closes.
with CM93 charts:
identify chart directory and
rebuild database
Progress bar is displayed, then opencpn dies when the bar completes.
Debug info:
-----------
added the following to [settings] in the config file:
DebugOpenGL=1
DebugNMEA=500
DebugCM93=1
DebugGPSD=1
DebugS57
DebugBSBImg
DebugGDAL
Load ENC charts returns:
19:34:40 UTC: Starting chart database Update...
19:34:45 UTC: Searching directory: /usr/local/share/charts/ENC_ROOT for *.kap
19:34:45 UTC: Searching directory: /usr/local/share/charts/ENC_ROOT for *.geo
19:34:45 UTC: Searching directory: /usr/local/share/charts/ENC_ROOT for *.000
19:34:46 UTC: Loading chart data for /usr/local/share/charts/ENC_ROOT/US4CA11M/US4CA11M.000
19:34:47 UTC: Adding chart file: /usr/local/share/charts/ENC_ROOT/US4CA11M/US4CA11M.000
19:34:47 UTC: Loading chart data for /usr/local/share/charts/ENC_ROOT/US5CA47M/US5CA47M.000
19:34:48 UTC: Error Reading ENC .TXT file: /usr/local/share/charts/ENC_ROOT/US5CA47M/US002282.TXT
19:34:48 UTC: Adding chart file: /usr/local/share/charts/ENC_ROOT/US5CA47M/US5CA47M.000
19:34:48 UTC: Loading chart data for /usr/local/share/charts/ENC_ROOT/US5CA50M/US5CA50M.000
19:34:52 UTC: Error Reading ENC .TXT file: /usr/local/share/charts/ENC_ROOT/US5CA50M/US5CA50A.TXT
19:34:52 UTC: Adding chart file: /usr/local/share/charts/ENC_ROOT/US5CA50M/US5CA50M.000
...
19:35:50 UTC: Loading chart data for /usr/local/share/charts/ENC_ROOT/US5CA62M/US5CA62M.000
19:35:53 UTC: Error Reading ENC .TXT file: /usr/local/share/charts/ENC_ROOT/US5CA62M/US5CA62E.TXT
19:35:53 UTC: Error Reading ENC .TXT file: /usr/local/share/charts/ENC_ROOT/US5CA62M/US003766.TXT
19:35:53 UTC: Error Reading ENC .TXT file: /usr/local/share/charts/ENC_ROOT/US5CA62M/US003765.TXT
19:35:53 UTC: Error Reading ENC .TXT file: /usr/local/share/charts/ENC_ROOT/US5CA62M/US003764.TXT
...
19:36:23 UTC: Adding chart file: /usr/local/share/charts/ENC_ROOT/US4CA73M/US4CA73M.000
19:36:23 UTC: Searching directory: /usr/local/share/charts/ENC_ROOT for *.s57
19:36:23 UTC: Searching directory: /usr/local/share/charts/ENC_ROOT for 00300000.a
19:36:24 UTC: Finished chart database Update
19:36:24 UTC:
19:36:24 UTC: Chart cache purge
19:36:26 UTC: LOGBOOK: 2012-07-27 19:36:26 UTC DR Lat 0.00000 Lon 0.00000
trying to view an ENC chart gives this in the log ...
19:38:34 UTC: Initializing Chart /usr/local/share/charts/ENC_ROOT/US1WC07M/US1WC07M.000
19:38:34 UTC: Building SENC file for /usr/local/share/charts/ENC_ROOT/US1WC07M/US1WC07M.000 to /root/.opencpn/SENC/US1WC07M.S57
19:38:34 UTC: Error Reading ENC .TXT file: /usr/local/share/charts/ENC_ROOT/US1WC07M/US002147.TXT
19:38:40 UTC: S57: Applying feature updates from /root/.opencpn/SENC/US1WC07M.001.
19:38:40 UTC: S57: Applying feature updates from /root/.opencpn/SENC/US1WC07M.002.
19:38:40 UTC: S57: Can't find attribute CONRAD from class BCNSPP:Beacon, special purpose/general.
19:38:40 UTC: S57: Can't find attribute CONVIS from class BCNSPP:Beacon, special purpose/general.
19:38:40 UTC: S57: Can't find attribute CONRAD from class BUISGL:Building, single.
19:38:40 UTC: S57: Can't find attribute CONVIS from class BUISGL:Building, single.
19:38:40 UTC: S57: Can't find attribute CONRAD from class BUAARE:Built-up area.
19:38:40 UTC: S57: Can't find attribute CONVIS from class BUAARE:Built-up area.
19:38:40 UTC: S57: Can't find attribute CONRAD from class BOYLAT:Buoy, lateral.
19:38:40 UTC: S57: Can't find attribute CONRAD from class BOYSPP:Buoy, special purpose/general.
19:38:40 UTC: S57: Can't find attribute CONRAD from class COALNE:Coastline.
19:38:40 UTC: S57: Can't find attribute CONVIS from class COALNE:Coastline.
19:38:40 UTC: S57: Can't find attribute CONVIS from class LNDELV:Land elevation.
19:38:40 UTC: S57: Can't find attribute CONRAD from class LNDMRK:Landmark.
19:38:40 UTC: S57: Can't find attribute CONVIS from class LNDMRK:Landmark.
19:38:40 UTC: S57: Can't find attribute CONRAD from class SLOGRD:Sloping ground.
19:38:40 UTC: S57: Can't find attribute CONVIS from class SLOGRD:Sloping ground.
19:38:40 UTC: S57: Can't find attribute CONRAD from class WRECKS:Wreck.
19:38:40 UTC: S57: Can't find attribute CONVIS from class WRECKS:Wreck.
followed by this on the command line:
Bus error
Loading CM93 charts gives:
19:51:10 UTC: Starting chart database Update...
19:51:19 UTC: Searching directory: /usr/local/share/charts/CM93 for *.kap
19:51:27 UTC: Searching directory: /usr/local/share/charts/CM93 for *.geo
19:51:36 UTC: Searching directory: /usr/local/share/charts/CM93 for *.000
19:51:40 UTC: Searching directory: /usr/local/share/charts/CM93 for *.s57
19:51:48 UTC: Searching directory: /usr/local/share/charts/CM93 for 00300000.a
19:52:04 UTC: Loading chart data for /usr/local/share/charts/CM93/CM93_May2009_Zone_8/CM93/00300000/A/00300000.A
19:52:04 UTC: CM93Composite Chart Root is /usr/local/share/charts/CM93/CM93_May2009_Zone_8/CM93/
19:52:04 UTC: Adding chart file: /usr/local/share/charts/CM93/CM93_May2009_Zone_8/CM93/00300000/A/00300000.A
19:52:04 UTC: Loading chart data for /usr/local/share/charts/CM93/CM93_May2009_Zone_3-4-5-6-7-9/CM93/00300000/A/00300000.A
19:52:04 UTC: CM93Composite Chart Root is /usr/local/share/charts/CM93/CM93_May2009_Zone_3-4-5-6-7-9/CM93/
19:52:04 UTC: Loading chart data for /usr/local/share/charts/CM93/CM93_May2009_Zone_1-2/CM93/00300000/A/00300000.A
19:52:04 UTC: CM93Composite Chart Root is /usr/local/share/charts/CM93/CM93_May2009_Zone_1-2/CM93/
19:52:05 UTC: Finished chart database Update
19:52:05 UTC:
19:52:05 UTC: Chart cache purge
19:52:05 UTC: Initializing Chart /usr/local/share/charts/CM93/CM93_May2009_Zone_1-2/CM93/00300000/A/00300000.A
19:52:05 UTC: CM93Composite Chart Root is /usr/local/share/charts/CM93/CM93_May2009_Zone_1-2/CM93/
19:52:05 UTC: Loaded CM93 Dictionary from /usr/local/share/charts/CM93/CM93_May2009_Zone_1-2/CM93/
19:52:05 UTC: Loading CM93 cell /usr/local/share/charts/CM93/CM93_May2009_Zone_1-2/CM93/02700720/Z/02700720.Z
19:52:05 UTC: CM93 could not find LUP for M_PROD
.. and dies
opencpn -unit_test_1
20:32:16 UTC: Version 3.0.0 Build 2012-06-03
20:32:16 UTC: MemoryStatus: mem_total: 215 mb, mem_initial: 29 mb
20:32:16 UTC: SData_Locn is /usr/local/share/opencpn/
20:32:19 UTC: Using existing Config_File: /root/.opencpn/opencpn.conf
20:32:19 UTC: Setting Viewpoint Lat/Lon 33.358, -79.282
20:32:19 UTC: Setting Ownship Lat/Lon 0, 0
20:32:19 UTC: System default Language: en_GB
20:32:19 UTC: Error: Cannot set locale to 'en_US'.
20:32:19 UTC: Error: Cannot set locale to 'en_US'.
20:32:19 UTC: Opencpn language set to: en_US
20:32:24 UTC: ChartSymbols loaded from /usr/local/share/opencpn/s57data/chartsymbols.xml
20:32:26 UTC: Using s57data in /usr/local/share/opencpn/s57data
20:32:26 UTC: Setting Viewpoint Lat/Lon 33.358, -79.282
20:32:26 UTC: Setting Ownship Lat/Lon 0, 0
20:32:27 UTC:
NMEA Data Source is....None
20:32:27 UTC:
AIS Data Source is....None
20:32:28 UTC: Using WVSChart datafile: /usr/local/share/opencpn/wvsdata/wvs43.dat
20:32:30 UTC:
NMEA AutoPilot Port is....None
20:32:33 UTC: PlugInManager searching for PlugIns in location /usr/local/lib/opencpn
20:32:33 UTC: PlugInManager: Loading
PlugIn: /usr/local/lib/opencpn/libdashboard_pi.so
20:32:33 UTC: /usr/local/lib/opencpn/libdashboard_pi.so Version detected: 106
20:32:33 UTC: PlugInManager: Loading PlugIn: /usr/local/lib/opencpn/libgrib_pi.so
20:32:33 UTC: /usr/local/lib/opencpn/libgrib_pi.so Version detected: 107
20:32:34 UTC: ChartDB Cache policy: Max open chart limit is 2.
20:32:34 UTC: Loading chart db version: V016
20:32:34 UTC: Chartdb: Chart directory list follows
20:32:34 UTC: Chart directory #0: /usr/local/share/charts/CM93
20:32:34 UTC: GPS Watchdog Timeout is: 6 sec.
20:32:34 UTC: Initializing Chart /usr/local/share/charts/CM93/CM93_May2009_Zone_8/CM93/00300000/A/00300000.A
20:32:34 UTC: CM93Composite Chart Root is /usr/local/share/charts/CM93/CM93_May2009_Zone_8/CM93/
20:32:34 UTC: Loaded CM93 Dictionary from /usr/local/share/charts/CM93/CM93_May2009_Zone_8/CM93/
20:32:34 UTC: Loading CM93 cell /usr/local/share/charts/CM93/CM93_May2009_Zone_8/CM93/02700720/Z/02700720.Z
20:32:34 UTC: CM93 could not find LUP for M_PROD
hope that helps,
Alisdair