Bug report #7335

sum line lengths broken in master

Added by Giovanni Manghi over 11 years ago. Updated about 7 years ago.

Affected QGIS version:master Regression?:
Operating System: Easy fix?:
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:No Copied to github as #:16320


Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/fTools/tools/doSumLines.py", line 79, in accept
self.compute(inPoly, inLns, inField, outPath, self.progressBar)
File "/usr/share/qgis/python/plugins/fTools/tools/doSumLines.py", line 106, in compute
index = polyProvider.fieldCount()
AttributeError: 'QgsVectorDataProvider' object has no attribute 'fieldCount'

probably any other tool in the vector menu is broken.

Associated revisions

Revision a57aa0c9
Added by Alexander Bruy over 11 years ago

fix Sum line length tool after API changes (fix #7335)


#1 Updated by Alexander Bruy over 11 years ago

  • Status changed from Open to Closed

#2 Updated by Alexander Bruy over 11 years ago

  • Resolution set to fixed

#3 Updated by Giovanni Manghi about 7 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