System.IO.InvalidDataException at ORTS.Simulator.InitializePlayerTrain (Activity fails to load)

Bug #1156257 reported by pete locke
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Medium
r.roeterdink

Bug Description

Running ProTrain Tauernbahn, activity SPR 1502(p4) fails to load but other activities in this route are ok.
Error: System.IO.InvalidDataException: Player train original position not clear

Tags: content crash
Revision history for this message
pete locke (petelocke) wrote :
Revision history for this message
r.roeterdink (r-roeterdink) wrote :

It could be that either the train cannot be placed at the required position, e.g. because of a static consist, or it could be that the location is blocked by an AI train.
You can do two tests to see which is the problem : 1) run without traffic and 2) use a shorter train.
If you can't find out what the problem is, I can generate a special test-version which provides some more info on what prevents the train being placed in it's required position.
It is most likely to be an activity problem, though, and not a program error.

Revision history for this message
pete locke (petelocke) wrote : RE: [Bug 1156257] Re: Activity fails to load

Thanks for your reply. I'm not sure, as a 'newby' if I should reply by e-mail or add notes in Launchpad so I hope this reply gets to you.
I tried the 2 tests but no success, so I ran the activity in Release V.8 and it loads and runs ok. The train starts the activity from a siding and is reversed a couple of Kms to Salzburg Hbf to start the activity. So it looks like the problem is in x.1492.
I hope this helps. Also, massive thanks for all the voluntary work you guys are doing in OR - the transformation of MSTS is stunning and you are very much appreciated.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of r.roeterdink
Sent: 19 March 2013 01:04
To: <email address hidden>
Subject: [Bug 1156257] Re: Activity fails to load

It could be that either the train cannot be placed at the required position, e.g. because of a static consist, or it could be that the location is blocked by an AI train.
You can do two tests to see which is the problem : 1) run without traffic and 2) use a shorter train.
If you can't find out what the problem is, I can generate a special test-version which provides some more info on what prevents the train being placed in it's required position.
It is most likely to be an activity problem, though, and not a program error.

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/1156257

Title:
  Activity fails to load

Status in Open Rails Tracker:
  New

Bug description:
  Running ProTrain Tauernbahn, activity SPR 1502(p4) fails to load but other activities in this route are ok.
  Error: System.IO.InvalidDataException: Player train original position not clear

To manage notifications about this bug go to:
https://bugs.launchpad.net/or/+bug/1156257/+subscriptions

Revision history for this message
r.roeterdink (r-roeterdink) wrote : Re: Activity fails to load

Attached is a special version which generates additional information in the log-file.

To run this :
- go to your Open Rail directory, subdirectory : trunk\program
- rename the existing RunActivity.exe file
- unpack the attached zip-file, place the RunActivity.exe file in program directory
- run the activity as usual.

By the way, the best way to reply is through Launchpad, that doesn't quote all previous info.
Thanks for your help.

Revision history for this message
James Ross (twpol) wrote : RE: [Bug 1156257] Re: Activity fails to load

(Or just remove the quoted message in your reply before sending, of course. ;) )

Changed in or:
status: New → Triaged
tags: added: activities
Changed in or:
importance: Undecided → Medium
milestone: none → 0.9
tags: added: crash
James Ross (twpol)
summary: - Activity fails to load
+ System.IO.InvalidDataException at ORTS.Simulator.InitializePlayerTrain
+ (Activity fails to load)
Revision history for this message
pete locke (petelocke) wrote :

Apologies for the delay. Have now run the activity with the replaced RunActivity.exe file.
Log file is attached.

Revision history for this message
r.roeterdink (r-roeterdink) wrote :

Thanks for the data - that helped to find the cause.
Fix committed in X 1522.

Changed in or:
status: Triaged → Fix Committed
assignee: nobody → r.roeterdink (r-roeterdink)
James Ross (twpol)
Changed in or:
status: Fix Committed → Fix Released
Revision history for this message
Prabhat Srigiriraju (prabhats10) wrote :

It is reporting a bug (System.IO.InvalidDataException:Player Train original position not clear)...PLease fix this.....!!

James Ross (twpol)
tags: added: content
removed: activities
Revision history for this message
Roblomined (pears-apple111) wrote :
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.