#1445 closed bug (worksforme)
mapserver export fails in Windows XP
Reported by: | neteler | Owned by: | marcopx |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Python plugins and bindings | Version: | 0.11.0 |
Keywords: | Cc: | forster@… | |
Must Fix for Release: | No | Platform: | Windows |
Platform Version: | Awaiting user input: | no |
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 (6)
comment:1 by , 15 years ago
Cc: | added |
---|
comment:2 by , 15 years ago
Owner: | changed from | to
---|
comment:3 by , 15 years ago
I made a simple test: I exported a shp file and it worked fine. I asked to Leo (Lami) to test it too. I would wait for his tests before to decide if it is a real package bug.
Marco
comment:4 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Leo reported no errors too. I'm closing the ticket as works for me.
Marco
comment:5 by , 15 years ago
Mhh, I am suprised that I then see a ghost error... well, ok. I hope for the next package then.
Note:
See TracTickets
for help on using tickets.
seems like a packaging issue. works nicely with the msvc build and a local python install.