Bug report #21287

Cannot edit vector features - Unknown Exception Error

Added by David Jordan over 2 years ago. Updated over 2 years ago.

Category:Map Canvas
Affected QGIS version:3.4.4 Regression?:No
Operating System:Windows 10 Build 177763 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29105


I cannot edit any vector features in QGIS 3.4.4.

To recreate - load a Shapefile of GeoPackage or create a memory layer in QGIS (point, line or ploy). Toggle Editing, select the Vertex Tool, move cursor over the map canvas.

As soon as my mouse cursor moves over the map canvas a pop-up appears saying "Exception - Unknown Exception". The pop-up cannot be dismissed, it can only be dismissed if I move my mouse cursor outside the map canvas. Also, turning off Render (lower right) does not remedy the problem. As a result, I cannot edit any vector features in QGIS. The issue also occurs with the Add Feature tool.

QGIS Bug.png (141 KB) David Jordan, 2019-02-15 02:49 PM

Associated revisions

Revision 091eeb2c
Added by Alessandro Pasotti over 2 years ago

Rule based renderer: check for scale in rulesForFeature

... when context is not nullptr, also don't crash if it is

With tests

Fixes #21287


#1 Updated by David Jordan over 2 years ago

  • Status changed from Open to Closed

I just updated to Gdal 2.4.0-7 and the update fixed the error. This is not the first time where I have written a bug report or asked for help and an update fixed the issue moments after submitting my post.

Also available in: Atom PDF