<div dir="ltr"><br>Hello,<br><div><br></div><div>I'm getting the error below when I try to add a layer from the OpenLayers plugin.<br><br></div><div>I think this is the same issue as here: <a href="http://lists.osgeo.org/pipermail/qgis-developer/2013-December/029682.html">http://lists.osgeo.org/pipermail/qgis-developer/2013-December/029682.html</a><br>
<br></div><div>I'm using a version of QGIS I compiled myself (33a8b63) on OpenSUSE 12.3 (32-bit). I've not had problems using this previously.<br><br></div><div>The
 error seems to be coming from the mapRenderer function, as I get the 
same if I try to enter "iface.mapCanvas().mapRenderer()" in the Python 
console.<br><br></div><div>I have tried recompiling, but there is no change. Other than this QGIS functions as expected.<br><br></div><div>Josh<br></div><div><br>

<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><p style="margin:0px;text-indent:0px"><span style="color:rgb(255,0,0)">An error has occured while executing Python code:</span><br>
<br>Traceback (most recent call last):<br>  File "/home/snorf/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py", line 50, in addLayer<br>    self.__plugin.addLayer(self)<br>  File "/home/snorf/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py", line 202, in addLayer<br>
    self.__setMapSrsGoogle()<br>  File "/home/snorf/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py", line 253, in __setMapSrsGoogle<br>    mapCanvas.mapRenderer().setProjectionsEnabled(True)<br>TypeError: C++ type 'const QgsMapLayer*' is not supported as  type<br>
<br>Python version:<br>2.7.3 (default, Apr 14 2012, 08:58:41) [GCC]<br><br><br>QGIS version:<br>2.3.0-Master Master, 33a8b63<br><br>Python
 path: ['/home/snorf/.qgis2/python/plugins/processing', 
'/home/snorf/apps/share/qgis/python', u'/home/snorf/.qgis2/python', 
u'/home/snorf/.qgis2/python/plugins', 
'/home/snorf/apps/share/qgis/python/plugins', 
'/usr/lib/python2.7/site-packages/elementtree-1.2.7_20070827_preview-py2.7.egg',
 '/usr/lib/python2.7/site-packages/Sphinx-1.2b3-py2.7.egg', 
'/usr/lib/python2.7/site-packages/Jinja2-2.7.1-py2.7.egg', 
'/usr/lib/python2.7/site-packages/docutils-0.11-py2.7.egg', 
'/usr/lib/python2.7/site-packages/Pygments-1.6-py2.7.egg', 
'/usr/lib/python2.7/site-packages/MarkupSafe-0.18-py2.7-linux-i686.egg',
 '/usr/lib/python2.7/site-packages/sphinx_intl-0.9.3-py2.7.egg', 
'/usr/lib/python2.7/site-packages/polib-1.0.3-py2.7.egg', 
'/usr/lib/python2.7/site-packages/sphinx_bootstrap_theme-0.3.2-py2.7.egg',
 '/usr/lib/python2.7/site-packages/colormath-1.0.8-py2.7.egg', 
'/usr/lib/python2.7/site-packages/webcolors-1.4-py2.7.egg', 
'/usr/lib/python2.7/site-packages/termcolor-1.1.0-py2.7.egg', 
'/home/snorf/apps/share/qgis/python', 
'/home/snorf/apps/share/qgis/python/plugins', '/home/snorf', 
'/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/local/lib/python2.7/site-packages', 
'/usr/lib/python2.7/site-packages/gst-0.10', 
'/usr/lib/python2.7/site-packages/gtk-2.0', 
'/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info', 
'/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode', 
'/home/snorf/apps/share/qgis/python/plugins/fTools/tools', 
'/home/snorf/.qgis2/python/plugins/mmqgis/forms', '~/.qgis/python']</p><br></blockquote></div></div>