OpenRailAssociation / osrd

An open source web application for railway infrastructure design, capacity analysis, timetabling and simulation
https://osrd.fr
GNU Lesser General Public License v3.0
417 stars 40 forks source link

Intinerary from buffer stop to buffer is allowed in infra editor but creates an invalid infra when you try to use it in a simulation #6392

Open bloussou opened 5 months ago

bloussou commented 5 months ago

In the infrastructure editor window I can't see any issue with my infrastructure:

Image

When trying to run a simulation on it:

Image

It may be related to the fact that I have created itineraries from buffer stops to buffer stops and this is not allowed by core I think

To reproduce you can open : https://rec-osrd.reseau.sncf.fr/operational-studies/projects/3/studies/44/scenarios/257 and https://rec-osrd.reseau.sncf.fr/editor/8

Core response:

{"status":400,"type":"infra_loading:hard_error","context":{"source_operation":"BUILDING_BLOCKS","url":"http://osrd-rec-core.osd-rec01.svc.cluster.local/infra_load"},"message":"hard error while loading new infra"}

Version: staging 5a4c741

bloussou commented 5 months ago

To be more precise: it fails if there is no signals between the buffer stops, otherwise it is a success

flomonster commented 4 months ago

An itinerary from buffer stop to buffer stop is legit. In your case it fails because there is no Nf signal on you track. There is two ways to fix it: