banniere

Le portail francophone de la géomatique


Toujours pas inscrit ? Mot de passe oublié ?
Nom d'utilisateur    Mot de passe              Toujours pas inscrit ?   Mot de passe oublié ?

#1 Wed 21 January 2026 10:35

rivto51
Juste Inscrit !
Date d'inscription: 21 Jan 2026
Messages: 1

QGIS: TypeError: unable to convert a C++ 'QVariantList' instance to...

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

Hors ligne

 

Pied de page des forums

Copyright Association GeoRezo