Nasty error prevents OpenBVE from working

View previous topic View next topic Go down

Nasty error prevents OpenBVE from working

Post by TrainToNowhere on Wed Aug 27, 2014 2:52 am

On Windows 7 x86. All frameworks should have been installed as required. Attempting to load a route results in this error message:



Clearing the error message results in an "OpenBVE has stopped working" crash.

TrainToNowhere

Posts : 4
Join date : 2014-08-27

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by leezer3 on Wed Aug 27, 2014 2:11 pm

http://blogs.msdn.com/b/drew/archive/2009/12/24/xunit-and-td-net-fixing-the-attempt-was-made-to-load-an-assembly-from-a-network-location-problem.aspx



It's the Windows security attempting to block files downloaded from the internet.
Absolute utter pain in the neck, I turn it off as soon as I can.

Cheers

Chris Lees

http://www.bvecornwall.co.uk

leezer3

Posts : 990
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by TrainToNowhere on Wed Aug 27, 2014 3:00 pm

leezer3 wrote:http://blogs.msdn.com/b/drew/archive/2009/12/24/xunit-and-td-net-fixing-the-attempt-was-made-to-load-an-assembly-from-a-network-location-problem.aspx



It's the Windows security attempting to block files downloaded from the internet.
Absolute utter pain in the neck, I turn it off as soon as I can.

Cheers

Chris Lees

http://www.bvecornwall.co.uk

Thanks, but I tried this and the problem persists. Unblocking the DLLs does not clear the error, and when trying to unblock OpenBVE, it is re-blocked by the computer.

TrainToNowhere

Posts : 4
Join date : 2014-08-27

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by leezer3 on Wed Aug 27, 2014 5:27 pm

Odd; Try this:
Open your OpenBVE main folder. In there, you should find a file named OpenBve.exe.config

Open it, and replace the contents with this (Backup first):
Code:
<configuration>
    <runtime>
        <loadFromRemoteSources enabled="true"/>
    </runtime>
</configuration>

That should do basically the same thing, just in a slightly different way.
If the file doesn't exist, just create it Smile

If that doesn't work, try running it as an administrator; That shouldn't matter, but we need to try and rule out as many possible problems as we can Smile

Cheers

Chris Lees

http://www.bvecornwall.co.uk

leezer3

Posts : 990
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by TrainToNowhere on Thu Aug 28, 2014 12:24 am

leezer3 wrote:Odd; Try this:
Open your OpenBVE main folder. In there, you should find a file named OpenBve.exe.config

Open it, and replace the contents with this (Backup first):
Code:
<configuration>
    <runtime>
        <loadFromRemoteSources enabled="true"/>
    </runtime>
</configuration>

That should do basically the same thing, just in a slightly different way.
If the file doesn't exist, just create it Smile

If that doesn't work, try running it as an administrator; That shouldn't matter, but we need to try and rule out as many possible problems as we can Smile

Cheers

Chris Lees

http://www.bvecornwall.co.uk

The DLL errors have now been cleared, but now it goes straight to crashing when attempting to load a route. I only run it in Administrator.

TrainToNowhere

Posts : 4
Join date : 2014-08-27

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by leezer3 on Thu Aug 28, 2014 2:36 pm

Well, let's keep going Smile

In the main folder, look for the UserData folder. In here, enter the Settings folder, and post the contents of log.txt

This should tell us what's crashing now hopefully......

As an outside shot, is your Windows locale set to use a *comma* as the decimal separator?

Cheers

Chris Lees

http://www.bvecornwall.co.uk

leezer3

Posts : 990
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by Quork on Thu Aug 28, 2014 2:39 pm

This seems to be of no relevance on Win 7 any more; at least my new laptop has german Windows with standard settings, meaning 100.000.000,00 is a hundred millions; and OpenBVE is running.

Try running the OpenAL and the .NET installers again?
avatar
Quork

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

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by TrainToNowhere on Fri Aug 29, 2014 2:35 am

leezer3 wrote:Well, let's keep going Smile

In the main folder, look for the UserData folder. In here, enter the Settings folder, and post the contents of log.txt

This should tell us what's crashing now hopefully......

As an outside shot, is your Windows locale set to use a *comma* as the decimal separator?

Cheers

Chris Lees

