bdbcat / oesenc_pi

GNU General Public License v2.0
10 stars 17 forks source link

Chart set will display even if Dongle is not present after OC restart #46

Open dominig opened 5 years ago

dominig commented 5 years ago

Test done on Linux OpenSUSE 15.0 (and MS Windows 10)

I have initialised a chart set associated to my Dongle.

a) Remove Dongle while OC is running

If I remove the Dongle while OC is running, I keep my chart set active, what I find a safe implementation. Would anything go wrong with the Dongle while at sea, I would not loose my charts. I like that.

b) Remove Dongle and restart OC

More surprising, if I remove the Dongle and restart OC, I get an error message telling me that the chart set is having a problem (see screen shoot) but after accepting the error, I still have my charts available. The log file (see extract bellow) is pretty clear about it. Not sure that this is the intended mode of operation.

Note, I have the same "feature" on my MS Windows system.

Screenshot_20190703_112025

Screenshot_20190703_112207

------------------- log extract (recovery chart mode) ------------- 11:10:43 CEST: validate_SENC_server 11:10:43 CEST: Available TRUE 11:10:43 CEST: validateUserKey 11:10:43 CEST: validateUserKey E1 11:10:43 CEST: validateUserKey E1.5 11:10:43 CEST: validateUserKey E2, reset server 11:10:43 CEST: validate_SENC_server 11:10:43 CEST: Available TRUE 11:10:43 CEST: validateUserKey E2.5, extracting userKey from Chartinfo.txt 11:10:43 CEST: validate_SENC_server 11:10:43 CEST: Available TRUE 11:10:43 CEST: validateUserKey E2.6 11:10:43 CEST: Cannot load SENC file /home/dominig/CartesOpenCPN/cartes/cartes-oeENC/sgl001CD445-FRatl_UK-2019-26/OC-33-054175.oesenc 11:10:43 CEST: Recoverable problem initializing Chart /home/dominig/CartesOpenCPN/cartes/cartes-oeENC/sgl001CD445-FRatl_UK-2019-26/OC-33-054175.oesenc 11:10:43 CEST: OpenChartFromStack... Error opening chart /home/dominig/CartesOpenCPN/cartes/cartes-oeENC/sgl001CD445-FRatl_UK-2019-26/OC-33-054175.oesenc ... return code 1 11:10:43 CEST: OpenChartUsingCache, NOT in cache: cache size: 1 11:10:43 CEST: OpenChartUsingCache: type 8 /home/dominig/CartesOpenCPN/cartes/cartes-oeENC/sgl001CD445-FRatl_UK-2019-26/OC-33-054175.oesenc 11:10:43 CEST: Creating new chart 11:10:43 CEST: Initializing Chart /home/dominig/CartesOpenCPN/cartes/cartes-oeENC/sgl001CD445-FRatl_UK-2019-26/OC-33-054175.oesenc 11:10:43 CEST: Problem initializing Chart /home/dominig/CartesOpenCPN/cartes/cartes-oeENC/sgl001CD445-FRatl_UK-2019-26/OC-33-054175.oesenc 11:10:43 CEST: OpenChartFromStack... Error opening chart /home/dominig/CartesOpenCPN/cartes/cartes-oeENC/sgl001CD445-FRatl_UK-2019-26/OC-33-054175.oesenc ... return code 2 11:10:48 CEST: ***GPS Watchdog timeout at Lat:51.8531 Lon: -8.29002 11:10:49 CEST: OpenChartUsingCache, NOT in cache: cache size: 1 11:10:49 CEST: OpenChartUsingCache: type 8 /home/dominig/CartesOpenCPN/cartes/cartes-oeENC/sgl001CD445-FRatl_UK-2019-26/OC-33-054175.oesenc 11:10:49 CEST: Creating new chart ---------------- end log ------------------