[QGIS-trac] [Quantum GIS] #3293: QGIS with PostgreSQL

Quantum GIS qgis at qgis.org
Sun Dec 5 06:39:23 EST 2010


#3293: QGIS with PostgreSQL
-------------------------------------------+--------------------------------
   Reporter:  floflo49fb                   |              Owner:  borysiasty   
       Type:  bug                          |             Status:  new          
   Priority:  minor: annoyance             |          Milestone:  Version 1.7.0
  Component:  Python plugins and bindings  |            Version:               
   Keywords:                               |   Platform_version:               
   Platform:  OS X                         |           Must_fix:  No           
Status_info:  0                            |  
-------------------------------------------+--------------------------------
 Une erreur est apparue lors de l'exécution du code python :

 Traceback (most recent call last):
   File
 "/Users/botcarpiste/.qgis/python/plugins/imgshowhide/logic/imgshowhidewidget.py",
 line 139, in __addLayer
     if lyrCatalog.init(lyr):
   File
 "/Users/botcarpiste/.qgis/python/plugins/imgshowhide/logic/lyrcatalogimage.py",
 line 113, in init
     if self.__setLayerCatalog(lyr) == False:
   File
 "/Users/botcarpiste/.qgis/python/plugins/imgshowhide/logic/lyrcatalogimage.py",
 line 88, in __setLayerCatalog
     lstIdPath = self.__getLstIdFieldPath(field_att[0], field_att[1])
   File
 "/Users/botcarpiste/.qgis/python/plugins/imgshowhide/logic/lyrcatalogimage.py",
 line 48, in __getLstIdFieldPath
     if fieldMap[id].typeName() == 'String':
 KeyError: 7

 Version de Python :
 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
 [GCC 4.2.1 (Apple Inc. build 5646)]


 Version de QGIS :
 1.6.0-Copiapo Copiapo, exported

 Chemin vers Python :
 ['/Applications/QGIS.app/Contents/MacOS/../Resources/python',
 '/Users/botcarpiste/.qgis/python',
 '/Users/botcarpiste/.qgis/python/plugins',
 '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
 '/Library/Frameworks/SQLite3.framework/Versions/3/Python',
 '/Library/Python/2.6/site-packages/numpy-override',
 '/Library/Frameworks/GDAL.framework/Versions/1.7/Python/site-packages',
 '/Library/Python/2.6/site-
 packages/rpy2-2.1.9_20101129-py2.6-macosx-10.6-universal.egg',
 '/Library/Python/2.6/site-packages/pyparsing-1.5.5-py2.6.egg',
 '/Library/Python/2.6/site-
 packages/matplotlib-0.91.1-py2.6-macosx-10.6-universal.egg',
 '/Library/Python/2.6/site-packages/OWSLib-0.3.1-py2.6.egg',
 '/Library/Frameworks/cairo.framework/Versions/1/Python',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /plat-darwin',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /plat-mac',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /plat-mac/lib-scriptpackages',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-tk',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-old',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload', '/Library/Python/2.6/site-packages',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
 '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8
 -mac-unicode', '/Users/botcarpiste/.qgis/python/plugins/cadtools/tools',
 '/Users/botcarpiste/.qgis/python/plugins/imgshowhide/logic',
 '/Users/botcarpiste/.qgis/python/plugins/imgshowhide/gui',
 '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools',
 '/Users/botcarpiste/.qgis/python/plugins/cataloginpequicklookorder/logic',
 '/Users/botcarpiste/.qgis/python/plugins/cataloginpequicklookorder/gui',
 '/Users/botcarpiste/.qgis/python/plugins/ziplayers/logic',
 '/Users/botcarpiste/.qgis/python/plugins/ziplayers/gui']

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3293>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list