Message posté par : Romain LM
----------------------------------------
Bonjour,
Désolé pour le déterrage de topic mais je rencontre le même problème que Lea67 avec une
erreur python du type "Too many values to unpack".
Comment résoudre ce problème ? Je suis un peu perdu...
Merci d'avance !
-----------------
Citation :
Une erreur est apparue lors de l'exécution du code Python :
Traceback (most recent call last):
File "/Users/Mini/.qgis2/python/plugins/cadastre/cadastre_dialogs.py", line
1285, in onProcessLoadingClicked
self.ql.processLoading()
File "/Users/Mini/.qgis2/python/plugins/cadastre/cadastre_loading.py", line
240, in processLoading
uniqueField = table.getValidQGisUniqueFields(True)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_plugins/plugin.py",
line 592, in getValidQGisUniqueFields
indexes = self.indexes()
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_plugins/plugin.py",
line 700, in indexes
indexes = self.database().connector.getTableIndexes( (self.schemaName(), self.name) )
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_plugins/spatialite/connector.py",
line 305, in getTableIndexes
num, name, unique = idx
ValueError: too many values to unpack
Version de Python :
2.7.2 (default, Oct 11 2012, 20:14:37)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]
Version de QGIS :
2.8.3-Wien Wien,
Chemin vers Python :
['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python',
u'/Users/Mini/.qgis2/python', u'/Users/Mini/.qgis2/python/plugins',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7',
'/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages',
'/Library/Python/2.7/site-packages/numpy-override',
'/Library/Python/2.7/site-packages/matplotlib-override',
'/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2
.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
'/Library/Python/2.7/site-packages', u'/Users/Mini/.qgis2//python',
'/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools',
'/Users/Mini/.qgis2/python/plugins/cadastre/forms']
-----------------
----------------------------------------
Le message est situé
https://georezo.net/forum/viewtopic.php?pid=324162#p324162
Pour y répondre : qgis_fr(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net