Processing refactor fields: python error after trying to add a new field #20373
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Processing
Relating to QGIS Processing framework or individual Processing algorithms
Author Name: Filipe Dias (@fsdias)
Original Redmine Issue: 12183
Affected QGIS version: 2.6.0
Redmine category:processing/qgis
Assignee: Victor Olaya
Click "add a new field", set its "precision", "length" and "type"
Select this field and click "delete selected field"
Click "Add a new field" again
Double on "name" and this Python error appears:
An error has occured while executing Python code:
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/algs/qgis/ui/FieldsMappingPanel.py", line 137, in data
return self.fieldTypes[value]
KeyError: None
Python version:
2.7.6 (default, Mar 22 2014, 23:03:41)
[GCC 4.8.2]
QGIS version:
2.7.0-Master Master, exported
Python path: ['/usr/share/qgis/python/plugins/processing', '/home/fd/.qgis2/python/plugins/processinglwgeomprovider', '/home/fd/.qgis2/python/plugins/LecoS', '/usr/share/qgis/python', u'/home/fd/.qgis2/python', u'/home/fd/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', u'/home/fd/.qgis2//python', '/usr/share/qgis/python/plugins/fTools/tools', '/home/fd/.qgis2/python/plugins/MetaSearch/ext-libs']
The text was updated successfully, but these errors were encountered: