Bug report #19944

Updated by Jürgen Fischer about 6 years ago

When I switch from default UI theme to night mapping, I get this error message:

<pre>
&gt; An error has occurred while executing Python code:


&gt;
&gt;
RuntimeError: wrapped C/C++ object of type ClusterPointsAlgorithm has been deleted
&gt; Traceback (most recent call last):
&gt; File "C:/Users/CRRGIS/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ClusterPoints\ClusterPoints.py", line 92, in loadAlgorithms
&gt; self.addAlgorithm( alg )
&gt; RuntimeError: wrapped C/C++ object of type ClusterPointsAlgorithm has been deleted


&gt;
&gt;
&gt;
Python version: 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)]
&gt; QGIS version: 3.2.3-Bonn Bonn, 9b176802e5


&gt;
&gt;
Python Path:
&gt; C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ClusterPoints
&gt; C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python
&gt; C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python
&gt; C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
&gt; C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/plugins
&gt; C:\Program Files\QGIS 3.2\bin\python36.zip
&gt; C:\PROGRA~1\QGIS3~1.2\apps\Python36\DLLs
&gt; C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib
&gt; C:\Program Files\QGIS 3.2\bin
&gt; C:\PROGRA~1\QGIS3~1.2\apps\Python36
&gt; C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\site-packages
&gt; C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\site-packages\win32
&gt; C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\site-packages\win32\lib
&gt; C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\site-packages\Pythonwin
&gt; C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python
&gt; C:\Users\...\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools
&gt; C:\Users\...\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms
</pre>


After I close the error message, QGIS stays in default UI theme, and no further issues occur. QGIS does not crash, so this is different from #18669. [Bug Report #18669: Crashed after changing the UI theme](https://issues.qgis.org/issues/18669).

I have no idea why the error message mentions the ClusterPointsAlgorithm. This is a blank project, so there aren't any layers using the clustered point style.

I had the same issue with QGIS 3.2.0.

Back