Bug report #12852
Handle errors in python expressions to avoid crashes
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | - | ||
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 #: | 20945 |
Description
QGIS crashes ungracefully when a python expression script contains an error.
I think there should be a warning but the crashes should be avoided.
Crash log from my OSGeo4W install is here:
https://dl.dropboxusercontent.com/u/42637169/qgis-20150530-140918-3584-680-a9aade2.dmp
Related issues
Associated revisions
[user expression] Fix crash and add a log message when the expression is not valid, fixes #12852
[user expression] Fix crash and add a log message when the expression is not valid, fixes #12852
(cherry picked from commit f7401c9b272f12fd543c36fe8c2e3217dcede791)
History
#1 Updated by Jürgen Fischer over 9 years ago
- Status changed from Open to Closed
Fixed in changeset 96b535b279fe0dba955a64e3e7a1011a92e9c2b3.