Hi all,

I am trying to convert an old network format to a new one by using the
/tools/0123to013.py script but I am getting an error as shown below.

Traceback (most recent call last):
  File "/Users/burakuzkent/Downloads/sumo-0.20.0/tools/net/0123to0130.py",
line 340, in <module>
    changeFile(fname)
  File "/Users/burakuzkent/Downloads/sumo-0.20.0/tools/net/0123to0130.py",
line 262, in changeFile
    parse(fname, net)
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/__init__.py",
line 33, in parse
    parser.parse(source)
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/expatreader.py",
line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/xmlreader.py",
line 123, in parse
    self.feed(buffer)
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/expatreader.py",
line 210, in feed
    self._parser.Parse(data, isFinal)
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/expatreader.py",
line 304, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/Users/burakuzkent/Downloads/sumo-0.20.0/tools/net/0123to0130.py",
line 148, in startElement
    self._am_parsing_rowlogic = attrs["id"]
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/xmlreader.py",
line 316, in __getitem__
    return self._attrs[name]
KeyError: 'id'

Can you please help me to solve this problem?

*Kind Regards*
*-----------------------------------------------------*
*Burak Uzkent*
*PhD Student*
*Graduate Research Assistant*
*Imaging Science *
*Rochester Institute of Technology*
*Web: http://people.rit.edu/bxu2522/ <http://people.rit.edu/bxu2522/> *
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to