<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Ubuntu">Ok, now it works well.<br>
thanks<br>
<br>
<br>
</font>
<div class="moz-cite-prefix">Il 01/07/2014 15:36, Gino Pirelli ha
scritto:<br>
</div>
<blockquote
cite="mid:CAFO80_pJQS=XcqDHQ-MVHdap3Ky9zpXzvcNNmUaoas4NU6ozPg@mail.gmail.com"
type="cite">
<div dir="ltr">file a tiket!ç
<div><br>
</div>
<div>generally it's due the fact it's not used correct UTF8
decoding of the string to write...
<div>probably you have not ASCII characters (ascii is the
default char coding) as à or é etc etc in you file.</div>
<div><br>
</div>
<div>correct coding/decoding should be managed by the plugin
=> file a ticket or modify the code and prepare a pull
request.</div>
<div><br>
</div>
<div>regards,</div>
<div><br>
</div>
<div>Luigi Pirelli (<a moz-do-not-send="true"
href="mailto:luigi.pirelli@faunalia.it">luigi.pirelli@faunalia.it</a>
- <a moz-do-not-send="true" href="mailto:uipir@gmail.com">uipir@gmail.com</a>)</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 1 July 2014 15:04, Carmine
Massarelli <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:carmine.massarelli@ba.irsa.cnr.it"
target="_blank">carmine.massarelli@ba.irsa.cnr.it</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <font face="Ubuntu">Dear
all,</font><br>
<font face="Ubuntu">I installed Qgis plugin GEarthView
but i received this error when I try to active it.<br>
Could you help me to understand what is the problem?<br>
Currently, I have Qgis 2.0.1 on Ubuntu 14.04.<br>
Thanks <br>
</font><br>
Here is the error code:<br>
<br>
<br>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
style="color:#ff0000">Errore durante l'esecuzione di
codice Python:</span><br>
<br>
Traceback (most recent call last):<br>
File
"/home/massarelli/.qgis2/python/plugins/gearthview/gearthview.py",
line 601, in run<br>
kml.write (stringazza)<br>
UnicodeEncodeError: 'ascii' codec can't encode character
u'\xe0' in position 35: ordinal not in range(128)<br>
<br>
Versione Python:<br>
2.7.6 (default, Mar 22 2014, 23:03:41) <br>
[GCC 4.8.2]<br>
<br>
<br>
Versione di QGIS:<br>
2.0.1-Dufour Dufour, exported<br>
<br>
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']<br>
</p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br>
-------<br>
</p>
</div>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>