[Talk-de] pyroute-fehlermeldung

John07 osm at jonas-krueckel.de
Mo Jan 14 14:48:09 UTC 2008


Hallo,
ich versuche schon längere Zeit immer wieder mal pyroute zu nutzen. 
System ist Ubuntu 7.10 in einer virtuellen Box.
Leider bekomme ich bei python gui.py immer diese Fehlermeldung. Könnt 
ihr mir sagen, woran das liegt?

    Loading POIs from Setup/poi.txt
    Traceback (most recent call last):
      File "gui.py", line 394, in <module>
        program = GuiBase()
      File "gui.py", line 354, in __init__
        self.mapWidget = MapWidget()
      File "gui.py", line 86, in __init__
        self.loadModules()
      File "gui.py", line 98, in loadModules
        self.modules['poi']['osm'] = osmPoiModule(self.modules)
      File "/home/jonas/pyroute/poi_osm.py", line 30, in __init__
        self.loadPOIs("all", "amenity|shop=*")
      File "/home/jonas/pyroute/poi_osm.py", line 39, in loadPOIs
        self.load(filename, "Setup/poi.txt")
      File "/home/jonas/pyroute/poi_osm.py", line 66, in load
        parser.parse(filename)
      File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
        xmlreader.IncrementalParser.parse(self, source)
      File "/usr/lib/python2.5/site-packages/_xmlplus/sax/xmlreader.py", line 125, in parse
        self.close()
      File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py", line 226, in close
        self.feed("", isFinal = 1)
      File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py", line 220, in feed
        self._err_handler.fatalError(exc)
      File "/usr/lib/python2.5/site-packages/_xmlplus/sax/handler.py", line 38, in fatalError
        raise exception
    xml.sax._exceptions.SAXParseException: data/poi_all.osm:1:0: no element found

      

Ich kenn mich damit leider gar nicht aus.
Gruß
Jonas





Mehr Informationen über die Mailingliste Talk-de