#1 Thu 04 May 2017 05:06
- GoAllan
- Juste Inscrit !
- Date d'inscription: 3 May 2017
- Messages: 9
QGIS / Python: Débutant - Code Python
Bonjour à tous,
Je suis néophyte sur QGIS et encore plus débutant dans la lecture de code ou le développement de plug-in etc... En sommes je gère la base en informatique et c'est tout.
Durant ma formation j'ai due utiliser QGIS, cependant je me vois confronter à une "erreur dans l’exécution dans le code Python" que l'on peut voir ci-contre :
Code:
Une erreur est apparue lors de l'exécution du code Python :
Exception: unknown
Traceback (most recent call last):
File "C:PROGRA~2QGISLY~1appsqgispythonpluginsfToolstoolsdoSpatialJoin.py", line 113, in accept
res = self.compute(inName, joinName, outPath, summary, sumList, keep, self.progressBar)
File "C:PROGRA~2QGISLY~1appsqgispythonpluginsfToolstoolsdoSpatialJoin.py", line 223, in compute
if inGeom.intersects(inFeatB.geometry()):
Exception: unknown
Version de Python : 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
Version de QGIS : 2.12.0-Lyon Lyon, cd9d645
Chemin Python :
C:/PROGRA~2/QGISLY~1/apps/qgis/./python/pluginsprocessing
C:/PROGRA~2/QGISLY~1/apps/qgis/./python
C:/Users/Camille/.qgis2/python
C:/Users/Camille/.qgis2/python/plugins
C:/PROGRA~2/QGISLY~1/apps/qgis/./python/plugins
C:PROGRA~2QGISLY~1binpython27.zip
C:PROGRA~2QGISLY~1appsPython27DLLs
C:PROGRA~2QGISLY~1appsPython27lib
C:PROGRA~2QGISLY~1appsPython27libplat-win
C:PROGRA~2QGISLY~1appsPython27liblib-tk
C:PROGRA~2QGISLY~1bin
C:PROGRA~2QGISLY~1appsPython27
C:PROGRA~2QGISLY~1appsPython27libsite-packages
C:PROGRA~2QGISLY~1appsPython27libsite-packagesPIL
C:PROGRA~2QGISLY~1appsPython27libsite-packagesjinja2-2.7.2-py2.7.egg
C:PROGRA~2QGISLY~1appsPython27libsite-packagesmarkupsafe-0.23-py2.7-win32.egg
C:PROGRA~2QGISLY~1appsPython27libsite-packagespython_dateutil-2.2-py2.7.egg
C:PROGRA~2QGISLY~1appsPython27libsite-packagespytz-2014.2-py2.7.egg
C:PROGRA~2QGISLY~1appsPython27libsite-packageswin32
C:PROGRA~2QGISLY~1appsPython27libsite-packageswin32lib
C:PROGRA~2QGISLY~1appsPython27libsite-packagesPythonwin
C:PROGRA~2QGISLY~1appsPython27libsite-packagesShapely-1.2.18-py2.7-win32.egg
C:PROGRA~2QGISLY~1appsPython27libsite-packagessix-1.6.1-py2.7.egg
C:PROGRA~2QGISLY~1appsPython27libsite-packageswx-2.8-msw-unicode
C:/Users/Camille/.qgis2//python
C:PROGRA~2QGISLY~1appsqgispythonpluginsfToolstools
C:/Users/Camille/Documents/Allan/Stage TRECOBATAuriez-vous des solutions à me conseiller ?
Je précise n'avoir pour le moment rien désinstallé, ni télécharger d'extension etc..
Merci d'avance !!
Hors ligne
#2 Thu 04 May 2017 12:13
- GoAllan
- Juste Inscrit !
- Date d'inscription: 3 May 2017
- Messages: 9
Re: QGIS / Python: Débutant - Code Python
Je me permet un petit Up ...
Hors ligne
#3 Fri 05 May 2017 16:47
- JD
- Membre
- Date d'inscription: 8 Aug 2013
- Messages: 726
Re: QGIS / Python: Débutant - Code Python
Bonjour,
Essayez de désactiver le plugin fwtools.
Par ailler, mettez à jour votre version de qgis en 2.14 ou 2.18.
Cordialement,
Hors ligne


