[Qgis-user] error postgis manager

Dario darioqn at yahoo.com.br
Fri Oct 22 09:59:27 PDT 2010


After the actualization , the plugin postgis manager have an error:

Um erro ocorreu enquanto executava o seguinte código Python:

Traceback (most recent call last):
  File "C:\Documents and 
Settings\Dgalvao/.qgis/python/plugins\postgis_manager\ManagerWindow.py", line 
113, in dbConnectInit
    self.dbConnect(selected)
  File "C:\Documents and 
Settings\Dgalvao/.qgis/python/plugins\postgis_manager\ManagerWindow.py", line 
165, in dbConnect
    self.refreshTable()
  File "C:\Documents and 
Settings\Dgalvao/.qgis/python/plugins\postgis_manager\ManagerWindow.py", line 
244, in refreshTable
    model.loadFromDb(self.db)
  File "C:\Documents and 
Settings\Dgalvao/.qgis/python/plugins\postgis_manager\DatabaseModel.py", line 
177, in loadFromDb
    self.tree.constructTreeFromDb(self.db)
  File "C:\Documents and 
Settings\Dgalvao/.qgis/python/plugins\postgis_manager\DatabaseModel.py", line 
77, in constructTreeFromDb
    list_tables = db.list_geotables()
  File "C:\Documents and 
Settings\Dgalvao/.qgis/python/plugins\postgis_manager\postgis_utils.py", line 
256, in list_geotables
    items[i] = geo_item
IndexError: list assignment index out of range

Versão do Python:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]


Versão do QGIS
1.5.0-Tethys Tethys, 13923M

Caminho para o Python: ['C:\\Documents and 
Settings\\Dgalvao\\.qgis\\python\\plugins\\GeoCoding', 'C:\\Documents and 
Settings\\Dgalvao\\.qgis\\python\\plugins\\elevation', 
'C:/OSGeo4W/apps/qgis/./python', 'C:\\Documents and 
Settings\\Dgalvao/.qgis/python', 'C:\\Documents and 
Settings\\Dgalvao/.qgis/python/plugins', 
'C:/OSGeo4W/apps/qgis/./python/plugins', 'C:\\OSGeo4W\\apps\\gdal-16\\pymod', 
'C:\\Documents and Settings\\Dgalvao\\Desktop', 
'C:\\OSGeo4W\\bin\\python25.zip', 'C:\\OSGeo4W\\apps\\Python25\\DLLs', 
'C:\\OSGeo4W\\apps\\Python25\\lib', 
'C:\\OSGeo4W\\apps\\Python25\\lib\\plat-win', 
'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk', 'C:\\OSGeo4W\\apps\\qgis\\bin', 
'C:\\OSGeo4W\\apps\\Python25', 
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages', 
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32', 
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32\\lib', 
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\Pythonwin', 
'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode', 
u'C:/Documents and Settings/Dgalvao/.qgis//python/plugins', 
'C:\\OSGeo4W\\apps\\qgis\\python\\plugins\\fTools\\tools', 'C:\\Documents and 
Settings\\Dgalvao\\.qgis\\python\\plugins\\cadtools\\tools', 
'/usr/share/qgis/python', 'C:/Documents and Settings/Dgalvao/Desktop']



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20101022/5e4fc96b/attachment.html>


More information about the Qgis-user mailing list