[Qgis-user] Mapserver Export

Yves Jacolin yjacolin at free.fr
Thu Feb 14 12:37:17 PST 2008


Hi,

I am using the trunk version (1-2 weeks old) of QGIS and the plugin is the 0.1 
(not sure as I am not in my office). I will try to install again the plugin 
tomorrow.

Thanks :)

Y.
Le jeudi 14 février 2008 21:31, Richard Duivenvoorde a écrit :
> Hi Jacolin,
>
> what versions (both qgis and plugin) are you using? I know this was an
> 'old' error in the mapserver plugin of gary...
> I just installed the plugin fresh via the python plugin installer in
> qgis 9.2 here (ubuntu), and it's working. So I presume it is fixed and
> you could try to load a new version of it?
> (you can always download the plugin direct via:
> http://spatialserver.net/pyqgis/plugins/mapserver_export.zip and unpack
> it in ~/.qgis/python /plugins directory).
>
> Grtz Richard Duivenvoorde
>
> Jacolin Yves wrote:
> > 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://yjacolin.gloobe.org
http://softlibre.gloobe.org



More information about the Qgis-user mailing list