0

I get this error when pulling a map from the OpenLayers Plugin. See Below.

An error has occurred while executing Python code:

AttributeError: 'OpenlayersLayer' object has no attribute 'hasGeometryType' Traceback (most recent call last): File "/Users/austinposey/.qgis2/python/plugins/profiletool/apicompat/qgsmaplayer.py", line 10, in isSpatial return self.hasGeometryType() AttributeError: 'OpenlayersLayer' object has no attribute 'hasGeometryType'

Python version: 2.7.6 (default, Sep 9 2014, 15:04:36) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] QGIS version: 2.18.0 Las Palmas, exported

Python Path: /Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing /Applications/QGIS.app/Contents/MacOS/../Resources/python /Users/austinposey/.qgis2/python /Users/austinposey/.qgis2/python/plugins /Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins /Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7 /Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages /Library/Python/2.7/site-packages/numpy-override /Library/Python/2.7/site-packages/matplotlib-override /Library/Frameworks/GDAL.framework/Versions/2.1/Python/2.7/site-packages /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC /Library/Python/2.7/site-packages /Users/austinposey/.qgis2//python

  • If an issue is specific to a plug-in I suggest you log a bug report or report the issue at the repository for the plugin. Just a side note you need to upgrade to QGIS 3 as the new LTR version. There you can use XYZ tiles – kartoza-geek Apr 21 at 19:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.