BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Discovering cause of errors

3 posters

Go down

Discovering cause of errors Empty Discovering cause of errors

Post by graymac 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
graymac

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

http://www.celtictrainsim.com

Back to top Go down

Discovering cause of errors Empty Re: Discovering cause of errors

Post by bvetmd 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
bvetmd

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

http://bvetmd.org.uk/

Back to top Go down

Discovering cause of errors Empty Re: Discovering cause of errors

Post by graymac 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
graymac

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

http://www.celtictrainsim.com

Back to top Go down

Discovering cause of errors Empty Re: Discovering cause of errors

Post by bvetmd 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
bvetmd

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

http://bvetmd.org.uk/

Back to top Go down

Discovering cause of errors Empty Re: Discovering cause of errors

Post by graymac 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
graymac

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

http://www.celtictrainsim.com

Back to top Go down

Discovering cause of errors Empty Re: Discovering cause of errors

Post by Quork 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
Quork

Posts : 1438
Join date : 2012-05-05
Age : 33
Location : Hofheim a.T., Hessen (Hesse), European Union

Back to top Go down

Discovering cause of errors Empty Re: Discovering cause of errors

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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