System.IO.InvalidDataException at ORTS.Traveller..ctor

Bug #1462820 reported by marco
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Open Rails
Expired
Undecided
Unassigned

Bug Description

when i launch the route to play and the route loads , uddenly i read:

Loading TRK TDB

Warning: Track node 474 pin 0 has invalid link to track node 0 in C:\Program Files (x86)\Microsoft Games\Train Simulator\ROUTES\ITALIA11\ITALIA11.tdb:line 5107

 SIGCFG DAT

Warning: Replaced existing TrackSection 360 in C:\Program Files (x86)\Microsoft Games\Train Simulator\GLOBAL\TSECTION.DAT:line 1455

 ACT RDB CARSPAWN SIGSCR WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW

Warning: Skipped track section 39866 not in global or dynamic TSECTION.DAT

Warning: Skipped track section 39866 not in global or dynamic TSECTION.DAT

Warning: Skipped track section 39832 not in global or dynamic TSECTION.DAT

Warning: Skipped track section 39832 not in global or dynamic TSECTION.DAT

Warning: Skipped track section 39832 not in global or dynamic TSECTION.DAT

Error: System.IO.InvalidDataException: Track node could not be found in the track database.
   in ORTS.Traveller..ctor(TSectionDatFile tSectionDat, TrackNode[] trackNodes, TrackNode startTrackNode, Int32 tileX, Int32 tileZ, Single x, Single z) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Simulator\Traveller.cs:riga 280
   in ORTS.Signals.AddSignal(Int32 trackNode, Int32 nodeIndx, SignalItem sigItem, Int32 TDBRef, TSectionDatFile tsectiondat, TDBFile tdbfile, Boolean& validSignal) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Signals\Signals.cs:riga 1057
   in ORTS.Signals.ScanSection(TrItem[] TrItems, TrackNode[] trackNodes, Int32 index, TSectionDatFile tsectiondat, TDBFile tdbfile, Dictionary`2 platformList) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Signals\Signals.cs:riga 935
   in ORTS.Signals.BuildSignalList(TrItem[] TrItems, TrackNode[] trackNodes, TSectionDatFile tsectiondat, TDBFile tdbfile, Dictionary`2 platformList) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Signals\Signals.cs:riga 627
   in ORTS.Signals..ctor(Simulator simulator, SIGCFGFile sigcfg, LoaderProcess loader) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Signals\Signals.cs:riga 122
   in ORTS.Simulator.Start(LoaderProcess loader) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Simulator\Simulator.cs:riga 260
   in ORTS.Processes.GameStateRunActivity.Start(UserSettings settings, String acttype, String[] args) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Processes\GameStateRunActivity.cs:riga 274
   in ORTS.Processes.GameStateRunActivity.<>c__DisplayClass8.<Load>b__3() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Processes\GameStateRunActivity.cs:riga 148
   in ORTS.Processes.GameStateRunActivity.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Processes\GameStateRunActivity.cs:riga 189
   in ORTS.Processes.LoaderProcess.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Processes\LoaderProcess.cs:riga 155
   in ORTS.Processes.LoaderProcess.DoLoad() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Processes\LoaderProcess.cs:riga 136
   in ORTS.Processes.LoaderProcess.LoaderThread() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Processes\LoaderProcess.cs:riga 107
   in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading.ThreadHelper.ThreadStart()

Tags: content crash
Revision history for this message
James Bradley, Jr. (jbrad1974) wrote :

Do you have the latest version of ScaleRail or XTracks installed? This error will occur if a route requires either ScaleRail or XTracks, and you do not have them installed. It will also happen if you do not have the most recent tsection.dat file installed.

Check the route's documentation to see if it uses either ScaleRail or XTracks. If it does, you can download ScaleRail from 3DTrains, and you can download XTracks from TrainSim.com. I would download both, since chances are pretty good you will need both at some point in the future. Either one will install the most recent tsection.dat to your GLOBAL folder.

Try that and let us know if it works.

--James Bradley

James Ross (twpol)
summary: - Error: System.IO.InvalidDataException: Track node could not be found in
- the track database.
+ System.IO.InvalidDataException at ORTS.Traveller..ctor
tags: added: content crash
Revision history for this message
marco (danimark) wrote :
Download full text (25.5 KiB)

I have installed Scalerail and XTracks but it still crashes...hmmm...

Note: i have installed them in the MSTS folder under program files(x86)/microsoft games/train simulator

i attach the new log file :

This is a log file for Open Rails. Please include this file in bug reports.
--------------------------------------------------------------------------------
Date/time = 08/06/2015 23:14:13 (2015-06-08 21:14:13Z)

Warning: System.Runtime.InteropServices.COMException (0x80070424): Il servizio specificato non esiste come servizio installato. (Eccezione da HRESULT: 0x80070424)
   in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   in System.Management.ManagementScope.InitializeGuts(Object o)
   in System.Management.ManagementScope.Initialize()
   in System.Management.ManagementObject.Initialize(Boolean getObject)
   in System.Management.ManagementClass.GetInstances(EnumerationOptions options)
   in System.Management.ManagementClass.GetInstances()
   in ORTS.Common.SystemInfo.WriteEnvironment(TextWriter output) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\ORTS.Common\SystemInfo.cs:riga 45
   in ORTS.Common.SystemInfo.WriteSystemDetails(TextWriter output) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\ORTS.Common\SystemInfo.cs:riga 35
   in ORTS.Processes.GameStateRunActivity.InitLogging(UserSettings settings, String[] args, Boolean appendLog) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Processes\GameStateRunActivity.cs:riga 656
   in ORTS.Processes.GameStateRunActivity.<>c__DisplayClass8.<Load>b__3() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Processes\GameStateRunActivity.cs:riga 147
   in ORTS.Processes.GameStateRunActivity.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Processes\GameStateRunActivity.cs:riga 189
   in ORTS.Processes.LoaderProcess.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Processes\LoaderProcess.cs:riga 155
   in ORTS.Processes.LoaderProcess.DoLoad() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Processes\LoaderProcess.cs:riga 136
   in ORTS.Processes.LoaderProcess.LoaderThread() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Processes\LoaderProcess.cs:riga 107
   in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   in System.Threading.ThreadHelper.ThreadStart()

Warning: System.Runtime.InteropServices.COMException (0x80070424): Il servizio specificato non esiste come servizio installato. (Eccezione da HRESULT: 0x80070424)
   in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   in System.Management.ManagementScope.InitializeGuts(Object o)
   in System.Management.ManagementScope.Initialize()
   in System.Management.ManagementObject.Initialize(Boolean getObject)
   in System.Management.Man...

James Ross (twpol)
Changed in or:
status: New → Triaged
James Ross (twpol)
Changed in or:
status: Triaged → New
Changed in or:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Open Rails because there has been no activity for 60 days.]

Changed in or:
status: Incomplete → Expired
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.