[Qgis-developer] DB Manager error

Paolo Cavallini cavallini at faunalia.it
Thu Nov 19 10:16:42 PST 2015


Hi all,
we are having this error when trying to load a particular table. I
suppose there is a wrong value in the table, however QGIS should handle
it mor egracefully, I believe.
Is this worth a ticket?
Thanks.

Traceback (most recent call last):
  File
"C:/PROGRA~1/QGISPI~1/apps/qgis/./python/plugins\db_manager\db_plugins\data_model.py",
line 61, in data
    val = self.getData(index.row(), index.column())
  File
"C:/PROGRA~1/QGISPI~1/apps/qgis/./python/plugins\db_manager\db_plugins\data_model.py",
line 117, in getData
    self.fetchMoreData(start)
  File
"C:/PROGRA~1/QGISPI~1/apps/qgis/./python/plugins\db_manager\db_plugins\postgis\data_model.py",
line 78, in fetchMoreData
    self.resdata = self.cursor.fetchmany(self.fetchedCount)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 9:
ordinal not in range(128)


Versione Python:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]


Versione di QGIS:
2.10.1-Pisa Pisa, d20c5b7
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html


More information about the Qgis-developer mailing list