Bug report #15897

Processing/QGIS LTR: error when removing temp layers or when closing project with temp layers

Added by Giovanni Manghi about 8 years ago. Updated about 8 years ago.

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

Description

Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/gui/ParametersPanel.py", line 433, in updateDependentFields
self.alg.getParameterFromName(child).datatype))
File "/usr/share/qgis/python/plugins/processing/gui/ParametersPanel.py", line 444, in getFields
for field in layer.pendingFields():
AttributeError: 'NoneType' object has no attribute 'pendingFields'

is pretty easy to replicate (I had it on both Linux and Windows).

Does not seems to happen on 2.18

History

#1 Updated by Giovanni Manghi about 8 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

After wiping the configs (I had already no plugins installed) this does not show anymore (previously I had noticed it was only happening after running gdal or ogr tools). Will reopen if I find a clear issue.

Also available in: Atom PDF