View Issue Details

IDProjectCategoryView StatusLast Update
0002498SkyChart1-Softwarepublic22-01-12 14:10
ReporterThomas Stibor Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformPCOSLinuxOS Version64bit
Product Version4.3 beta 
Target Version4.4Fixed in Version4.3 beta 
Summary0002498: Parsing and processing artificial satellite file TLE.ZIP results in error: YYYY-M-DD is not a valid date specification.
DescriptionUpdating artificial satellites with TLE.ZIP results
in error:

2022-0-12 is not a valid date specification.
Press OK to ignore and risk data corruption.
Press Abort to kill the program (see screenshot).
Steps To ReproduceSetup->Update->Artificial satellites

http://www.tle.info/data/visual.txt
http://www.tle.info/data/TLE.ZIP
https://www.prismnet.com/~mmccants/programs/qsmag.zip

Update artificial satellites results in error (see screenshots)
Tagsartificial satellites

Activities

Thomas Stibor

22-01-12 12:46

reporter   ~0007377

Missing screenshots:
update.png (31,934 bytes)   
update.png (31,934 bytes)   
parsing.png (87,407 bytes)   
parsing.png (87,407 bytes)   
error.png (15,216 bytes)   
error.png (15,216 bytes)   

Patrick Chevalley

22-01-12 14:10

administrator   ~0007378

Thank you Thomas, I not remarked that because I use tle from celestrack.

This is because of a strange definition of the month that range from 0 to 11 in FPC paszlib package, ziputils.pas, structure tm_zip.
Windows version is not affected because it use directly the dosdate from the zip.

Fixed by:
https://github.com/pchev/skychart/commit/5c9b2ac3dc2cab9c5760d2c4fc566481504f2561

Issue History

Date Modified Username Field Change
22-01-12 12:44 Thomas Stibor New Issue
22-01-12 12:44 Thomas Stibor Tag Attached: artificial satellites
22-01-12 12:46 Thomas Stibor Note Added: 0007377
22-01-12 12:46 Thomas Stibor File Added: update.png
22-01-12 12:46 Thomas Stibor File Added: parsing.png
22-01-12 12:46 Thomas Stibor File Added: error.png
22-01-12 14:10 Patrick Chevalley Assigned To => Patrick Chevalley
22-01-12 14:10 Patrick Chevalley Status new => resolved
22-01-12 14:10 Patrick Chevalley Resolution open => fixed
22-01-12 14:10 Patrick Chevalley Fixed in Version => 4.3 beta
22-01-12 14:10 Patrick Chevalley Target Version => 4.4
22-01-12 14:10 Patrick Chevalley Note Added: 0007378