Gotthard Route: System.IO.InvalidDataException: Player train original position not clear

Bug #2065741 reported by Roger Fischer
6
This bug affects 1 person
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_Schiebedienst (C:\Games\Open Rails Content\PrevMSTSandSOBandPotash\ROUTES\gotthard_linie\PATHS\gthd1_zug14_schiebedienst.pat)
Consist = 0111 - Flirt 2 Einheiten (C:\Games\Open Rails Content\PrevMSTSandSOBandPotash\TRAINS\CONSISTS\gthd1_zug01_ki11.con)
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_Schiebedienst
Path: C:\Games\Open Rails Content\PrevMSTSandSOBandPotash\Routes\gotthard_linie\Paths\GTHD1_Zug14_Schiebedienst.pat
Serialization: 1232 bytes

Name: GTHD1_Zug14_Schiebedienst
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://bugs.launchpad.net/or/+bug/1886556
https://bugs.launchpad.net/or/+bug/1869830 -- Shindawane (has log)
https://bugs.launchpad.net/or/+bug/1811568 -- SRGT (has log)
https://bugs.launchpad.net/or/+bug/1780547
https://bugs.launchpad.net/or/+bug/1780546 -- duplicate
https://bugs.launchpad.net/or/+bug/1722996
https://bugs.launchpad.net/or/+bug/1656028 -- KHEDKAR (ha log)
https://bugs.launchpad.net/or/+bug/1517518 -- Cajon Pass (has details)
https://bugs.launchpad.net/or/+bug/1405191 -- Tauernbahn (has log)
https://bugs.launchpad.net/or/+bug/1156257 -- Tauernbahn (has log)

Revision history for this message
Roger Fischer (rwf09) wrote :
Revision history for this message
Roger Fischer (rwf09) wrote :

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).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.