A QGIS plugin which helps users to import the french land registry ('cadastre') data into a database. It is meant to ease the use of the data in QGIS by providing search tools and appropriate layer symbology.
Lorsque je cherche à importer des fichier au format EDIGEO, après m'avoir avertit qu'il manque les fichiers MAJIC et m'avoir demandé confirmation d'importer tout de même les feuilles, le plug in plante.
Reproduire le bug
Ouvrir la fenêtre...
Lancer l'import...
Log
IndexError: list index out of range
Traceback (most recent call last):
File "/Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/cadastre/dialogs/import_dialog.py", line 323, in processImport
qi.importMajic()
File "/Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/cadastre/cadastre_import.py", line 415, in importMajic
item['method']()
File "/Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/cadastre/cadastre_import.py", line 527, in import_majic_into_database
f_dep = list(dep_dirs.keys())[0][0:2]
IndexError: list index out of range
Version de Python : 3.9.5 (default, Sep 10 2021, 16:18:19) [Clang 12.0.5 (clang-1205.0.22.11)]
Version de QGIS : 3.28.14-Firenze Firenze, b09131c5125
Description du bug
Lorsque je cherche à importer des fichier au format EDIGEO, après m'avoir avertit qu'il manque les fichiers MAJIC et m'avoir demandé confirmation d'importer tout de même les feuilles, le plug in plante.
Reproduire le bug
Log
IndexError: list index out of range Traceback (most recent call last): File "/Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/cadastre/dialogs/import_dialog.py", line 323, in processImport qi.importMajic() File "/Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/cadastre/cadastre_import.py", line 415, in importMajic item['method']() File "/Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/cadastre/cadastre_import.py", line 527, in import_majic_into_database f_dep = list(dep_dirs.keys())[0][0:2] IndexError: list index out of range
Version de Python : 3.9.5 (default, Sep 10 2021, 16:18:19) [Clang 12.0.5 (clang-1205.0.22.11)] Version de QGIS : 3.28.14-Firenze Firenze, b09131c5125
Chemin Python : /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/Cadastral_Divisions-main /Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins /Applications/QGIS-LTR.app/Contents/MacOS/../Resources/python/plugins /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/numba-0.50.1-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/Fiona-1.8.13.post1-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/statsmodels-0.11.1-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/geopandas-0.8.1-py3.9.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/matplotlib-3.3.0-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9 /Applications/QGIS-LTR.app/Contents/MacOS/lib/python39.zip /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/Pillow-7.2.0-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/rasterio-1.1.5-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/GDAL-3.3.2-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/netCDF4-1.5.4-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/Rtree-0.9.7-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/lib-dynload /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/pyproj-3.2.0-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/numpy-1.20.1-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/scipy-1.5.1-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/pandas-1.3.3-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/cftime-1.2.1-py3.9-macosx-10.13.0-x86_64.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/patsy-0.5.1-py3.9.egg /Applications/QGIS-LTR.app/Contents/MacOS/lib/python3.9/site-packages/opencv_contrib_python-4.3.0.36-py3.9-macosx-10.13.0-x86_64.egg /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/DigitizingTools/tools /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/DigitizingTools /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2streetview /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2streetview/res . /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/joinmultiplelines /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SwapVectorDirection /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis_resource_sharing /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/qgis_resource_sharing/ext_libs /Users/samuel/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/shapetools/ext-libs
Environnement