Hi Peter,
you must run build.bat in the directory, where osm.net.xml is.
Start a bash
goto to your directory
cd /Users/peter\ biczok/2021-05-12-11-55-22
Start the script
bash build.bat
Greetings, Harald
Am 12.05.21 um 15:08 schrieb Peter Biczok via sumo-user:
Hi Users,
could someone point me to a solutions to this, I am sure probably some
silly mistake I made.
1. Downloaded network with webwizard
2. Edited and saved net in netedit (see change in osm.net
<http://osm.net>.xml)
3. Then ran build.bat but receiving an error
MacBook-Pro ~ % bash /Users/peter\ biczok/2021-05-12-11-55-22/build.bat
Traceback (most recent call last):
File "/usr/local/opt/sumo/share/sumo/tools/randomTrips.py", line 628,
in <module>
if not main(get_options()):
File "/usr/local/opt/sumo/share/sumo/tools/randomTrips.py", line 446,
in main
net = sumolib.net.readNet(options.netfile)
File
"/usr/local/Cellar/sumo/1.9.1/share/sumo/tools/sumolib/net/__init__.py",
line 816, in readNet
parse(filename, netreader)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/__init__.py",
line 33, in parse
parser.parse(source)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/expatreader.py",
line 105, in parse
source = saxutils.prepare_input_source(source)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/saxutils.py",
line 349, in prepare_input_source
f = urllib.urlopen(source.getSystemId())
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py",
line 87, in urlopen
return opener.open(url)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py",
line 215, in open
return getattr(self, name)(url)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py",
line 471, in open_file
return self.open_local_file(url)
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py",
line 485, in open_local_file
raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory: 'osm.net.xml'
Any thoughts?
Much appreciated,
Peter.
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user