[Qgis-user] is the openlayers plugin not working?

M.E.Dodd m.e.dodd at open.ac.uk
Tue May 10 00:50:50 PDT 2011


Noticed openlayers plugin stopped working some time ago but even after reinstalling it still does not work in qgis1.6 or 1.7.  Had used it quite happily with previous versions of qgis and indeed these versions.

An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:/Documents and Settings/med4/.qgis/python/plugins\openlayers\openlayers_plugin.py", line 95, in setVisible
    self.__initGui()
  File "C:/Documents and Settings/med4/.qgis/python/plugins\openlayers\openlayers_plugin.py", line 82, in __initGui
    self.__setDocWidget()
  File "C:/Documents and Settings/med4/.qgis/python/plugins\openlayers\openlayers_plugin.py", line 78, in __setDocWidget
    self.__oloWidget = OpenLayersOverviewWidget(self.__iface, self.__dockwidget, self.__olLayerTypeRegistry)
  File "C:/Documents and Settings/med4/.qgis/python/plugins\openlayers\openlayers_ovwidget.py", line 82, in __init__
    self.__init()
  File "C:/Documents and Settings/med4/.qgis/python/plugins\openlayers\openlayers_ovwidget.py", line 91, in __init
    proxy = getProxy()
  File "C:/Documents and Settings/med4/.qgis/python/plugins\openlayers\tools_network.py", line 34, in getProxy
    elif proxyType in ["4","HttpCachingProxy"] and QT_VERSION >= 0X040400: proxy.setType(QtNetwork.QNetworkProxy.HttpCachingProxy)
NameError: global name 'QT_VERSION' is not defined

Python version:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]


QGIS version:
1.7.0-Trunk Trunk, 15229

Python path: ['C:/OSGeo4W/apps/qgis-dev/./python', 'C:/Documents and Settings/med4/.qgis/python', 'C:/Documents and Settings/med4/.qgis/python/plugins', 'C:/OSGeo4W/apps/qgis-dev/./python/plugins', 'C:\\OSGeo4W\\bin\\python25.zip', 'C:\\OSGeo4W\\apps\\Python25\\DLLs', 'C:\\OSGeo4W\\apps\\Python25\\lib', 'C:\\OSGeo4W\\apps\\Python25\\lib\\plat-win', 'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk', 'C:\\OSGeo4W\\apps\\qgis-dev\\bin', 'C:\\OSGeo4W\\apps\\Python25', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32\\lib', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\Pythonwin', 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\Documents and Settings\\med4\\.qgis\\python\\plugins\\fTools\\tools', 'C:\\Documents and Settings\\med4\\.qgis\\python\\plugins\\mmqgis/forms']


-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110510/597de9bf/attachment.html>


More information about the Qgis-user mailing list