[QGIS-trac] [Quantum GIS] #1445: mapserver export fails in Windows
XP
Quantum GIS
qgis at qgis.org
Fri Dec 5 16:44:15 EST 2008
#1445: mapserver export fails in Windows XP
---------------------------------------------------------+------------------
Reporter: neteler | Owner: nobody
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.0.0
Component: Python | Version: 0.11.0
Keywords: | Platform_version:
Platform: Windows | Must_fix: No
Status_info: 0 |
---------------------------------------------------------+------------------
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).
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1445>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list