Skip to content

faq 80642189

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

Get 13 error messages when trying to load example1-config ?

by Jack Hill on 2016-08-29 22:38:01.997


I have downloaded MATsim. I am following the book, but cannot load anything with Matsim.

For example, when I tried loading example1-config. I get these errors:

 


Does anyone have any advice for resolving these issues?


Cheers,

Jack 


Comments: 1


Re: Get 13 error messages when trying to load example1-config ?

by Kai Nagel on 2016-08-30 08:33:07.982

Dear Jack,

the root of the problem is

 java.io.FileNotFoundException: examples/equil/network.xml.

Given your error message, you probably have the network file name as

  examples/equil/network.xml

(i.e. the root of the file system is assumed to be the java root, which is ... difficult to explain).

It needs to be

 ../../equil/network.xml

(i.e. the root of the file system is assumed to be the location of the config file, which is per your log file C:\Program Files\MATsim\examples\tutorial\config\ ).

This changed recently, so be aware that with relative file paths you can currently not switch back to older matsim versions without also changing these paths.

Sorry for these long error stack traces. There is a reason why it looks how it looks, and we haven't gotten around cleaning this up.

Please let us know how it goes.  Best wishes, Kai

Clone this wiki locally