[Qgis-user] Openlayers does not work in QGIS 2.4

kmithoefer kmithof at gmail.com
Wed Sep 10 05:19:45 PDT 2014


Dear all,

I use QGIS 2.4 but the openlayers plugin does not work. I have updated
openlayers to version to 1.3.3. but I get the following message when using
it:

An error has occured while executing Python code:


Traceback (most recent call last):
  File
"C:/Users/mithoefer/.qgis2/python/plugins\openlayers_plugin\openlayers_layer.py",
line 134, in pageLoaded
    self.setup_map()
  File
"C:/Users/mithoefer/.qgis2/python/plugins\openlayers_plugin\openlayers_layer.py",
line 184, in setup_map
    olSize = QSize(int(olWidth), int(olHeight))
OverflowError: cannot convert float infinity to integer


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

Python path: ['C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\\processing',
'C:\\Users\\mithoefer\\.qgis2\\python\\plugins\\GeoCoding',
'C:/PROGRA~1/QGISCH~1/apps/qgis/./python',
u'C:/Users/mithoefer/.qgis2/python',
u'C:/Users/mithoefer/.qgis2/python/plugins',
'C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins',
'C:\\PROGRA~1\\QGISCH~1\\bin\\python27.zip',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\DLLs',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\plat-win',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\lib-tk',
'C:\\PROGRA~1\\QGISCH~1\\bin', 'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\PIL',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win-amd64.egg',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\pytz-2012j-py2.7.egg',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\win32',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\win32\\lib',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\Pythonwin',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg',
'C:\\PROGRA~1\\QGISCH~1\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg',
'C:\\Users\\mithoefer\\.qgis2\\python\\plugins\\MetaSearch\\ext-libs',
'C:\\PROGRA~1\\QGISCH~1\\apps\\qgis\\python\\plugins\\fTools\\tools']

Does anyone know how to solve this? I have searched other forums and I am
confused whether openlayers works nor without bugs or not on QGIS 2.4.

Thank you!




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Openlayers-does-not-work-in-QGIS-2-4-tp5161076.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list