[Qgis-user] Re: [Qgis-developer] DB Manager release

Christian Röttger chris.roettger at web.de
Fri Sep 16 04:25:02 PDT 2011


hello,

i got an error when connecting to the database and forgot password. 
after 3 attempts it crashes and everytime i try refresh it breaks.

but seems to be very cool,
greets christian

below the error log

Fehler bei der Ausführung von Python-Code:

Traceback (most recent call last):
   File "/home/chris/.qgis/python/plugins/db_manager/db_manager.py", 
line 72, in itemChanged
     self.refreshTabs()
   File "/home/chris/.qgis/python/plugins/db_manager/db_manager.py", 
line 109, in refreshTabs
     self.info.showInfo( item, True ) # force refresh
   File "/home/chris/.qgis/python/plugins/db_manager/info_viewer.py", 
line 62, in showInfo
     self._showTableInfo(item)
   File "/home/chris/.qgis/python/plugins/db_manager/info_viewer.py", 
line 90, in _showTableInfo
     html += table.info().toHtml()
   File 
"/home/chris/.qgis/python/plugins/db_manager/db_plugins/info_model.py", 
line 352, in toHtml
     ret = self.getTableInfo()
   File 
"/home/chris/.qgis/python/plugins/db_manager/db_plugins/postgis/info_model.py", 
line 156, in getTableInfo
     ret = TableInfo.getTableInfo(self)
   File 
"/home/chris/.qgis/python/plugins/db_manager/db_plugins/info_model.py", 
line 292, in getTableInfo
     spatial_info = self.spatialInfo()
   File 
"/home/chris/.qgis/python/plugins/db_manager/db_plugins/postgis/info_model.py", 
line 173, in spatialInfo
     return VectorTableInfo.spatialInfo(self)
   File 
"/home/chris/.qgis/python/plugins/db_manager/db_plugins/info_model.py", 
line 381, in spatialInfo
     extent = 
self.table.database().connector.getTableEstimatedExtent(self.table.geomColumn, 
self.table.name, self.table.schema().name if self.table.schema() else None)
   File 
"/home/chris/.qgis/python/plugins/db_manager/db_plugins/postgis/connector.py", 
line 452, in getTableEstimatedExtent
     self._execute(c, sql)
   File 
"/home/chris/.qgis/python/plugins/db_manager/db_plugins/postgis/connector.py", 
line 658, in _execute
     raise DbError(e, sql)
   File 
"/home/chris/.qgis/python/plugins/db_manager/db_plugins/plugin.py", line 
47, in __init__
     self.msg = unicode( errormsg )
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 26: 
ordinal not in range(128)

Python-Version:
2.7.1+ (r271:86832, Apr 11 2011, 18:30:20)
[GCC 4.5.2]


QGIS-Version:
1.7.0-Wroclaw Wroclaw, exported

Python-Pfad: ['/usr/share/qgis/python', '/home/chris/.qgis/python', 
'/home/chris/.qgis/python/plugins', '/usr/share/qgis/python/plugins', 
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', 
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', 
'/usr/lib/python2.7/lib-dynload', 
'/usr/local/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages/PIL', 
'/usr/lib/pymodules/python2.7/gtk-2.0', 
'/usr/lib/python2.7/dist-packages/gst-0.10', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', 
'/usr/lib/pymodules/python2.7', 
'/usr/lib/pymodules/python2.7/libubuntuone', 
'/usr/lib/pymodules/python2.7/ubuntuone-control-panel', 
'/usr/lib/pymodules/python2.7/ubuntuone-client', 
'/usr/lib/pymodules/python2.7/ubuntuone-storage-protocol', 
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', 
'/home/chris/.qgis/python/plugins/mmqgis/forms', 
'/home/chris/.qgis/python/plugins/fTools/tools', 
'/home/chris/.qgis/python/plugins/mmqgis/forms']



More information about the Qgis-user mailing list