-
Notifications
You must be signed in to change notification settings - Fork 179
faq 80642189
by Jack Hill on 2016-08-29 22:38:01
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
by Kai Nagel on 2016-08-30 08:33:07
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
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq