[QGIS-DE] Python-Fehler
Benjamin Jakimow
benjamin.jakimow at geo.hu-berlin.de
Mi Mai 29 05:59:47 PDT 2024
Hallo,
am besten das VRT Builder plugin deinstallieren.
Ich komme leider nicht dazu es zu aktualisieren, so dass es mit neueren
QGIS APIs wieder funktioniert.
Viele Grüße,
Benjamin
On 29.05.2024 14:19, Armin Konrad via QGIS-DE wrote:
> 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
>
>
>
>
> _______________________________________________
> QGIS-DE mailing list
> QGIS-DE at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-de
--
Dr. Benjamin Jakimow
Earth Observation Lab | Geography Department | Humboldt-Universität zu
Berlin
e-mail: benjamin.jakimow at geo.hu-berlin.de
web: https://hu-berlin.de/eo-lab
phone: +49 (0) 30 2093 6846
mobile: +49 (0) 157 5656 8477
fax: +49 (0) 30 2093 6848
mail: Unter den Linden 6 | 10099 Berlin | Germany
linkedin: https://www.linkedin.com/in/benjamin-jakimow
matrix: @jakimowb:hu-berlin.de
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : smime.p7s
Dateityp : application/pkcs7-signature
Dateigröße : 4745 bytes
Beschreibung: S/MIME Cryptographic Signature
URL : <http://lists.osgeo.org/pipermail/qgis-de/attachments/20240529/95d399bd/attachment-0001.bin>
Mehr Informationen über die Mailingliste QGIS-DE