Notifications
Clear all
10/18/2023 Map Stopped Working?
Visit this post for the fix
Topic starter
12/04/2024 3:52 pm
In version 4.501 a bug was found when the FAA doesn't provide a flight category in the returned data. The script will stop running when this happens. It can be fixed by editing the script named 'metar-v4.py'. It is located in the '/NeoSectional' directory. To get there use the command line and enter;
cd /NeoSectional sudo nano -c metar-v4.py
Then change line 1215 to;
if metar.find('flight_category').text is None or metar.find('flight_category').text == 'NONE':
Use the line that is there and add the '.text' to the 2 locations
Then enter;
ctrl-x y
to save.
This will be incorporated into the next image. - Mark
This topic was modified 7 months ago by Mark Harris
12/04/2024 4:26 pm
Thanks Mark! Good find.