[Qgis-user] Mapserver Export

Jacolin Yves yjacolin at free.fr
Wed Feb 13 02:40:30 PST 2008


Hi,

I have a problem with the mapserver export plugin, I get an error:
self.dlg.ui.txtMapFilePath.text())
 File "/home/yjacolin/.qgis//python/plugins/mapserver_export/ms_export.py", 
line 37, in __init__
  self.qgs = minidom.parse("/home/gsherman/test1.qgs")
 File "/usr/lib/python2.5/site-packages/_xmlplus/dom/minidom.py", line 1915, 
in parse
  return expatbuilder.parse(file)
 File "/usr/lib/python2.5/site-packages/_xmlplus/dom/expatbuilder.py", line 
924, in parse
  fp = open(file, 'rb')
IOError: [Errno 2] Aucun fichier ou répertoire de ce 
type: '/home/gsherman/test1.qgs'

Indeed, in my python file, l.37:
self.qgs = minidom.parse("/home/gsherman/test1.qgs")

How can I change this line to use the plugin ?

Thanks,

Y.
-- 
Yves Jacolin
---
http://softlibre.gloobe.org



More information about the Qgis-user mailing list