Hi,
When I try genrate route,using python
C:\Users\Usuario\Downloads\sumo-win64-0.26.0\sumo-0.26.0\tools\randomTrips.py
-n PuertaToledo.net.xml -r map.rou.xml -e 100 -l.
Give me the next error
Traceback (most recent call last):
File
"C:\Users\Usuario\Downloads\sumo-win64-0.26.0\sumo-0.26.0\tools\randomTrips.py",
line 359, in <module>
if not main(get_options()):
File
"C:\Users\Usuario\Downloads\sumo-win64-0.26.0\sumo-0.26.0\tools\randomTrips.py",
line 271, in main
net = sumolib.net.readNet(options.netfile)
File
"C:\Users\Usuario\Downloads\sumo-win64-0.26.0\sumo-0.26.0\tools\sumolib\net\__init__.py",
line 536, in readNet
parse(filename, netreader)
File "C:\Program Files (x86)\Python27\lib\xml\sax\__init__.py", line 33,
in parse
parser.parse(source)
File "C:\Program Files (x86)\Python27\lib\xml\sax\expatreader.py", line
107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\Program Files (x86)\Python27\lib\xml\sax\xmlreader.py", line
123, in parse
self.feed(buffer)
File "C:\Program Files (x86)\Python27\lib\xml\sax\expatreader.py", line
207, in feed
self._parser.Parse(data, isFinal)
File "C:\Program Files (x86)\Python27\lib\xml\sax\expatreader.py", line
301, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File
"C:\Users\Usuario\Downloads\sumo-win64-0.26.0\sumo-0.26.0\tools\sumolib\net\__init__.py",
line 481, in startElement
self._currentNode, int(attrs['request']), attrs["foes"],
attrs["response"])
File
"C:\Users\Usuario\Downloads\sumo-win64-0.26.0\sumo-0.26.0\tools\sumolib\net\__init__.py",
line 282, in setFoes
self._id2node[junctionID].setFoes(index, foes, prohibits)
KeyError: None
any idead on how to fix these errors?
Thanks,
Irene.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user