Parameters for testrunner: ./tool_scripts/script_regression_v1.1.txt reg.log lombardiatrainitalia
{
"block": "lombardiatrainitalia",
"url":"https://www.cciss.it/nap/mmtis/public/catalog/Dataset/5486",
"download_url":"https://github.com/user-attachments/files/18585826/IT-ITC4-TRENITALIA_126_L1.xml.gz",
"scripts": [
{"step":1,"script": "clean_tmp", "args": "%%dir%%"},
{"step":2,"script": "download_input_file", "args": "%%dir%%"},
{"step":3,"script": "conv.netex_to_db", "args": "[%%inputfilepath%%] %%dir%%/02-import.lmdb "},
{"step":4,"script": "#tools.netex_check_assertions", "args": "./scripts/general-netex-assertions.txt %%inputfilepath%%"},
{"step":5,"script": "#tools.netex_stats", "args": "%%inputfilepath%%"},
{"step":6,"script": "tools.xml_validator", "args": "%%inputfilepath%% schema/netex/xsd/NeTEx_publication.xsd"},
{"step":7,"script": "conv.epip_db_to_db", "args": "%%dir%%/02-import.lmdb %%dir%%/07-netex-database.lmdb"},
{"step":8,"script": "conv.epip_db_to_xml", "args": "%%dir%%/07-netex-database.lmdb %%dir%%/08-%%block%%-netex.xml.gz"},
{"step":9,"script": "conv.netex_to_db", "args": "[%%dir%%/08-%%block%%-netex.xml.gz] %%dir%%/08-gtfs.lmdb "},
{"step":10,"script": "#related_explorer", "args": "%%dir%%/08-gtfs.lmdb Line random %%dir%%/09-line.xml.gz "},
{"step":11,"script": "conv.gtfs_db_to_db", "args": "%%dir%%/08-gtfs.lmdb %%dir%%/10-gtfs.lmdb"},
{"step":12,"script": "conv.gtfs_db_to_gtfs", "args": "%%dir%%/10-gtfs.lmdb %%dir%%/11-%%block%%-gtfs.zip"},
{"step":13,"script": "tools.gtfs_validator", "args": "%%dir%%/11-%%block%%-gtfs.zip %%dir%%"},
{"step":14,"script": "tools.gtfs_map_visualisation", "args": "%%dir%%/11-%%block%%-gtfs.zip %%dir%%/13-%%block%%-map.html 1"}
]
},
2025-08-05 18:47:15,803 - script_runner - INFO - lombardiatrainitalia - step: 7: conv.epip_db_to_db d:/aux_testing_processing/lombardiatrainitalia/02-import.lmdb d:/aux_testing_processing/lombardiatrainitalia/07-netex-database.lmdb
2025-08-05 18:47:16,018 - script_runner - INFO - Copy all tables as-is
Database Operator does not exist, creating it.
2025-08-05 18:47:16,028 - script_runner - INFO - Copy lines, in EPIP style
epip_line_memory
Database Line does not exist, creating it.
2025-08-05 18:47:16,067 - script_runner - INFO - Fix Quay / StopPlace locations
Database ScheduledStopPoint does not exist, creating it.
2025-08-05 18:47:16,189 - script_runner - INFO - Investigate this site frame step
epip_site_frame_memory
Database StopPlace does not exist, creating it.
2025-08-05 18:47:16,226 - script_runner - INFO - Service journeys
epip_service_journey_generator
2025-08-05 18:47:16,227 - script_runner - INFO - Indexing RoutePoint to ScheduledStopPoint
2025-08-05 18:47:16,250 - script_runner - INFO - Service journeys for now
Database ServiceJourney does not exist, creating it.
Database ServiceJourneyPattern does not exist, creating it.
2025-08-05 18:47:19,693 - script_runner - INFO - Calendars
2025-08-05 18:47:19,694 - script_runner - INFO - Calendar creation...
2025-08-05 18:47:19,741 - script_runner - ERROR - 'IT:ITC4:UicOperatingPeriod:TRENITALIA:102056' Traceback (most recent call last):
File "D:\development\github\badger\tools\script_runner.py", line 454, in <module>
main(
~~~~^
args.script_file,
^^^^^^^^^^^^^^^^^
...<5 lines>...
this_step=args.this_step,
^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "D:\development\github\badger\tools\script_runner.py", line 394, in main
result = load_and_run(script_name, script_args)
File "D:\development\github\badger\tools\script_runner.py", line 113, in load_and_run
result = main_function(*args1)
File "D:\development\github\badger\conv\epip_db_to_db.py", line 114, in main
epip_service_calendar(source_db, target_db, generator_defaults)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\development\github\badger\transformers\epip.py", line 826, in epip_service_calendar
operating_periods[dta.uic_operating_period_ref_or_operating_period_ref_or_operating_day_ref_or_date.ref]
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'IT:ITC4:UicOperatingPeriod:TRENITALIA:102056'
I guess it is the same as for SNCF.
Parameters for testrunner: ./tool_scripts/script_regression_v1.1.txt reg.log lombardiatrainitalia
relevant block:
occuring error:
I guess it is the same as for SNCF.