Board index FlightGear Support Tools ATC-pie

[ Solved] Error in Getting Fly Plan

ATC-pie is a radar air traffic control simulation program for the FlightGear multi-player network.

[ Solved] Error in Getting Fly Plan

Postby daweed » Sat Apr 11, 2020 9:21 pm

Hello

Some error appear on console when getting FP.
On windows, Python3 Crash
On linux, error appear on console but does not crash.


Traceback (most recent call last):
File "/data/Flightgear/ATC-pie/session/flightGearMP.py", line 93, in run
for online_fpl in download_FPLs(day + i * timedelta(days=1)):
File "/data/Flightgear/ATC-pie/ext/lenny64.py", line 314, in download_FPLs
fpl_id, details, comments, status = FPLdetails_from_XMLelement(fpl_elt)
File "/data/Flightgear/ATC-pie/ext/lenny64.py", line 210, in FPLdetails_from_XMLelement
dep_date = date(yyyy, mm, dd)
ValueError: year 0 is out of range

Error happen on version 1.5.2 as like 1.6.4

Regards

Daweed
Last edited by daweed on Sun Apr 12, 2020 8:52 am, edited 2 times in total.
Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 2080 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 378
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: Error in Getting Fly Plan

Postby mickybadia » Sat Apr 11, 2020 10:06 pm

Hi thanks for reporting.
(note, if you have an SF account as I think it is needed: bug reports are better managed as tickets on the project page)

Already fixed for next version. The problem came from a FPL filed for AAL4955, which had an invalid zero DEP date (0/00/0000). I also changed the DEP time of that FPL so that current the ATC-pie version stops crashing on it.

[EDIT = corrected typo]
mickybadia
 
Posts: 444
Joined: Tue Sep 24, 2013 9:12 am

Re: Error in Getting Fly Plan

Postby daweed » Sun Apr 12, 2020 8:51 am

Hello,

Thanks for the quick reply & fix

mickybadia wrote in Sat Apr 11, 2020 10:06 pm:if you have an SF account as I think it is needed: bug reports are better managed as tickets on the project page


I have one, and will make any futher bug report on SF.

Best regards

Daweed
Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 2080 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 378
Joined: Thu Dec 11, 2014 10:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20


Return to ATC-pie

Who is online

Users browsing this forum: No registered users and 1 guest