Closed Looky1173 closed 8 years ago
Property | Value |
---|---|
Posted by | matthew (kalahari) |
Date posted | Sat, 05 Nov 2016 16:24:49 GMT |
Property | Value |
---|---|
Posted by | Carlo Santucci (carlosanit1) |
Date posted | Sun, 06 Nov 2016 20:45:41 GMT |
Within an .sms file there is a path to a .wav file that has invalid characters. Check the .sms files of the rolling stock causing the crash and look for unusual characters in the paths of the .wav files.
Property | Value |
---|---|
Posted by | matthew (kalahari) |
Date posted | Sun, 06 Nov 2016 23:41:43 GMT |
Thanks for the ansver!
i've solved the problem using the .sms file from another train (ER9T, that has the same mechanics and technicals features of the ER2) and changing the paths to er9's .wav files to the er2's .wav files... I've noticed there was a path to an inexistent .wav file in the original script.
Imported from https://bugs.launchpad.net/bugs/1639467
Hi everyone, i've noticed this bug when playng with some trains (the bug happends on every route, with some trains).
I've download some rolling stok from a russian website; the cabview and the sound packs needs to be downloaded separately ad added to the model.
While running the train with no sound and no cab nothings happends, but after added sounds and cabs, the simulation runs but crashes apparently with no reason. I've repeated it a lot of times and i've noticed that in crashes when, after the train is running, i slow down and increase again the throttle:
Simulation starts Releasing brakes, rising pantographs and start moving (acc 10->20->40->80%) Slowing down to avoid overspeed (acc 80->40->20->10) Increasing speed again (acc 10->20->40 CRASH!!)
Almost everytime, when moving the throttle from 20% to 40% with this train the simulation crashes with this error message:
Error: System.ArgumentException: Caratteri non validi nel percorso. in System.IO.Path.CheckInvalidPathChars(String path) in System.IO.Path.Combine(String path1, String path2) in Orts.Common.ORTSPaths.GetFileFromFolders(String[] pathArray, String branch) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\Orts.Simulation\Common\ORTSPaths.cs:riga 63 in Orts.Viewer3D.ORTSSoundPlayCommand.GetNextFile() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Sound.cs:riga 2059 in Orts.Viewer3D.ORTSPlayOneShot.Run() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Sound.cs:riga 1758 in Orts.Viewer3D.ORTSVariableTrigger.TryTrigger() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Sound.cs:riga 1671 in Orts.Viewer3D.SoundStream.Update() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Sound.cs:riga 1090 in Orts.Viewer3D.SoundSource.Update() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Sound.cs:riga 788 in Orts.Viewer3D.Processes.SoundProcess.Sound() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:riga 132 in Orts.Viewer3D.Processes.SoundProcess.DoSound() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:riga 116 in Orts.Viewer3D.Processes.SoundProcess.SoundThread() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\SoundProcess.cs:riga 100 in System.Threading.ThreadHelper.ThreadStart_Context(Object state) in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Threading.ThreadHelper.ThreadStart()
NOTE (translation) "Caratteri non validi nel percorso" means "Invalid characters in path" "riga" means "row/line"
ROUTE: any (the bug occours on any route, but i usually test new rolling stock on Scottish Capital Express route Demo model 1 http://openrails.org/download/content/)
Rolling stock used when bug happends: ER2K-626 http://www.trainsim.ru/download/148/ ER2-K-987 http://www.trainsim.ru/download/148/