Bug report #9558
MMQGIS: spatial join: 'QgsRasterDataProvider' object has no attribute 'fields'
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Python plugins | ||
Affected QGIS version: | 2.0.1 | Regression?: | No |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | invalid |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 18144 |
Description
Hi all.
Getting a bug in MMQGIS when trying to do a spatial join; the following code pops up as soon as I select spatial join. Does anyone know what would cause this? I don't know how python works...
Thanks!
An error has occured while executing Python code: Traceback (most recent call last): File "C:\\Users\\Simon Dedman/.qgis2/python/plugins\\mmqgis\\mmqgis_dialogs.py", line 2119, in set_spatial_operations for index, field in enumerate(join.dataProvider().fields()): AttributeError: 'QgsRasterDataProvider' object has no attribute 'fields' Python version: 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] QGIS version: 2.0.1-Dufour Dufour, ebebdf3 Python path: ['C:/OSGeo4W/apps/qgis/./python/plugins\\\\processing', 'C:/OSGeo4W/apps/qgis/./python', 'C:\\\\Users\\\\Simon Dedman/.qgis2/python', 'C:\\\\Users\\\\Simon Dedman/.qgis2/python/plugins', 'C:/OSGeo4W/apps/qgis/./python/plugins', 'C:\\\\Program Files (x86)\\\\ArcGIS\\\\bin', 'C:\\\\OSGeo4W\\\\apps\\\\mapfish_framework-1.0\\\\site-packages', 'C:\\\\OSGeo4W\\\\bin\\\\python27.zip', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\DLLs', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\plat-win' , 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\lib-tk', 'C:\\\\OSGeo4W\\\\bin', 'C:\\\\OSGeo4W\\\\apps\\\\Python27', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\PIL', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\win32', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\win32\\\\lib', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\Pythonwin', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\Shapely-1.2.18-py2.7-win32.egg', 'C:\\\\OSGeo4W\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\wx-2.8-msw-unicode', 'C:\\\\Users\\\\Simon Dedman\\\\.qgis2\\\\python\\\\plugins\\\\mmqgis/forms', 'C:\\\\OSGeo4W\\\\apps\\\\qgis\\\\python\\\\plugins\\\\fTools\\\\tools', 'C:/Users/Simon Dedman/Dropbox/Galway/Data/Maps']
History
#1 Updated by Jürgen Fischer over 10 years ago
- Resolution set to invalid
- Status changed from Open to Closed
please contact the author of the plugin: http://michaelminn.com/linux/mmqgis/