I have installed QGIS 2.4 with the stand alone installer and the OSGeo4W too on three different computers. Two have Win7 64 and one vista 64. It seems that the OpenLayers plugin does not work any more. What I did was the following:

1) Open a GPX file with GPS tools

1.1) Once I converted the GPX to .shp and declare that I wanted the data in EPSG:4326

2) Tried to use OpenLayers plugin either with the GPX file or the .shp (in a new project)

This is what I get:

Python Warning

warning:C:/Users/Mapoteca/.qgis2/python/plugins\openlayers_plugin\openlayers_layer.py:146: DeprecationWarning: QgsMapCanvas.mapRenderer() is deprecated

if rendererContext.painter().device().logicalDpiX() != int(self.iface.mapCanvas().mapRenderer().outputDpi()):

traceback:  File "C:/Users/Mapoteca/.qgis2/python/plugins\openlayers_plugin\openlayers_layer.py", line 109, in draw

Python Error (same message on another computer)

An error has occurred while executing Python code:

Traceback (most recent call last):
File "C:/Users/Mapo/.qgis2/python/plugins\openlayers_plugin\openlayers_layer.py",
line 109, in draw
File "C:/Users/Mapo/.qgis2/python/plugins\openlayers_plugin\openlayers_layer.py", line 158, in render
for res in self.resolutions():
TypeError: 'NoneType' object is not iterable`

Python version: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

QGIS version: 2.4.0-Chugiak Chugiak, 8fdd08a

Moreover I uninstalled the OpenLayers Plugin, since I wanted to reinstall it, but it is no longer on the list.

My question is if the plugin is not compatible with QGIS new version or this behaviour is just happening on my machines.

I have a 2.3 version and it shows the same symptoms.

closed as off-topic by underdark Jul 11 '14 at 18:24

  • This question does not appear to be about geographic information systems (GIS) within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • I have the same errors and error messages too. I've also just installed QGIS 2.4 running Windows 7. Installed using the OSGeo4W (64 bit) installer. – blackthorn Jun 30 '14 at 14:44
  • 12
    Don't be in a hurry and wait: look at QGIS user list: OpenLayers plugin QGIS 2.4 – gene Jun 30 '14 at 15:18
  • 1
    @gene: I think this should qualify as an answer. – AndreJ Jun 30 '14 at 15:22
  • I also think that gene´s comments qualify as an answer. Following the link it clarifies the issues. – Gerardo Jimenez Jun 30 '14 at 16:07
  • 1
    The update of the plugin was delayed. The issue should be fixed now. – underdark Jul 11 '14 at 18:24