<div dir="ltr">I'm the mantainer of the "RT mapserver exporter" plugin, can you open e ticket with detailed description of the error?<div><br></div><div>thank you </div><div><br></div><div>Luigi Pirelli (<a href="mailto:luigi.pirelli@faunalia.it">luigi.pirelli@faunalia.it</a> - <a href="mailto:luipir@gmail.com">luipir@gmail.com</a>)<br>

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 5 May 2014 18:18, slackve <span dir="ltr"><<a href="mailto:alejandrogomez84@gmail.com" target="_blank">alejandrogomez84@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Greetings.<br>
<br>
I get this error when trying to use openlayers plugin and some others<br>
like "RT Mapserver Export"<br>
<br>
Ha ocurrido un error mientras se ejecutaba el código de Python:<br>
<br>
Traceback (most recent call last):<br>
  File "/root/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py",<br>
line 50, in addLayer<br>
    self.__plugin.addLayer(self)<br>
  File "/root/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py",<br>
line 202, in addLayer<br>
    self.__setMapSrsGoogle()<br>
  File "/root/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py",<br>
line 253, in __setMapSrsGoogle<br>
    mapCanvas.mapRenderer().setProjectionsEnabled(True)<br>
TypeError: C++ type 'const QgsMapLayer*' is not supported as  type<br>
<br>
Versión de Python:<br>
2.7.5 (default, Apr 29 2014, 10:23:44)<br>
[GCC 4.8.2]<br>
<br>
<br>
Versión de QGIS:<br>
2.2.0-Valmiera Valmiera, exported<br>
<br>
Ruta de Python: ['/root/.qgis2/python/plugins/processing',<br>
'/usr/share/qgis/python', u'/root/.qgis2/python',<br>
u'/root/.qgis2/python/plugins', '/usr/share/qgis/python/plugins',<br>
'/usr/lib/python2.7/site-packages/openerp-7.0_20130716_231027-py2.7.egg',<br>
'/usr/lib/python2.7/site-packages/Werkzeug-0.10_devdev_20130717-py2.7.egg',<br>
'/usr/lib/python2.7/site-packages/vatnumber-1.1-py2.7.egg',<br>
'/usr/lib/python2.7/site-packages/unittest2-0.5.1-py2.7.egg',<br>
'/usr/lib/python2.7/site-packages/PyWebDAV-0.9.8-py2.7.egg',<br>
'/usr/lib/python2.7/site-packages/python_ldap-2.4.13-py2.7-linux-i686.egg',<br>
'/usr/lib/python2.7/site-packages/python_dateutil-1.5-py2.7.egg',<br>
'/usr/lib/python27.zip', '/usr/lib/python2.7',<br>
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk',<br>
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',<br>
'/usr/lib/python2.7/site-packages',<br>
'/usr/lib/python2.7/site-packages/PIL',<br>
'/usr/lib/python2.7/site-packages/gtk-2.0',<br>
'/usr/lib/python2.7/site-packages',<br>
'/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode',<br>
'/usr/share/qgis/python/plugins/fTools/tools']<br>
<br>
<br>
This happened after I upgraded from Slackware 14.0 to 14.1, I<br>
recompiled Qgis and its dependencies again just in case but still<br>
gives me the same error<br>
<br>
I appreciate any help you can provide<br>
<br>
Thank you.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Qgis-Python-Error-when-using-openlayers-plugin-and-some-others-tp5138648.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/Qgis-Python-Error-when-using-openlayers-plugin-and-some-others-tp5138648.html</a><br>


Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div><br></div>