Skip to content

Firsttime run issue 'vwi_waypoints_generator.py' script #6

@FestinaLenteNL

Description

@FestinaLenteNL

Hi,
for boat owners and OpenCPN users this project is a great find.

Marcel are you still supporting this project?
If yes: I have an issue with first run of the 'vwi_waypoints_generator.py' script in a fresh install of OpenCPN 5.10.2 installed on Raspberry using the OpenPlotter provided image (openmarine.org).

I assume the script performs a file check to a non existing file or something like that. My programming skills are to limited to adjust this. (below I used the -force option though there is no difference not using this option)
>>>>>>>>>>>start>>>>>>>>>
pi@openplotter:~/Documents/Test $ python3 vwi_waypoints_generator.py -force
Latest geoinfomation: {
"GeoType": "geogeneration",
"GeoGeneration": 3408,
"PublicationDate": "2024-10-21T14:24:07.575Z",
"Active": true
}
Traceback (most recent call last):
File "/home/pi/Documents/Test/vwi_waypoints_generator.py", line 431, in
if readJson(last_publication_filename).get('GeoGeneration') == geoInfo.get('GeoGeneration'):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/Documents/Test/vwi_waypoints_generator.py", line 400, in readJson
with open(filename) as f:
^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'lastPublication.json'

<<<<<<<<<<end<<<<<<<<<<<<<

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions