Message posté par : rivto51 (tony.rivalin(a)gmail.com)
----------------------------------------
Bonjour,
J'ai le message suivant à l'installation du Plugin Valhalla.
J'ai désinstallé et réinstallé le Plugin mais j'ai toujours le même message.
Une erreur est survenue lors de l'exécution du code Python :
TypeError: unable to convert a C++ 'QVariantList' instance to a Python object
Traceback (most recent call last):
File
"C:Users/HC5383/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsvalhallaprocessingroutingdirections_base.py",
line 56, in initAlgorithm
self.init_base_params(multi_layer=True)
File
"C:Users/HC5383/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsvalhallaprocessingroutingbase_algorithm.py",
line 89, in init_base_params
if not settings.get_providers(RouterType.VALHALLA):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:Users/HC5383/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsvalhallacoresettings.py",
line 113, in get_providers
return self.get(Dialogs.PROVIDERS, router.lower()) or list()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"C:Users/HC5383/AppData/Roaming/QGIS/QGIS3profilesdefault/python/pluginsvalhallacoresettings.py",
line 77, in get
value = self.value(key.value if isinstance(key, Enum) else key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unable to convert a C++ 'QVariantList' instance to a Python object
Version de Python : 3.12.4 (main, Jun 10 2024, 12:48:35) [MSC v.1938 64 bit (AMD64)]
Version de QGIS : 3.38.1-Grenoble Grenoble, 3d4177afc6
Chemin Python :
C:/PROGRA~1/QGIS33~1.1/apps/qgis/./python
C:/Users/HC5383/AppData/Roaming/QGIS/QGIS3profilesdefault/python
C:/Users/HC5383/AppData/Roaming/QGIS/QGIS3profilesdefault/python/plugins
C:/PROGRA~1/QGIS33~1.1/apps/qgis/./python/plugins
C:PROGRA~1QGIS33~1.1appsgrassgrass83etcpython
C:UsersHC5383Documents
C:Program FilesQGIS 3.38.1binpython312.zip
C:PROGRA~1QGIS33~1.1appsPython312DLLs
C:PROGRA~1QGIS33~1.1appsPython312Lib
C:Program FilesQGIS 3.38.1bin
C:PROGRA~1QGIS33~1.1appsPython312
C:PROGRA~1QGIS33~1.1appsPython312Libsite-packages
C:PROGRA~1QGIS33~1.1appsPython312Libsite-packageswin32
C:PROGRA~1QGIS33~1.1appsPython312Libsite-packageswin32lib
C:PROGRA~1QGIS33~1.1appsPython312Libsite-packagesPythonwin
C:/Users/HC5383/AppData/Roaming/QGIS/QGIS3profilesdefault/python
----------------------------------------
Le message est situé
https://georezo.net/forum/viewtopic.php?pid=376237#p376237
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net