file a tiket!ç generally it's due the fact it's not used correct UTF8 decoding of the string to write... probably you have not ASCII characters (ascii is the default char coding) as à or é etc etc in you file.
correct coding/decoding should be managed by the plugin => file a ticket or modify the code and prepare a pull request. regards, Luigi Pirelli ([email protected] - [email protected]) On 1 July 2014 15:04, Carmine Massarelli <[email protected]> wrote: > Dear all, > I installed Qgis plugin GEarthView but i received this error when I try > to active it. > Could you help me to understand what is the problem? > Currently, I have Qgis 2.0.1 on Ubuntu 14.04. > Thanks > > Here is the error code: > > > Errore durante l'esecuzione di codice Python: > > Traceback (most recent call last): > File "/home/massarelli/.qgis2/python/plugins/gearthview/gearthview.py", > line 601, in run > kml.write (stringazza) > UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in > position 35: ordinal not in range(128) > > Versione Python: > 2.7.6 (default, Mar 22 2014, 23:03:41) > [GCC 4.8.2] > > > Versione di QGIS: > 2.0.1-Dufour Dufour, exported > > Percorso Python: ['/usr/share/qgis/python', > '/home/massarelli/.qgis2/python', '/home/massarelli/.qgis2/python/plugins', > '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', > '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/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/PILcompat', > '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', > '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', > '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', > '/home/massarelli/.qgis2/python/plugins/MetaSearch/ext-libs', > '/usr/share/qgis/python/plugins/fTools/tools', > '/home/massarelli/.qgis2/python/plugins/DigitizingTools/tools'] > > > ------- > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user >
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
