Ticket #1445 (closed bug: worksforme)
mapserver export fails in Windows XP
Description
Hi,
the following message appears when trying to export a SHAPE layer to mapfile:
Fehler bei der Ausführung von Python-Code:
Traceback (most recent call last):
File "C:/Programme/Quantum GIS\./python/plugins\mapserver_export\mapserverexport.py", line 81, in run
exporter = Qgis2Map(str(self.dlg.ui.txtQgisFilePath.text()), str(self.dlg.ui.txtMapFilePath.text()))
File "C:/Programme/Quantum GIS\./python/plugins\mapserver_export\ms_export.py", line 38, in __init__
self.qgs = minidom.parse(projectFile)
File "C:/Programme/Quantum GIS\./python\xml\dom\minidom.py", line 1913, in parse
return expatbuilder.parse(file)
File "C:/Programme/Quantum GIS\./python\xml\dom\expatbuilder.py", line 922, in parse
fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: ''
Python-Version:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
Python-Pfad:['C:/Programme/Quantum GIS\\./python', 'C:/Dokumente und Einstellungen/rf/.qgis//python/plugins', 'C:/Programme/Quantum GIS\\./python/plugins', 'C:\\Programme\\ArcGIS\\bin', 'C:\\Programme\\Quantum GIS\\python25.zip', 'C:\\Python25\\Lib', 'C:\\Python25\\DLLs', 'C:\\Python25\\Lib\\lib-tk', 'C:\\Programme\\Quantum GIS', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages']
Apparently the dot in the path breaks the functionality (the files are present).
Change History
Note: See
TracTickets for help on using
tickets.