Closed tafflin closed 3 years ago
I would have reported all the errors in files I had problems converting but with every archive conversion I only get 1 type of error for 1-2 files. Each time there is a new error. We are using the zip from this link https://data.bus-data.dft.gov.uk/timetable/download/bulk_archive (unzipping all files in the archive in one folder including subfolders and overwriting the files with the same name)
Hey, no worries. I've noticed there is an issue where zip files inside a zip file are not processed. Let me fix that and then you can just run it against that one zip file and I'll see how the error handling works.
@tafflin I've processed that file and made sure that individual errors are skipped. I've also fixed the underlying issue, although the solution was to just skip over that vehicle because it had no operating profile. Version 1.9.0 should be available now
@linusnorton thanks, will check soon. If some of the files are skipped or corrupt, is it logged during the conversion?
Missing OperatingProfiles are not logged but any other unexpected processing failures are logged
The archive was processed. Looks good so far. Thanks for quick updates
@linusnorton
I hope this is the last problem with DFT .xml data. I am still not sure how the previous version we were using did not fail to convert the bulk DFT archive. In the file in the attachment there is no operating profile in one of the VehicleJourneys. Is it possible to skip the trip conversion in such cases? Also is it possible that trancxchange2gtfs converter would skip files which have errors and still generate a resulting GTFS without such trips/routes? Currently converting a bulk archive with ~21000 files takes around 15-20 min I cannot get a GTFS file to validate it.