Hallo zusammen,

ich kann manche Plugins (PostNas Suchfunktion, Simple WCS2)  nicht 
installieren, folgende Fehlermeldungen erscheinen:

Konnte Erweiterung 'PostNAS_Search' nicht laden aufgrund eines Fehlers beim 
Aufruf der classFactory() Methode

TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
  File "C:\PROGRA~1/QGIS34~1.8/apps/qgis-ltr/./python\qgis\utils.py", line 478, 
in _startPlugin
    plugins[packageName] = package.classFactory(iface)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"C:\Users/doettgerma/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\PostNAS_Search\__init__.py",
 line 5, in classFactory
    return PostNAS_Search(iface)
           ^^^^^^^^^^^^^^^^^^^^^
  File 
"C:\Users/doettgerma/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\PostNAS_Search\PostNAS_Search.py",
 line 22, in __init__
    locale = QSettings().value('locale/userLocale')[0:2]
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
TypeError: 'NoneType' object is not subscriptable

Python-Version: 3.12.11 (main, Jun 17 2025, 13:41:12) [MSC v.1943 64 bit 
(AMD64)]
QGIS-Version: 3.40.8-Bratislava Bratislava, efaf8952e0

oder

Konnte Erweiterung 'simplewcs2' 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/QGIS34~1.8/apps/qgis-ltr/./python\qgis\utils.py", line 478, 
in _startPlugin
    plugins[packageName] = package.classFactory(iface)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"C:\Users/doettgerma/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\simplewcs2\__init__.py",
 line 18, in classFactory
    return SimpleWCS(iface)
           ^^^^^^^^^^^^^^^^
  File 
"C:\Users/doettgerma/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\simplewcs2\simplewcs.py",
 line 38, in __init__
    locale = QSettings().value('locale/userLocale')[0:2]
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
TypeError: 'QVariant' object is not subscriptable


Wenn man unter "Einstellungen - Optionen - Erweitert - locale" die Haken bei 
"overrideFlag" und "showGroupSeprarator" setzt oder entfernt und dann QGIS neu 
startet, funktioniert die Installation. Ich konnte keine Einstellung finden, 
die immer funktioniert. Mal geht die eine, mal die andere. Wichtig scheint zu 
sein, dass etwas geändert wird.

Weiß jemand Rat?

Danke + Gruß
Matthias Döttger
Hessisches Landesamt für
Bodenmanagement und Geoinformation


    [cid:[email protected]]


-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : image002.png
Dateityp    : image/png
Dateigröße  : 3699 bytes
Beschreibung: image002.png
URL         : 
<http://lists.fossgis.de/pipermail/fossgis-talk-liste/attachments/20260205/a40e202c/attachment.png>
-- 
....................................................................
FOSSGIS-Konferenz 2026 mit OpenStreetMap-Event in Göttingen!
25.-28. März 2026                 https://www.fossgis-konferenz.de/

FOSSGIS Vereinstermine:
https://fossgis.de/aktivit%C3%A4ten/termine/

FOSSGIS e.V, der Verein zur Förderung von Freier Software aus dem
GIS-Bereich und Freier Geodaten!
https://www.fossgis.de/          https://mastodon.online/@FOSSGISeV
____________________________________________________________________
FOSSGIS-Talk-Liste mailing list
[email protected]
https://lists.fossgis.de/mailman/listinfo/fossgis-talk-liste

Antwort per Email an