bdbcat / oesenc_pi

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

shop downloads the wrong charts for users with multiple valid keys #43

Open dominig opened 5 years ago

dominig commented 5 years ago

I have in the ochart shop several valid keys (4 to be accurate). On my system (Linux OpenSUSE), I have created a fingerprint for the system and a fingerprint for the new "dongle". In the chart menu, I check for my update, I am asked for my login, password and for which system I am running on (t480bis). I provide the required info and tag my request with the system name that is linked to me system fingerprint (not the one linked with the dongle). The plugin starts the download, request where I want the charts to be installed (does not use the existing dir by default !). Note: it took 30mn on a Corei7 with 32GB of RAM and a fast SDD to install the charts, no error where reported but obviously something was going wrong. No new oesenc chart where available after the upgrade. Debug shown that the charts downloaded correspond to the one created for the dongle, and so obviously do not work as the dongle is not plugged in. -------- opencpn.conf ----------- [PlugIns/oesenc] systemName=t480bis loginUser=dominig@fridu.bzh loginKey=0b8480257024fa6d5a08e7c1269ae4d1 lastInstllDir=/home/dominig/CartesOpenCPN/cartes/cartes-oeENC UserKey=sxwD-Kxpg-tyUz-7mcg-4Das-GQ LastFPRFile= [PlugIns/oesenc/ChartinfoList] K1!home!dominig!CartesOpenCPN!cartes!t480bis-FRatl_UK-2019-11!=Iles Britanniques et France Atlantique 2019;2019-11;2020-01-05

Screenshot_20190702_162933

bdbcat commented 5 years ago

"Debug shown that the charts downloaded correspond to the one created for the dongle," And you know this how? Dave

dominig commented 5 years ago

Dave, charts set have a file name and directory that starts with the system name. t480bis for my PC finger print and sg... for the dongle. So it's easy to find what was downloaded. Dominig