http://www.bvecornwall.co.uk
Well, here's the log. It apparently points to this being a route-related issue, I tried it with the East London line (http://londonbvetube.weebly.com/east-london-line.html), the NYCTA 2 line (http://bvestation.com/downloadinfo.php?id=13), and the NYCTA R Shuttle (http://bvestation.com/downloadinfo.php?id=10).


Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate.csv
Invalid trailing semicolon encountered in 6100; at line 1002, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Whitechapel to New Cross Gate.csv
The command 5500;ground is not supported at line 954, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Whitechapel to New Cross Gate.csv
The command 5525;ground is not supported at line 956, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Whitechapel to New Cross Gate.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Missing closing parenthesis encountered at line 1242, column 2 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-Rshut\NYCT-RShut.rw
ArrivalTime is invalid in Track.Station at line 489, column 2 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-Rshut\NYCT-RShut.rw
Station 53rd Street expects trains to stop but does not define stop points at track position 8625 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-Rshut\NYCT-RShut.rw
Station 45th Street expects trains to stop but does not define stop points at track position 9175 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-Rshut\NYCT-RShut.rw
Station 25th Street expects trains to stop but does not define stop points at track position 10825 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-Rshut\NYCT-RShut.rw
Missing closing parenthesis encountered at line 1242, column 2 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-Rshut\NYCT-RShut.rw
ArrivalTime is invalid in Track.Station at line 489, column 2 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-Rshut\NYCT-RShut.rw
Station 53rd Street expects trains to stop but does not define stop points at track position 8625 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-Rshut\NYCT-RShut.rw
Station 45th Street expects trains to stop but does not define stop points at track position 9175 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-Rshut\NYCT-RShut.rw
Station 25th Street expects trains to stop but does not define stop points at track position 10825 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-Rshut\NYCT-RShut.rw
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate.csv
Invalid trailing semicolon encountered in 6100; at line 1117, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5500;ground is not supported at line 1069, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
The command 5525;ground is not supported at line 1071, column 1 in file C:\Program Files (x86)\BVE\Railway\Route\East London Line v2\BVE4 OpenBVE\Shoreditch to New Cross Gate -  Night.csv
Station Franklin Street expects trains to stop but does not define stop points at track position 14550 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-2\NYCT-2A.csv
Station Canal Street expects trains to stop but does not define stop points at track position 14975 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-2\NYCT-2A.csv
Station Houston Street expects trains to stop but does not define stop points at track position 15800 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-2\NYCT-2A.csv
Station Christopher Street expects trains to stop but does not define stop points at track position 16475 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-2\NYCT-2A.csv
Station 18th Street expects trains to stop but does not define stop points at track position 17550 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-2\NYCT-2A.csv
Station 23rd Street expects trains to stop but does not define stop points at track position 18000 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-2\NYCT-2A.csv
Station 28th Street expects trains to stop but does not define stop points at track position 18400 in file C:\Program Files (x86)\BVE\Railway\Route\NYCT-2\NYCT-2A.csv

However, I can't see this being a route-related issue as the Route Viewer module crashes before loading any routes.

I'm in the US, we use periods as decimal separators. I guess that means I have to do some kind of conversion?

TrainToNowhere

Posts : 4
Join date : 2014-08-27

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by Quork on Fri Aug 29, 2014 2:56 am

No, that's exactly what OpenBVE (theoretically) needs. Very strange, all that...

Let's start with another question: Which OpenBVE version exactly are you using? The one from Odakyufan's homepage (the one pompously titled "the only authoritative" or something by himself, should be pinned on this board) or the newer one linked in the announcements forum by Graymac a couple of weeks ago?

But first things first. Seems you are keeping your addons inside Program Files. Windows doesn't like that for some time; and with Win 7 it is completely inacceptable to do so. Move your whole addons folder (judging from the error log, it is the whole C:\Program Files (x86)\BVE folder) outside of Program Files. Either put it in your "My Documents" or on your, if you have one, documents disc. Navigate to the new folder from within OpenBVE. Does it work now?

If no: Download the "Chashinai Network" from Odakyufan's homepage. He has been part of Michelle's team in developing OpenBVE, so his routes are the best benchmark, since he knows exactly what and how he must code. Do those work?

If no: Reinstall OpenBVE, including all dependencies. Does it work now?

If no: As pointed out above, there are two versions of OpenBVE current in their way. Try the other one than you are using at the moment. Does it work now?

If no: I do not have a slightest clue what else to do...
avatar
Quork

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

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by phontanka on Mon Sep 01, 2014 8:25 pm

That new OpenBVE version, the one not from Odakyufan's site produces such errors. I suggest downloading OpenBVE from the official site and follow installation instructions there.

http://odakyufan.zxq.net/openbve
avatar
phontanka

Posts : 242
Join date : 2012-05-08
Location : Hungary

http://phontanka.wordpress.com

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by Dexter on Mon Sep 01, 2014 9:11 pm

phontanka wrote:That new OpenBVE version, the one not from Odakyufan's site produces such errors. I suggest downloading OpenBVE from the official site and follow installation instructions there.

http://odakyufan.zxq.net/openbve

Indeed, but the "unofficial" version provides a significant rendering boost according to them lucky people, who are actually able to run it. Smile
avatar
Dexter

Posts : 1842
Join date : 2011-07-08
Age : 31
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by phontanka on Mon Sep 01, 2014 9:17 pm

I hope its developer can stabilize his build, and then maybe merge it into the official release. We'll see.
avatar
phontanka

Posts : 242
Join date : 2012-05-08
Location : Hungary

http://phontanka.wordpress.com

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by Quork on Tue Sep 02, 2014 1:45 am

What do you mean by merging it into the official build? It is the continuation of the official build while Odakyufan seemed to be not interested in real further development back when Michelle went away...
avatar
Quork

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

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by hkmtrhah on Thu Sep 04, 2014 10:14 am

phontanka wrote:I hope its developer can stabilize his build, and then maybe merge it into the official release. We'll see.
What I see is that they're not going to make the project fork-able, and how would they pull the unofficial modifications/patches back to the original repository?
avatar
hkmtrhah

Posts : 34
Join date : 2013-06-19
Location : Hong Kong

http://about.me/hkgsherlock

Back to top Go down

Re: Nasty error prevents OpenBVE from working

Post by Sponsored content


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