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

Alejandro Gomez alejandrogomez84 at gmail.com
Wed Apr 30 06:44:22 PDT 2014


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.



More information about the Qgis-user mailing list