I wonder if anyone has tried to run the "Amtrak #3" Activity on the "ATSF La Junta & Pueblo Subs" route and found that it crashes immediately you start?
This is the error message in the log file:—
Error: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(T Key key)
at Orts.Simulation.Signalling.DeadlockInfo.GetEndSect ion(Train thisTrain) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 14865
at Orts.Simulation.Signalling.DeadlockInfo.CheckDeadl ockPathAvailability(TrackCircuitSection startSection, Train thisTrain) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 14376
at Orts.Simulation.Signalling.TrackCircuitSection.IsA vailable(TrainRouted thisTrain) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 6035
at Orts.Simulation.Signalling.TrackCircuitSection.Can PlaceTrain(Train thisTrain, Single offset, Single trainLength) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 7412
at Orts.Simulation.Physics.Train.CalculateInitialTrai nPosition(Boolean& trackClear) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Physics\Train.cs:line 5901
at Orts.Simulation.AIs.AI.AddToWorld(AITrain thisTrain) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \AIs\AI.cs:line 1009
at Orts.Simulation.AIs.AI.AIUpdate(Single elapsedClockSeconds, Boolean preUpdate) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \AIs\AI.cs:line 663
at Orts.Simulation.Simulator.Update(Single elapsedClockSeconds) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 878
at Orts.Viewer3D.Viewer.Update(RenderFrame frame, Single elapsedRealTime) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Viewe r.cs:line 746
at Orts.Viewer3D.Processes.UpdaterProcess.Update() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\UpdaterProcess.cs:line 132
at Orts.Viewer3D.Processes.UpdaterProcess.DoUpdate() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\UpdaterProcess.cs:line 108
at Orts.Viewer3D.Processes.UpdaterProcess.UpdaterThre ad() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\UpdaterProcess.cs:line 74
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
However, just above this message the following warning appears:—
Warning: Multiple passing paths at the same location, without common branch out, or return switch. Check the passing paths for Train name: W-HUNW (number: 166), and other train's paths, which have passing paths at the same locations
So, there appears to be a conflict with other paths. I haven't had time to examine all the paths to discover where the passing paths over-run one another.
However, removing the Service "W-HUNW" allows the Activity to start. I can't say whether that is the only problem with the Activity since I haven't run it all the way through. Maybe it ran okay in MSTS? At any rate, it doesn't seem to be a bug in OpenRails which perhaps considers the potential conflict a "game-ender".
David
This is the error message in the log file:—
Error: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(T Key key)
at Orts.Simulation.Signalling.DeadlockInfo.GetEndSect ion(Train thisTrain) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 14865
at Orts.Simulation.Signalling.DeadlockInfo.CheckDeadl ockPathAvailability(TrackCircuitSection startSection, Train thisTrain) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 14376
at Orts.Simulation.Signalling.TrackCircuitSection.IsA vailable(TrainRouted thisTrain) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 6035
at Orts.Simulation.Signalling.TrackCircuitSection.Can PlaceTrain(Train thisTrain, Single offset, Single trainLength) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Signalling\Signals.cs:line 7412
at Orts.Simulation.Physics.Train.CalculateInitialTrai nPosition(Boolean& trackClear) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Physics\Train.cs:line 5901
at Orts.Simulation.AIs.AI.AddToWorld(AITrain thisTrain) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \AIs\AI.cs:line 1009
at Orts.Simulation.AIs.AI.AIUpdate(Single elapsedClockSeconds, Boolean preUpdate) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \AIs\AI.cs:line 663
at Orts.Simulation.Simulator.Update(Single elapsedClockSeconds) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Simulation \Simulator.cs:line 878
at Orts.Viewer3D.Viewer.Update(RenderFrame frame, Single elapsedRealTime) in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Viewe r.cs:line 746
at Orts.Viewer3D.Processes.UpdaterProcess.Update() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\UpdaterProcess.cs:line 132
at Orts.Viewer3D.Processes.UpdaterProcess.DoUpdate() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\UpdaterProcess.cs:line 108
at Orts.Viewer3D.Processes.UpdaterProcess.UpdaterThre ad() in C:\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\UpdaterProcess.cs:line 74
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
However, just above this message the following warning appears:—
Warning: Multiple passing paths at the same location, without common branch out, or return switch. Check the passing paths for Train name: W-HUNW (number: 166), and other train's paths, which have passing paths at the same locations
So, there appears to be a conflict with other paths. I haven't had time to examine all the paths to discover where the passing paths over-run one another.
However, removing the Service "W-HUNW" allows the Activity to start. I can't say whether that is the only problem with the Activity since I haven't run it all the way through. Maybe it ran okay in MSTS? At any rate, it doesn't seem to be a bug in OpenRails which perhaps considers the potential conflict a "game-ender".
David






Comment