Bug report #8206

fTools "join attributes by location" does not work

Added by Minoru Akagi about 6 years ago. Updated over 2 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Processing/QGIS
Affected QGIS version:master Regression?:
Operating System: Easy fix?:
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:17022

Description

When I tried to total the attribute values of points in each polygon with "join attributes by location" tool, I got the following error.

An error has occured while executing Python code:

Traceback (most recent call last):
  File "C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools\\doSpatialJoin.py", line 99, in accept
    res = self.compute(inName, joinName, outPath, summary, sumList, keep, self.progressBar)
  File "C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools\\doSpatialJoin.py", line 145, in compute
    fieldList1.extend(fieldList)
TypeError: QgsFields.extend(QgsFields): argument 1 has unexpected type 'list'

Python version:
2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]

QGIS version:
1.9.0-Master Master, 1ad59b7

Associated revisions

Revision 7d75fcc3
Added by Minoru Akagi about 6 years ago

fTools: fix MergeShapes and SpatialJoin
fix #7823
fix #7952
fix #8206

History

#1 Updated by Minoru Akagi about 6 years ago

  • Status changed from Open to Closed

#2 Updated by Giovanni Manghi over 2 years ago

The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

Also available in: Atom PDF