Discovering cause of errors

View previous topic View next topic Go down

Discovering cause of errors

Post by graymac on Sat Dec 27, 2014 3:21 pm

Earlier OBVE versions (before 1.4.x) indicated errors when loading the route/train with an option to view the list of problems.
Later versions show loading errors in the form of "x errors" in top left of screen.
But how can the list be viewed in order to correct it?

This came up as I'm testing some new work, there's 14 unknown errors I need to find. These don't occur when I use the older versions, only with v1.4.3

graymac

Posts : 1708
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Discovering cause of errors

Post by bvetmd on Sat Dec 27, 2014 4:10 pm

Pretty sure I'm using a 1.4.. version though not at home at present so will have to check.
Depending on which OS you are using there should be an error log file.

For Vista, Windows 7, see here,

C:\Users\USER\AppData\Roaming\OpenBVE\Settings\log.txt
change USER with your Windows login username

Run OpenBVE in window mode, with OpenBVE still running check the log file as above, this should let you know where the faults are.

bvetmd

Posts : 36
Join date : 2011-12-11
Location : BVETMD

http://bvetmd.org.uk/

Back to top Go down

Re: Discovering cause of errors

Post by graymac on Sat Dec 27, 2014 6:07 pm

Thanks, I found the log file in the C:\Trainsimstuff\openbve 1.4.3.0\UserData\Settings folder
(I'm using Win7 64bit)
In this case the culprits are in the sound configs:

Code:
FileName contains illegal characters or is empty at line 33 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 34 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 35 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 57 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 63 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 64 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 65 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 33 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 34 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 35 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 57 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 63 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 64 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg
FileName contains illegal characters or is empty at line 65 in file C:\Trainsimstuff\Train\121_IE\121_Mk3_CC\sound.cfg

graymac

Posts : 1708
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Discovering cause of errors

Post by bvetmd on Sat Dec 27, 2014 6:18 pm

Glad you got it sorted, looks like youve possibly got some entries in the sound.cfg without a path to associated wav files ?

bvetmd

Posts : 36
Join date : 2011-12-11
Location : BVETMD

http://bvetmd.org.uk/

Back to top Go down

Re: Discovering cause of errors

Post by graymac on Sat Dec 27, 2014 6:37 pm

Yes, it turned out there was no filename associated with the function, most of the defective lines are not in use anyway, so removing them cured the problem.
These error did not show up upon loading the train in the earlier versions of the OBVE program.
It's all for preparing an old Irish Rail EMD 121 type loco (for release with a BWR routes upgrade). These locos had a single end cab configuration, rather like the UK Class 20's.

graymac

Posts : 1708
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Re: Discovering cause of errors

Post by Quork on Sun Dec 28, 2014 1:46 pm

Yeah, would fit to Michelle noting she was going for a stricter, thus safer interpretation routine for the files.

Quork

Posts : 1031
Join date : 2012-05-05
Age : 25
Location : Frankfurt am Main (Frankfurt on Main), Hessen (Hesse), European Union (Deutschland (Germany))

http://www.parkbahnschmiden.de/

Back to top Go down

Re: Discovering cause of errors

Post by Sponsored content Today at 10:27 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum