Dear all sumo users;

I'm using *randomTrip*s.py to generate random trips with my own net
and using the next command:

randomTrips.py -n MySUMONet29marzo.net.ml -e 50 -l and also I try with
other command

randomTrips.py -n MySUMONet29marzo.net.xml -v -t='depatLane="free"' -a
speed_types.add.xml -r 12abril.rou.xml

and give my the next error:

Traceback (most recent call last):
  File
"C:\Users\Usuario\Downloads\sumo\sumo-win32-0.25.0\sumo-0.25.0\tools\randomTrips.py",
line 364, in <module>
    if not main(get_options()):
  File
"C:\Users\Usuario\Downloads\sumo\sumo-win32-0.25.0\sumo-0.25.0\tools\randomTrips.py",
line 271, in main
    net = sumolib.net.readNet(options.netfile)
  File
"C:\Users\Usuario\Downloads\sumo\sumo-win32-0.25.0\sumo-0.25.0\tools\sumolib\net\__init__.py",
line 530, 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\sumo-win32-0.25.0\sumo-0.25.0\tools\sumolib\net\__init__.py",
line 475, in startElement
    self._currentNode, int(attrs['request']), attrs["foes"],
attrs["response"])
  File
"C:\Users\Usuario\Downloads\sumo\sumo-win32-0.25.0\sumo-0.25.0\tools\sumolib\net\__init__.py",
line 276, in setFoes
    self._id2node[junctionID].setFoes(index, foes, prohibits)
KeyError: None


any ideas 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

Reply via email to