openrails / test-launchpad-bugs

TEST repository for Launchpad bug migration exploration
0 stars 0 forks source link

[BUG 1957979] Open Rails fails to load any map under Turkish Date/Time Format #2525

Open twpol opened 2 years ago

twpol commented 2 years ago

Imported from https://bugs.launchpad.net/bugs/1957979

Property Value
Reported by Koodu (koodu)
Date reported Fri, 14 Jan 2022 20:07:38 GMT

Hey there I can't seem to get Open Rails to run as it throws me this error:

Orts.Parsers.Msts.STFException: Missing RouteID in D:\Train Simulator\Routes\Japan1\japan1.trk: line 47

All of the Routes have on the Route dropdown menu hence I get this error on all locations (US, EU, Training Maps, Japan). Additionally I've checked the japan1.trk file and it actually does have the relevant line in it. But due to some unknown reason it just can't read the file properly. Can you help me? Thanks in advance.

twpol commented 2 years ago

Imported from https://bugs.launchpad.net/or/+bug/1957979/comments/1

Property Value
Posted by Koodu (koodu)
Date posted Fri, 14 Jan 2022 20:07:38 GMT
twpol commented 2 years ago

Imported from https://bugs.launchpad.net/or/+bug/1957979/comments/2

Property Value
Posted by Koodu (koodu)
Date posted Wed, 02 Feb 2022 10:08:23 GMT

Hi there, I have managed to pinpoint the cause of my problem. Since my native language is Turkish my computer is adjusted to have everything set in Turkish. But the main reason why I couldn't get Open Rails to run on any map(s) was due to Date/Time format under Region settings in Control Panel. Once I switched the Date/Time format from Turkish to American it worked just fine. The root of the cause seems to be arising from English Date/Time format uses slash while Turkish Date/Time format uses period.