[Qgis-user] Qgis Python Error when using openlayers plugin and some others

Gino Pirelli luipir at gmail.com
Mon May 5 10:53:44 PDT 2014


I'm the mantainer of the "RT mapserver exporter" plugin, can you open e
ticket with detailed description of the error?

thank you

Luigi Pirelli (luigi.pirelli at faunalia.it - luipir at gmail.com)


On 5 May 2014 18:18, slackve <alejandrogomez84 at gmail.com> wrote:

> Greetings.
>
> I get this error when trying to use openlayers plugin and some others
> like "RT Mapserver Export"
>
> Ha ocurrido un error mientras se ejecutaba el código de Python:
>
> Traceback (most recent call last):
>   File
> "/root/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py",
> line 50, in addLayer
>     self.__plugin.addLayer(self)
>   File
> "/root/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py",
> line 202, in addLayer
>     self.__setMapSrsGoogle()
>   File
> "/root/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py",
> line 253, in __setMapSrsGoogle
>     mapCanvas.mapRenderer().setProjectionsEnabled(True)
> TypeError: C++ type 'const QgsMapLayer*' is not supported as  type
>
> Versión de Python:
> 2.7.5 (default, Apr 29 2014, 10:23:44)
> [GCC 4.8.2]
>
>
> Versión de QGIS:
> 2.2.0-Valmiera Valmiera, exported
>
> Ruta de Python: ['/root/.qgis2/python/plugins/processing',
> '/usr/share/qgis/python', u'/root/.qgis2/python',
> u'/root/.qgis2/python/plugins', '/usr/share/qgis/python/plugins',
> '/usr/lib/python2.7/site-packages/openerp-7.0_20130716_231027-py2.7.egg',
> '/usr/lib/python2.7/site-packages/Werkzeug-0.10_devdev_20130717-py2.7.egg',
> '/usr/lib/python2.7/site-packages/vatnumber-1.1-py2.7.egg',
> '/usr/lib/python2.7/site-packages/unittest2-0.5.1-py2.7.egg',
> '/usr/lib/python2.7/site-packages/PyWebDAV-0.9.8-py2.7.egg',
> '/usr/lib/python2.7/site-packages/python_ldap-2.4.13-py2.7-linux-i686.egg',
> '/usr/lib/python2.7/site-packages/python_dateutil-1.5-py2.7.egg',
> '/usr/lib/python27.zip', '/usr/lib/python2.7',
> '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk',
> '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
> '/usr/lib/python2.7/site-packages',
> '/usr/lib/python2.7/site-packages/PIL',
> '/usr/lib/python2.7/site-packages/gtk-2.0',
> '/usr/lib/python2.7/site-packages',
> '/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode',
> '/usr/share/qgis/python/plugins/fTools/tools']
>
>
> This happened after I upgraded from Slackware 14.0 to 14.1, I
> recompiled Qgis and its dependencies again just in case but still
> gives me the same error
>
> I appreciate any help you can provide
>
> Thank you.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Qgis-Python-Error-when-using-openlayers-plugin-and-some-others-tp5138648.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140505/00ca219b/attachment.html>


More information about the Qgis-user mailing list