root676 / QNEAT3

QNEAT3 - Qgis Network Analysis Toolbox 3
GNU General Public License v3.0
64 stars 13 forks source link

Crashes QGIS with a RuntimeError #8

Closed kannes closed 5 years ago

kannes commented 5 years ago

With QNEAT3 installed in QGIS master, QGIS will crash completely if I open the Processing settings and close it again by clicking OK.

src/core/qgsmessagelog.cpp: 29: (logMessage) [259ms] 2018-09-29T19:13:53 Python error[1] Traceback (most recent call last):
  File "/home/user/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QNEAT3/Qneat3Provider.py", line 106, in loadAlgorithms
    self.addAlgorithm(alg)
RuntimeError: wrapped C/C++ object of type ShortestPathBetweenPoints has been deleted

QGIS died on signal 11ptrace: Operation not permitted.
No thread selected
No stack.
gdb returned 0
Aborted (core dumped)

According to https://issues.qgis.org/issues/16858 a plugin bug, not QGIS'.

root676 commented 5 years ago

Hi, thanks for the bug report - I already fixed this with the last commit. I am still testing and cleaning up code before releasing the fix to the plugin repository.