[QGIS-DE] Python-Fehler

armin.konrad at email.de armin.konrad at email.de
Mi Mai 29 05:19:58 PDT 2024


Guten Tag,

ich habe die QGIS LTR 3.34.6-Prizren (QGIS-Codeversion 623828f5)
installiert. Beim Öffnem kommt die Fehlermeldung:

Kann mir jemand weiterhelfen und erklären, wie ich den Fehler beseitigen
kann? Schon vorab herzlich Dank!

Armin Konrad


Stacktrace: onnte Erweiterung 'vrtbuilderplugin' nicht laden aufgrund
eines Fehlers beim Aufruf der initGui() Methode


      AttributeError: type object 'QgsMapLayerProxyModel' has no
      attribute 'Filters'. Did you mean: 'filters'?

Traceback (most recent call last):   File
"C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py", line 448,
in startPlugin     plugins[packageName].initGui()   File
"C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin\vrtbuilder\vrtbuilderplugin.py",
line 48, in initGui     from vrtbuilder.widgets import VRTBuilderWidget
   File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py",
line 892, in _import     mod = _builtin_import(name, globals, locals,
fromlist, level)          
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File
"C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin\vrtbuilder\widgets.py",
line 28, in     from .externals.qps.maptools import SpatialExtentMapTool
   File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py",
line 892, in _import     mod = _builtin_import(name, globals, locals,
fromlist, level)          
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File
"C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin\vrtbuilder\externals\qps\maptools.py",
line 54, in     from .utils import *   File
"C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py", line 892,
in _import     mod = _builtin_import(name, globals, locals, fromlist,
level)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File
"C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin\vrtbuilder\externals\qps\utils.py",
line 2420, in     class SelectMapLayersDialog(QgsDialog):   File
"C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin\vrtbuilder\externals\qps\utils.py",
line 2421, in SelectMapLayersDialog     class LayerDescription(object):
   File
"C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin\vrtbuilder\externals\qps\utils.py",
line 2423, in LayerDescription     def __init__(self, info: str,
filters: QgsMapLayerProxyModel.Filters, allowEmptyLayer=False):        
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'QgsMapLayerProxyModel' has no attribute
'Filters'. Did you mean: 'filters'?

Python-Version: 3.12.3 (main, Apr 14 2024, 17:21:43) [MSC v.1938 64 bit
(AMD64)] QGIS-Version: 3.34.6-Prizren Prizren, 623828f5


        Python-Pfad:

  * C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\OpenTopography-DEM-Downloader
  * C:/PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python
  * C:/Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python
  * C:/Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
  * C:/PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python/plugins
  * C:\PROGRA~1\QGIS33~1.6\apps\grass\grass83\etc\python
  * C:\Users\armin\Documents
  * C:\Program Files\QGIS 3.34.6\bin\python312.zip
  * C:\PROGRA~1\QGIS33~1.6\apps\Python312\DLLs
  * C:\PROGRA~1\QGIS33~1.6\apps\Python312\Lib
  * C:\Program Files\QGIS 3.34.6\bin
  * C:\PROGRA~1\QGIS33~1.6\apps\Python312
  * C:\PROGRA~1\QGIS33~1.6\apps\Python312\Lib\site-packages
  * C:\PROGRA~1\QGIS33~1.6\apps\Python312\Lib\site-packages\win32
  * C:\PROGRA~1\QGIS33~1.6\apps\Python312\Lib\site-packages\win32\lib
  * C:\PROGRA~1\QGIS33~1.6\apps\Python312\Lib\site-packages\Pythonwin
  * C:/Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python

Python-Fehler:

2024-05-29T13:38:08     CRITICAL Traceback (most recent call last):    
           File
"C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py", line 448,
in startPlugin plugins[packageName].initGui()               File
"C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin\vrtbuilder\vrtbuilderplugin.py",
line 48, in initGui               from vrtbuilder.widgets import
VRTBuilderWidget               File
"C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py", line 892,
in _import               mod = _builtin_import(name, globals, locals,
fromlist, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File
"C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin\vrtbuilder\widgets.py",
line 28, in               from .externals.qps.maptools import
SpatialExtentMapTool               File
"C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py", line 892,
in _import               mod = _builtin_import(name, globals, locals,
fromlist, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File
"C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin\vrtbuilder\externals\qps\maptools.py",
line 54, in               from .utils import *               File
"C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py", line 892,
in _import               mod = _builtin_import(name, globals, locals,
fromlist, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File
"C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin\vrtbuilder\externals\qps\utils.py",
line 2420, in               class SelectMapLayersDialog(QgsDialog):    
           File
"C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin\vrtbuilder\externals\qps\utils.py",
line 2421, in SelectMapLayersDialog               class
LayerDescription(object):               File
"C:\Users/armin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin\vrtbuilder\externals\qps\utils.py",
line 2423, in LayerDescription               def __init__(self, info:
str, filters: QgsMapLayerProxyModel.Filters, allowEmptyLayer=False):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^              AttributeError: type object
'QgsMapLayerProxyModel' has no attribute 'Filters'. Did you mean:
'filters'?

Protokoll:

QGIS-Version



3.34.6-Prizren



QGIS-Codeversion



623828f5 <https://github.com/qgis/QGIS/commit/623828f5>

Qt-Version



5.15.13

Python-Version



3.12.3

GDAL-Version



3.8.5

PROJ-Version



9.4.0

EPSG-Registraturdatenbankversion



v11.004 (2024-02-24)

GEOS-Version



3.12.1-CAPI-1.18.1

SQLite-Version



3.45.1

PDAL-Version



2.6.3

PostgreSQL-Client-Version



16.2

SpatiaLite-Version



5.1.0

QWT-Version



6.2.0

QScintilla2-Version



2.14.1

BS-Version



Windows 11 Version 2009






Aktive Python-Erweiterungen

d3datavis



3.0.6

FreehandRasterGeoreferencer



0.8.3

latlontools



3.6.20

OpenTopography-DEM-Downloader



2.0

QuickOSM



2.2.3

quick_map_services



0.19.34

zoom_level



0.1

db_manager



0.1.20

grassprovider



2.12.99

MetaSearch



0.3.6

processing



2.12.99


-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.osgeo.org/pipermail/qgis-de/attachments/20240529/e1069fae/attachment-0001.htm>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : 2bC76l3HNUO6F2wu.png
Dateityp    : image/png
Dateigröße  : 32487 bytes
Beschreibung: nicht verfügbar
URL         : <http://lists.osgeo.org/pipermail/qgis-de/attachments/20240529/e1069fae/attachment-0001.png>


Mehr Informationen über die Mailingliste QGIS-DE