[Qgis-developer] plugins and Windows usernames with accents in QGIS 2.0

Giovanni Manghi giovanni.manghi at faunalia.pt
Sat Oct 12 11:18:12 PDT 2013


> Hi Giovanni,
>
> On Thu, 10. Oct 2013 at 13:28:23 +0100, Giovanni Manghi wrote:
>> I have noticed that there are still issues when installing plugins on
>> Windows machines and when the username has an accented letter.
>
> Try 4cb37b1a please.
>
>
> J?rgen


Hi Jurgen,

I updated qgis-dev with osgeo4w and now when launching it with a
profile with a username like "joão", it returns


An error occured during execution of following code:
sys.path = ["C:/OSGeo4W/apps/qgis-dev/./python",os.path.expanduser("~/.qgis2/python").decode('utf-8'),os.path.expanduser("~/.qgis2/python").decode('utf-8')
+ "/plugins","C:/OSGeo4W/apps/qgis-dev/./python/plugins"] + sys.path


Traceback (most recent call last):
  File "", line 1, in
  File "C:\OSGeo4W\apps\Python27\lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position
11: invalid continuation byte



and then



Couldn't load PyQGIS.
Python support will be disabled.


Traceback (most recent call last):
  File "", line 1, in
ImportError: No module named qgis.core



cheers!


More information about the Qgis-developer mailing list