[Qgis-user] Python error

Muna Mirghani munamirghani at gmail.com
Tue Jan 28 18:01:39 PST 2020


Hi,
I need help with QGIS 18.21
I receive the following message whenever I use a plugin:
 "An error has occurred while executing Python code: See message log
(Python Error) for more details"
Below are details when I open the error message:

1 Traceback (most recent call last):

File
"C:/Users/mmirg/.qgis2/python/plugins\profiletool\apicompat\qgsmaplayer.py",
line 10, in isSpatial

return self.hasGeometryType()

AttributeError: 'QgsRasterLayer' object has no attribute 'hasGeometryType'

Please advice how to fix this problem.
with Thanks,
Mirg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200128/59f36d6f/attachment.html>


More information about the Qgis-user mailing list