Open ue71603 opened 1 month ago
found an error. I test again.
error remains.
So just starting at the top of the file. So we are receiving a PI_LINE_OFFER, with multiple lines, and the composite frame is called NETWORK_OFFER. That is a source data problem.
<CompositeFrame id="epd:IT:CompositeFrame-EU_PI_NETWORK_OFFER:ita" version="1">
<ValidBetween>
<FromDate>2023-01-01T00:00:00</FromDate>
<ToDate>2099-12-31T00:00:00</ToDate>
</ValidBetween>
<TypeOfFrameRef ref="epip:EU_PI_LINE_OFFER" />
But the actual problem can be found at: https://github.com/skinkie/reference/blob/master/gtfs-netex-test/transformers/epip.py#L452
In this case we are not creating the UicOperatingPeriods ourselves in the conversion, and we do not parse these objects from the ServiceCalendar (since they are embedded). Just committed a workaround. Need to fix this properly.
Can you check what the problem is:
Problem occurs during epip-to-eipi milano.gz