Bug report #20261
python script crashes QGIS
|Affected QGIS version:||2.18.17||Regression?:||No|
|Operating System:||Windows10||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||28082|
I have written a python script which has two input vector layers (one point-layer and one line-layer). The outpout is another line-layer. But when I try too set the geometry for the new edge, the python script stopps and I get the error "minidump written to C".
Here is my python script code:
With the help of printf-Debugging, I have figured out that the crash is caused by this line:
I have already deleted the .qgis2-folder and started qgis 2.18 anew. But without success.