python error when using the "create grid" tool and outputting to postgis #24935
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: Giovanni Manghi (@gioman)
Original Redmine Issue: 17036
Affected QGIS version: master
Redmine category:processing/qgis
Assignee: Victor Olaya
Traceback (most recent call last): File "/usr/share/qgis/python/plugins/processing/algs/qgis/GridPolygon.py", line 152, in processAlgorithm sink, width, height, originX, originY, hSpacing, vSpacing, hOverlay, vOverlay, feedback) File "/usr/share/qgis/python/plugins/processing/algs/qgis/GridPolygon.py", line 195, in _rectangleGrid sink.addFeature(ft, QgsFeatureSink.FastInsert) AttributeError: 'NoneType' object has no attribute 'addFeature'
seen on master/ubuntu 16.04
is ok if outputting to temp layer or shapefile.
The text was updated successfully, but these errors were encountered: