[Localization] codec can't decode byte

Alexander Dupuy alex.dupuy at mac.com
Mon Sep 21 16:21:27 EDT 2009


Sayamindu Dasgupta escribió:
> For some reason - it seems that the username may not be the issue here
> - the error is being triggered when a specific page is being accessed
> (and the logs are showing up very odd page accesses like xo_core,
> xo_bundled etc - which have been done away with long ago). I fixed one
> potential issue - some PO files had the encoding set to ASCII even
> when they were using UTF-8 text. Let see if that solves the problem.
>   

Chris had reset the (Arabic) username that was causing the "codec can't 
decode byte" error, but Sayamindu's changes for the encoding for PO 
files seem to have fixed the problem that I reported (in another e-mail 
thread):
> Looking at the Spanish Honey files 
> (http://translate.sugarlabs.org/es/honey/) I noticed that the 
> viewslides.po file has an 'X' next to it (and 0% completion) due to 
> the following error (from X mouseover):
>
> viewslides.po: 70: 10: invalid multibyte sequence
> viewslides.po: 70: 11: invalid multibyte sequence
> msgfmt: found 2 fatal errors
>
> When clicking on the viewslides.po file, I get the following error:
>
> Error pootlestatistics instance has no attribute 'classifyunits'
>
> but no strings are displayed.  I can see strings in other languages 
> (e.g. Portuguese).

@alex

-- 
mailto:alex.dupuy at mac.com



More information about the Localization mailing list