Gotthard Route: System.IO.InvalidDataException: Player train original position not clear
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
New
|
Undecided
|
Unassigned |
Bug Description
I am reporting this as a new bug, as I have investigated a specific case.
In this case the path selected contains a reversal after the first (very short) segment. The activity the path was created for uses a single locomotive (pusher/banker). Thus it fits on the track. But a longer train will not fit.
A potential solution is to do a more thorough path check in the Menu, and reject paths (from/to) that have a reversal within the length of the consist.
In the Menu:
Route: Gotthard Route
Activity: Explore
Locomotive: Any
Consist: 0111 - Flirt 2 Einheiten
Starting at: Erstfeld
Heading to: Göschenen
From the log file:
Mode = explorer
Route = Gotthard Route
Path = GTHD1_Zug14_
Consist = 0111 - Flirt 2 Einheiten (C:\Games\Open Rails Content\
Time = 12:00:00 (12:00)
Season = Summer (1)
Weather = Clear (0)
Warning in log: Not sufficient track to place train 0 , service name PLAYER
Path, from the ContentManager:
Type: Path
Name: GTHD1_Zug14_
Path: C:\Games\Open Rails Content\
Serialization: 1232 bytes
Name: GTHD1_Zug14_
Start: Erstfeld
End: Göschenen
Path: Location: Flags:
| -5807 14685 (810,473,-776) None
| -5807 14685 (810,473,-779) Reverse
| -5807 14685 (822,473,-699) None
| -5807 14685 (824,473,-659) None
| -5807 14685 (825,473,-619) None
| -5807 14685 (847,473,-490) None
| -5807 14685 (849,473,-450) None
| -5807 14685 (849,473,-443) Reverse
| -5807 14685 (849,473,-450) None
| -5807 14685 (847,473,-490) None
...
Related bugs:
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
https:/
It would also be reasonable to show the user an error dialog, and let the user resume with the Menu (and pick another path).
But I believe there currently is not mechanism to show error diaglogs (and exit).