Bug report #9870

Processing - "List unique values" NameError: global name 'vector' is not defined

Added by Anita Graser about 10 years ago. Updated almost 9 years ago.

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

Description

Just trying to run it:

Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
  File "C:/Users/Anita/.qgis2/python/plugins\\processing\\core\\GeoAlgorithm.py", line 202, in execute
    self.processAlgorithm(progress)
  File "C:/Users/Anita/.qgis2/python/plugins\\processing\\algs\\ftools\\UniqueValues.py", line 67, in processAlgorithm
    values = vector.getUniqueValues(layer, layer.fieldNameIndex(fieldName))
NameError: global name 'vector' is not defined

Associated revisions

Revision c69f2e11
Added by Alexander Bruy about 10 years ago

[processing] fix Unique values tool (fix #9870)

History

#1 Updated by Alexander Bruy about 10 years ago

  • Status changed from Open to Closed

#2 Updated by Giovanni Manghi almost 9 years ago

  • Category changed from 94 to Processing/Core

Also available in: Atom PDF