[Qgis-user] Python error log

Javier Scaravella cjscaravella at gmail.com
Fri Sep 18 18:41:58 PDT 2009


Hello list, sorry by my English 

I was updated to qgis 1.3.0 mine.
After load a OSM layer I get the following log 

Ha ocurrido un error mientras se ejecutaba el código de Python:

Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/osm/map_tools/OsmIdentifyMT.py",
line 243, in canvasMoveEvent
    self.dockWidget.loadFeature(feat,featType,1)
  File "/usr/share/qgis/python/plugins/osm/OsmFeatureDW.py", line 1654,
in loadFeature
    self.__loadFeatureTags(feat.id(),featType)
  File "/usr/share/qgis/python/plugins/osm/OsmFeatureDW.py", line 1436,
in __loadFeatureTags

self.tagTable.setItem(i,0,QTableWidgetItem(QString.fromUtf8(tableData[i][0])))
TypeError: argument 1 of QString.fromUtf8() has an invalid type

Versión de Python:
2.5.2 (r252:60911, Jul 22 2009, 15:52:25) 
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]

Ruta de Python:['/usr/share/qgis/python',
'/home/geodatum/.qgis//python/plugins',
'/usr/share/qgis/python/plugins', '/usr/lib/python25.zip',
'/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/Numeric',
'/usr/lib/python2.5/site-packages/PIL',
'/usr/lib/python2.5/site-packages/gst-0.10',
'/var/lib/python-support/python2.5',
'/usr/lib/python2.5/site-packages/gtk-2.0',
'/var/lib/python-support/python2.5/gtk-2.0',
'/usr/share/qgis/python/plugins/fTools/tools']



I think to be related to the caracter codification  
Somebody has idea to solve this?

I use ubuntu hardy

Regards.ar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20090918/c459c021/attachment.html>


More information about the Qgis-user mailing list