Menu item 'When a new' layer is created, or when a layer is loaded that has no CRS
Changing the options, example, from 'Prompt for CRS' to Use project CRS
Then you get this message:
Ein Fehler trat bei der Ausführung von Python-Code auf:
RuntimeError: wrapped C/C++ object of type AttachRasterValuesToLineVertices has been deleted
Traceback (most recent call last):
File "C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThToolBox\ThToolBox_algorithms_provider.py", line 115, in loadAlgorithms
self.addAlgorithm( alg )
RuntimeError: wrapped C/C++ object of type AttachRasterValuesToLineVertices has been deleted
Python-Version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS-Version: 3.16.11-Hannover Hannover, 26cc1c762f
To test, first uninstalled extension ThToolBox, then the same message came up for extension TlugProcessing.
Only when both extensions were uninstalled did the message no longer appear.
Then extension ThToolBox was reinstalled and this message appeared:
Konnte Erweiterung 'ThToolBox' nicht laden aufgrund eines Fehlers beim Aufruf der classFactory() Methode
TypeError: 'QVariant' object is not subscriptable
Traceback (most recent call last):
File "C:/PROGRA~1/QGIS3~1.16/apps/qgis-ltr/./python\qgis\utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThToolBox__init.py", line 38, in classFactory
return ThToolBoxPlugin()
File "C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThToolBox\ThToolBoxPlugin.py", line 48, in init
self.provider = ThToolBoxPluginProvider()
File "C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThToolBox\ThToolBox_algorithms_provider.py", line 61, in init__
locale = QSettings().value('locale/userLocale')[0:2]
TypeError: 'QVariant' object is not subscriptable
Python-Version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS-Version: 3.16.11-Hannover Hannover, 26cc1c762f
I don't know now if this is really a bug in the extension. If I ignore this message, the extension is still displayed among the installed extensions and the tools can also be opened.
I just don't remember if these messages were also displayed when I first installed the extensions.
But maybe it is helpful for you after all.
With best regards, Peter
QGIS-Version: 3.16.11-Hannover Hannover, Standalone Installer
Then you get this message:
Ein Fehler trat bei der Ausführung von Python-Code auf:
RuntimeError: wrapped C/C++ object of type AttachRasterValuesToLineVertices has been deleted Traceback (most recent call last): File "C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThToolBox\ThToolBox_algorithms_provider.py", line 115, in loadAlgorithms self.addAlgorithm( alg ) RuntimeError: wrapped C/C++ object of type AttachRasterValuesToLineVertices has been deleted
Python-Version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] QGIS-Version: 3.16.11-Hannover Hannover, 26cc1c762f
Python-Pfad: C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\TlugProcessing C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThToolBox C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MultiMaps C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MiMiGIS C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lftools C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\geo_sim_processing C:/PROGRA~1/QGIS3~1.16/apps/qgis-ltr/./python C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/PROGRA~1/QGIS3~1.16/apps/qgis-ltr/./python/plugins C:\PROGRA~1\QGIS3~1.16\apps\Python37 C:\PROGRA~1\QGIS3~1.16\apps\Python37\Scripts C:\Program Files\QGIS 3.16\bin\python37.zip C:\PROGRA~1\QGIS3~1.16\apps\Python37\DLLs C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib C:\Program Files\QGIS 3.16\bin C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\win32 C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\win32\lib C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\Pythonwin C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataDrivenInputMask C:\Users\"USER"\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web C:\Users\"USER"\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins . C:\Users\"USER"\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\QuickMultiAttributeEdit3/forms C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3/profiles/default/python/plugins/DataDrivenInputMask
To test, first uninstalled extension ThToolBox, then the same message came up for extension TlugProcessing. Only when both extensions were uninstalled did the message no longer appear.
Then extension ThToolBox was reinstalled and this message appeared:
Konnte Erweiterung 'ThToolBox' nicht laden aufgrund eines Fehlers beim Aufruf der classFactory() Methode
TypeError: 'QVariant' object is not subscriptable Traceback (most recent call last): File "C:/PROGRA~1/QGIS3~1.16/apps/qgis-ltr/./python\qgis\utils.py", line 334, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThToolBox__init.py", line 38, in classFactory return ThToolBoxPlugin() File "C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThToolBox\ThToolBoxPlugin.py", line 48, in init self.provider = ThToolBoxPluginProvider() File "C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThToolBox\ThToolBox_algorithms_provider.py", line 61, in init__ locale = QSettings().value('locale/userLocale')[0:2] TypeError: 'QVariant' object is not subscriptable
Python-Version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] QGIS-Version: 3.16.11-Hannover Hannover, 26cc1c762f
Python-Pfad: C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MultiMaps C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MiMiGIS C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\lftools C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\geo_sim_processing C:/PROGRA~1/QGIS3~1.16/apps/qgis-ltr/./python C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/PROGRA~1/QGIS3~1.16/apps/qgis-ltr/./python/plugins C:\PROGRA~1\QGIS3~1.16\apps\Python37 C:\PROGRA~1\QGIS3~1.16\apps\Python37\Scripts C:\Program Files\QGIS 3.16\bin\python37.zip C:\PROGRA~1\QGIS3~1.16\apps\Python37\DLLs C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib C:\Program Files\QGIS 3.16\bin C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\win32 C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\win32\lib C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\site-packages\Pythonwin C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataDrivenInputMask C:\Users\"USER"\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web C:\Users\"USER"\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins . C:\Users\"USER"\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\QuickMultiAttributeEdit3/forms C:/Users/"USER"/AppData/Roaming/QGIS/QGIS3/profiles/default/python/plugins/DataDrivenInputMask
I don't know now if this is really a bug in the extension. If I ignore this message, the extension is still displayed among the installed extensions and the tools can also be opened. I just don't remember if these messages were also displayed when I first installed the extensions. But maybe it is helpful for you after all. With best regards, Peter