Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message when switching UI Theme to night mapping #27766

Closed
qgib opened this issue Sep 25, 2018 · 2 comments
Closed

Error message when switching UI Theme to night mapping #27766

qgib opened this issue Sep 25, 2018 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience

Comments

@qgib
Copy link
Contributor

qgib commented Sep 25, 2018

Author Name: Carolyn Krause (Carolyn Krause)
Original Redmine Issue: 19944
Affected QGIS version: 3.2.3
Redmine category:gui


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

An error has occurred while executing Python code: 
 
RuntimeError: wrapped C/C++ object of type ClusterPointsAlgorithm has been deleted 
Traceback (most recent call last):
File "C:/Users/CRRGIS/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ClusterPoints\ClusterPoints.py", line 92, in loadAlgorithms
self.addAlgorithm( alg )
RuntimeError: wrapped C/C++ object of type ClusterPointsAlgorithm has been deleted
 
Python version: 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] 
QGIS version: 3.2.3-Bonn Bonn, 9b176802e5 
 
Python Path:
C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ClusterPoints
C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python
C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/plugins
C:\Program Files\QGIS 3.2\bin\python36.zip
C:\PROGRA~1\QGIS3~1.2\apps\Python36\DLLs
C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib
C:\Program Files\QGIS 3.2\bin
C:\PROGRA~1\QGIS3~1.2\apps\Python36
C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\site-packages
C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\site-packages\win32
C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\site-packages\Pythonwin
C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users\...\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools
C:\Users\...\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms

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 #26557.

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.

@qgib
Copy link
Contributor Author

qgib commented Sep 25, 2018

Author Name: Nyall Dawson (@nyalldawson)


That's a bug in the cluster points plugin, not qgis.


  • resolution was changed from to invalid
  • status_id was changed from Open to Rejected

@qgib qgib closed this as completed Sep 25, 2018
@qgib
Copy link
Contributor Author

qgib commented Sep 26, 2018

Author Name: Jürgen Fischer (@jef-n)


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

An error has occurred while executing Python code:

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

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

Python Path:
C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ClusterPoints
C:/PROGRA1/QGIS31.2/apps/qgis/./python
C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA1/QGIS31.2/apps/qgis/./python/plugins
C:\Program Files\QGIS 3.2\bin\python36.zip
C:\PROGRA1\QGIS31.2\apps\Python36\DLLs
C:\PROGRA1\QGIS31.2\apps\Python36\lib
C:\Program Files\QGIS 3.2\bin
C:\PROGRA1\QGIS31.2\apps\Python36
C:\PROGRA1\QGIS31.2\apps\Python36\lib\site-packages
C:\PROGRA1\QGIS31.2\apps\Python36\lib\site-packages\win32
C:\PROGRA1\QGIS31.2\apps\Python36\lib\site-packages\win32\lib
C:\PROGRA1\QGIS31.2\apps\Python36\lib\site-packages\Pythonwin
C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users...\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools
C:\Users...\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms

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 Bug Report #26557: Crashed after changing the UI theme.

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. to When I switch from default UI theme to night mapping, I get this error message:

An error has occurred while executing Python code: 
 
RuntimeError: wrapped C/C++ object of type ClusterPointsAlgorithm has been deleted 
Traceback (most recent call last):
File "C:/Users/CRRGIS/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ClusterPoints\ClusterPoints.py", line 92, in loadAlgorithms
self.addAlgorithm( alg )
RuntimeError: wrapped C/C++ object of type ClusterPointsAlgorithm has been deleted
 
Python version: 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] 
QGIS version: 3.2.3-Bonn Bonn, 9b176802e5 
 
Python Path:
C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ClusterPoints
C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python
C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/plugins
C:\Program Files\QGIS 3.2\bin\python36.zip
C:\PROGRA~1\QGIS3~1.2\apps\Python36\DLLs
C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib
C:\Program Files\QGIS 3.2\bin
C:\PROGRA~1\QGIS3~1.2\apps\Python36
C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\site-packages
C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\site-packages\win32
C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\site-packages\win32\lib
C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\site-packages\Pythonwin
C:/Users/.../AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users\...\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools
C:\Users\...\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms

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 #26557.

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.

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

No branches or pull requests

1 participant