Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#24 closed błąd (fixed)

Problem z wgrywaniem tracków zapisanych programem xctrack

Reported by: Robert Grubba Owned by: somebody
Priority: critical Milestone: 5.0.31
Component: Backend Version:
Keywords: xctrack Cc: klazor.gd@…

Description (last modified by Robert Grubba)

Przy próbie wgrania pliku (przykładowy plik w załączniku) pojawia się błąd:

Wystąpił błąd podczas przesyłania pliku!

The date of the flight is in the future
Please use the Year-month-day not the US Year-day-month format

Problem udało się powtórzyć, debug przy wgrywaniu:

File has total 617 lines
[1-0] TAKEOFF sequence SPEED: 10.22444284937 max:70
[2-1] TAKEOFF sequence SPEED: 20.386530221682 max:70
[3-2] TAKEOFF sequence SPEED: 33.358477994554 max:70
[4-3] TAKEOFF sequence SPEED: 23.144438947756 max:70
[5-4] TAKEOFF sequence SPEED: 21.462311646293 max:70
Passed the strict testing (p=5)
[343-342] Distance <0.5 m 
[484-482] Mean speed > 40 km/h 
[485-482] Mean speed > 40 km/h 
[486-482] Mean speed > 40 km/h 
[487-482] Mean speed > 40 km/h 
[487-482] > 433.25386021986km/h max allowed speed
REJ: [1] <0.5 distance
REJ: [] zero_time_diff
REJ: [4] mean_speed diff >40km/h
REJ: [] >max_alt
REJ: [1] >max_speed
REJ: [] >max_vario
REJ: [] >max_speed_start
REJ: [] >max_vario_start
Found 482 valid B records out of 487 total
will use a reduce array of length 0
getUTMtimeOffset: date-> 20:0-TE-DA 
getTZ: SELECT lat,lon,ABS(54.504183333333-lat) as dlat , ABS(-18.533233333333- lon ) as dlon ,countryCode from leonardo_waypoints WHERE ABS(54.504183333333-lat) < 1 AND ABS(-18.533233333333- lon ) < 1 ORDER BY dlat,dlon ASC
getTZ: 54.4981 , -18.562 country-> PL distance-> 1976.7838738336 
getTZ: 54.479 , -18.5636 country-> PL distance-> 3418.7451462233 
getTZ: 54.5942 , -18.5277 country-> PL distance-> 10015.756232101 
getTZ: 54.6063 , -18.5157 country-> PL distance-> 11411.004886394 
getTZ: 54.3821 , -19.4189 country-> PL distance-> 58854.626909738 
getTZ: 54.649 , -18.427 country-> PL distance-> 17498.016054953 
getTZ: 54.35 , -18.6667 country-> PL distance-> 19195.497730035 
getTZ: 54.3461 , -19.101 country-> PL distance-> 40718.036668125 
getTZ: 54.8064 , -18.3861 country-> PL distance-> 34912.283931751 
getTZ: 54.8348 , -18.3081 country-> PL distance-> 39510.549400362 
getTZ: 54.1277 , -17.8515 country-> PL distance-> 60891.01544505 
getTZ: 53.9537 , -17.9445 country-> PL distance-> 72187.634325129 
getTZ: 53.9526 , -17.9313 country-> PL distance-> 72749.437444517 
getTZ: 53.9362 , -17.91 country-> PL distance-> 75035.955886799 
getTZ: 53.651 , -18.7365 country-> PL distance-> 95791.807417688 
getTZ: Min dist: 1976.7838738336 , country: PL 
getTZoffset: offset from GMT :+0100 [getenv TZ= Europe/Warsaw] CEST/7200/1/+0200
getTZoffset: Europe/Warsaw () = 1
[1] B1423315430250N01831992EA0000000034
[1] takeoff scan: speed: 10.22444284937 time_diff: 1
[1] B1423335430258N01831991EA0000000034
[1] Found a fast speed point 
[1] B1423355430264N01831996EA0000000035
[1] Found a fast speed point 
[1] B1423375430268N01832007EA0000000032
[1] Found a fast speed point 
[1] B1423395430268N01832015EA0000000030
[1] Found a fast speed point 
[1] B1423415430268N01832032EA0000000028
[1] Found a fast speed point 
[1] B1423435430273N01832046EA0000000027
[1] Found Takeoff 
[72] B1424545430672N01832047EA0000000020
[72] Found a slow speed point (speed, dt)=(3.8732115413279,1)
[73] B1424555430672N01832047EA0000000020
[73] Found a slow speed point (speed, dt)=(0,1)
[74] B1424565430672N01832047EA0000000021
[74] Found a slow speed point (speed, dt)=(0,1)
[75] B1424575430672N01832048EA0000000021
[75] Found a slow speed point (speed, dt)=(3.8732115413279,1)
[76] B1424585430672N01832048EA0000000021
[76] Found a slow speed point (speed, dt)=(0,1)
[77] B1424595430672N01832048EA0000000021
[77] Found a slow speed point (speed, dt)=(0,1)
[78] B1425005430672N01832048EA0000000021
[78] Found a slow speed point (speed, dt)=(0,1)
[79] B1425015430672N01832048EA0000000021
[79] Found a slow speed point (speed, dt)=(0,1)
[81] B1425035430673N01832049EA0000000022
[81] Found a slow speed point (speed, dt)=(0,1)
[82] B1425045430673N01832049EA0000000022
[82] Found a slow speed point (speed, dt)=(0,1)
[144] B1426065430901N01832035EA0000000022
[144] Found a slow speed point (speed, dt)=(3.8728496688135,1)
[149] B1426115430903N01832037EA0000000021
[149] Found a slow speed point (speed, dt)=(0,1)
[150] B1426125430903N01832037EA0000000021
[150] Found a slow speed point (speed, dt)=(0,1)
[151] B1426135430903N01832037EA0000000021
[151] Found a slow speed point (speed, dt)=(0,1)
[152] B1426145430903N01832038EA0000000022
[152] Found a slow speed point (speed, dt)=(3.8728465090247,1)
[153] B1426155430903N01832038EA0000000023
[153] Found a slow speed point (speed, dt)=(0,1)
[154] B1426165430903N01832038EA0000000023
[154] Found a slow speed point (speed, dt)=(0,1)
[156] B1426185430902N01832037EA0000000024
[156] Found a slow speed point (speed, dt)=(0,1)
[157] B1426195430902N01832037EA0000000025
[157] Found a slow speed point (speed, dt)=(0,1)
[158] B1426205430902N01832037EA0000000025
[158] Found a slow speed point (speed, dt)=(0,1)
[159] B1426215430902N01832036EA0000000026
[159] Found a slow speed point (speed, dt)=(3.8728480892888,1)
[160] B1426225430902N01832036EA0000000026
[160] Found a slow speed point (speed, dt)=(0,1)
[162] B1426245430901N01832035EA0000000027
[162] Found a slow speed point (speed, dt)=(3.8728496688135,1)
[164] B1426265430900N01832035EA0000000028
[164] Found a slow speed point (speed, dt)=(0,1)
[165] B1426275430900N01832035EA0000000028
[165] Found a slow speed point (speed, dt)=(0,1)
[167] B1426295430899N01832036EA0000000028
[167] Found a slow speed point (speed, dt)=(0,1)
[169] B1426315430900N01832036EA0000000028
[169] Found a slow speed point (speed, dt)=(3.8728512498161,1)
[208] B1427105430960N01831932EA0000000020
[208] Found a slow speed point (speed, dt)=(3.8727564334289,1)
[209] B1427115430960N01831932EA0000000020
[209] Found a slow speed point (speed, dt)=(0,1)
[210] B1427125430960N01831933EA0000000019
[210] Found a slow speed point (speed, dt)=(3.8727564334289,1)
[211] B1427135430960N01831933EA0000000020
[211] Found a slow speed point (speed, dt)=(0,1)
[212] B1427145430960N01831933EA0000000020
[212] Found a slow speed point (speed, dt)=(0,1)
[213] B1427155430960N01831934EA0000000020
[213] Found a slow speed point (speed, dt)=(3.8727564334289,1)
[214] B1427165430960N01831934EA0000000020
[214] Found a slow speed point (speed, dt)=(0,1)
[215] B1427175430960N01831934EA0000000020
[215] Found a slow speed point (speed, dt)=(0,1)
[216] B1427185430960N01831934EA0000000020
[216] Found a slow speed point (speed, dt)=(0,1)
[315] B1428575431172N01832298EA0000000003
[315] Found a slow speed point (speed, dt)=(3.8724214060796,1)
[316] B1428585431172N01832298EA0000000003
[316] Found a slow speed point (speed, dt)=(0,1)
[317] B1428595431172N01832298EA0000000003
[317] Found a slow speed point (speed, dt)=(0,1)
[318] B1429005431172N01832298EA0000000003
[318] Found a slow speed point (speed, dt)=(0,1)
[319] B1429015431172N01832298EA0000000003
[319] Found a slow speed point (speed, dt)=(0,1)
[320] B1429025431172N01832298EA0000000003
[320] Found a slow speed point (speed, dt)=(0,1)
[321] B1429035431172N01832298EA0000000003
[321] Found a slow speed point (speed, dt)=(0,1)
[322] B1429045431172N01832298EA0000000003
[322] Found a slow speed point (speed, dt)=(0,1)
[323] B1429055431172N01832298EA0000000004
[323] Found a slow speed point (speed, dt)=(0,1)
[324] B1429065431172N01832297EA0000000004
[324] Found a slow speed point (speed, dt)=(3.8724214060796,1)
[325] B1429075431172N01832297EA0000000004
[325] Found a slow speed point (speed, dt)=(0,1)
[326] B1429085431172N01832297EA0000000004
[326] Found a slow speed point (speed, dt)=(0,1)
[327] B1429095431172N01832297EA0000000004
[327] Found a slow speed point (speed, dt)=(0,1)
[328] B1429105431172N01832297EA0000000004
[328] Found a slow speed point (speed, dt)=(0,1)
[329] B1429115431172N01832297EA0000000004
[329] Found a slow speed point (speed, dt)=(0,1)
[330] BAD : BX429125431171N01832297EA0000000005
[330] B1429235431171N01832297EA0000000005
[330] Found a slow speed point (speed, dt)=(0.55597463315769,12)
[331] B1429245431171N01832297EA0000000005
[331] Found a slow speed point (speed, dt)=(0,1)
[332] B1429255431171N01832297EA0000000005
[332] Found a slow speed point (speed, dt)=(0,1)
[333] B1429265431171N01832297EA0000000005
[333] Found a slow speed point (speed, dt)=(0,1)
[334] B1429275431171N01832297EA0000000005
[334] Found a slow speed point (speed, dt)=(0,1)
[335] B1429285431171N01832297EA0000000005
[335] Found a slow speed point (speed, dt)=(0,1)
[336] B1429295431171N01832297EA0000000005
[336] Found a slow speed point (speed, dt)=(0,1)
[337] B1429305431171N01832297EA0000000005
[337] Found a slow speed point (speed, dt)=(0,1)
[338] B1429315431171N01832297EA0000000005
[338] Found a slow speed point (speed, dt)=(0,1)
[339] B1429325431171N01832297EA0000000005
[339] Found a slow speed point (speed, dt)=(0,1)
[340] B1429335431171N01832297EA0000000005
[340] Found a slow speed point (speed, dt)=(0,1)
[341] B1429345431171N01832297EA0000000005
[341] Found a slow speed point (speed, dt)=(0,1)
[342] B1429355431171N01832297EA0000000005
[342] Found a slow speed point (speed, dt)=(0,1)
[343] B1429365431171N01832297EA0000000005
[343] Found a slow speed point (speed, dt)=(0,1)
[344] B1429375431171N01832297EA0000000005
[344] Found a slow speed point (speed, dt)=(0,1)
[345] B1429385431171N01832297EA0000000005
[345] Found a slow speed point (speed, dt)=(0,1)
[346] B1429395431171N01832297EA0000000005
[346] Found a slow speed point (speed, dt)=(0,1)
[347] B1429405431171N01832297EA0000000005
[347] Found a slow speed point (speed, dt)=(0,1)
[348] B1429415431171N01832298EA0000000005
[348] Found a slow speed point (speed, dt)=(3.8724229864318,1)
[349] B1429425431171N01832299EA0000000005
[349] Found a slow speed point (speed, dt)=(3.8724229864318,1)
[377] B1430105431162N01832525EA0000000003
[377] Found a slow speed point (speed, dt)=(3.8724372095874,1)
[379] B1430125431161N01832525EA0000000003
[379] Found a slow speed point (speed, dt)=(0,1)
[380] B1430135431161N01832525EA0000000002
[380] Found a slow speed point (speed, dt)=(0,1)
[381] B1430145431161N01832525EA0000000001
[381] Found a slow speed point (speed, dt)=(0,1)
[382] B1430155431161N01832525EA0000000001
[382] Found a slow speed point (speed, dt)=(0,1)
[384] B1430175431160N01832525EA0000000000
[384] Found a slow speed point (speed, dt)=(0,1)
[385] B1430185431160N01832525EA0000000000
[385] Found a slow speed point (speed, dt)=(0,1)
[386] B1430195431160N01832525EA0000000000
[386] Found a slow speed point (speed, dt)=(0,1)
[387] B1430205431160N01832526EA0000000000
[387] Found a slow speed point (speed, dt)=(3.872440369546,1)
[388] B1430215431160N01832526EA0000000000
[388] Found a slow speed point (speed, dt)=(0,1)
[389] B1430225431160N01832526EA0000000000
[389] Found a slow speed point (speed, dt)=(0,1)
[390] B1430235431160N01832526EA0000000000
[390] Found a slow speed point (speed, dt)=(0,1)
[391] B1430245431160N01832526EA0000000000
[391] Found a slow speed point (speed, dt)=(0,1)
[392] B1430255431160N01832526EA0000000000
[392] Found a slow speed point (speed, dt)=(0,1)
[393] B1430265431160N01832526EA0000000000
[393] Found a slow speed point (speed, dt)=(0,1)
[394] B1430275431160N01832526EA0000000000
[394] Found a slow speed point (speed, dt)=(0,1)
[395] B1430285431160N01832526EA0000000000
[395] Found a slow speed point (speed, dt)=(0,1)
[396] B1430295431160N01832526EA0000000000
[396] Found a slow speed point (speed, dt)=(0,1)
[397] B1430305431160N01832526EA0000000000
[397] Found a slow speed point (speed, dt)=(0,1)
[398] B1430315431160N01832526EA0000000000
[398] Found a slow speed point (speed, dt)=(0,1)
[399] B1430325431160N01832526EA0000000000
[399] Found a slow speed point (speed, dt)=(0,1)
[400] B1430335431160N01832527EA0000000000
[400] Found a slow speed point (speed, dt)=(3.872440369546,1)
[453] B1431265431066N01832728EA0000000000
[453] Found a slow speed point (speed, dt)=(3.8725889215951,1)
[454] B1431275431066N01832728EA0000000000
[454] Found a slow speed point (speed, dt)=(0,1)
[456] B1431295431065N01832728EA0000000000
[456] Found a slow speed point (speed, dt)=(0,1)
[460] B1431335431061N01832728EA0000000000
[460] Found a slow speed point (speed, dt)=(0,1)
[461] B1431345431061N01832728EA0000000000
[461] Found a slow speed point (speed, dt)=(0,1)
[462] B1431355431061N01832728EA0000000000
[462] Found a slow speed point (speed, dt)=(0,1)
[463] B1431365431061N01832728EA0000000000
[463] Found a slow speed point (speed, dt)=(0,1)
[464] B1431375431061N01832728EA0000000000
[464] Found a slow speed point (speed, dt)=(0,1)
[465] B1431385431061N01832728EA0000000000
[465] Found a slow speed point (speed, dt)=(0,1)
[466] B1431395431061N01832728EA0000000000
[466] Found a slow speed point (speed, dt)=(0,1)
[467] B1431405431061N01832728EA0000000000
[467] Found a slow speed point (speed, dt)=(0,1)
[468] B1431415431061N01832728EA0000000000
[468] Found a slow speed point (speed, dt)=(0,1)
[469] B1431425431061N01832728EA0000000000
[469] Found a slow speed point (speed, dt)=(0,1)
[470] BAD : BX431435431061N01832728EA0000000000
[470] BAD : BX431445431061N01832728EA0000000000
[470] BAD : BX431455431061N01832728EA0000000000
[470] BAD : BX431465431061N01832728EA0000000000
PAGE CREATION: 0.091903209686279 secs

Attachments (1)

2018-04-09-XCT-RGX-01.igc (22.9 KB) - added by Robert Grubba 4 months ago.
przykładowy plik stwarzający problem

Download all attachments as: .zip

Change History (3)

Changed 4 months ago by Robert Grubba

Attachment: 2018-04-09-XCT-RGX-01.igc added

przykładowy plik stwarzający problem

comment:1 Changed 4 months ago by Robert Grubba

Milestone: 5.0.31
Resolution: fixed
Status: newclosed

Problem pojawił się, ze względu na zmiany w formacie nagłówka daty zapisywanego w plikach IGC. Część programów do zapisywania tracków (np FlyMe, XCSoar) nadal korzysta ze starego formatu dlatego do tej pory nie zostało to zauważone.

Przygotowałem odpowiednie poprawki, przetestowałem na środowisku testowym i ze względu na wysoki priorytet wdrożyłem na środowisko produkcyjne.

Dzięki Krzysiek za zgłoszenie problemu!

comment:4 Changed 4 months ago by Robert Grubba

Description: modified (diff)
Note: See TracTickets for help on using tickets.