Closed bloussou closed 3 months ago
Error context is
override fun getTrackChunkZone(chunk: TrackChunkId): ZoneId {
return chunkToZoneMap[chunk]!!
}
Meaning that a chunk does not have a zone. That is weird.
I can't reproduce locally, with the exact same parameter on the exact same commit :thinking:
Was the infra edited in any way?
Nope the infra is not edited
Can easily be reproduced by just iterating over the chunks and checking whether they have a matching zone
for (track in infra.rawInfra.trackSections) {
for (chunk in infra.rawInfra.getTrackSectionChunks(track)) {
val tmp = infra.rawInfra.getTrackChunkZone(chunk)
println(tmp)
}
}
Sur l'infra France, on a 2465 chunks sans zones :D Je vais essayer de voir pk, mais c'est drôle en tout cas.
What happened?
The error:
What did you expect to happen?
No error
How can we reproduce it (as minimally and precisely as possible)?
What operating system, browser and environment are you using?
OSRD version (top right corner
Account
button >Informations
)d9655c0