#7733 BLOC 8.2.0 (: Cannot install Wikipedia-10.xo
Zarro Boogs per Child
bugtracker at laptop.org
Wed Aug 13 17:32:50 EDT 2008
#7733: Cannot install Wikipedia-10.xo
------------------------+---------------------------------------------------
Reporter: tomeu | Owner: tomeu
Type: defect | Status: new
Priority: blocker | Milestone: 8.2.0 (was Update.2)
Component: sugar | Version: Git as of bug date
Resolution: | Keywords: 8.2.0:? blocks?:8.2.0 relnote
Next_action: diagnose | Verified: 0
Blockedby: | Blocking:
------------------------+---------------------------------------------------
Comment(by marco):
Note that this code is run inside the shell service, which doesn't import
gtk and hence doesn't default to UTF-8 as encoding (most of the sugar code
does).
{{{
>>> import os
>>> os.path.join('a', unicode('ààà'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0:
ordinal not in range(128)
>>> import gtk
>>> os.path.join('a', unicode('ààà'))
u'a/\xe0\xe0\xe0'
}}}
I haven't verified if this is relevant at all given your explanation, but
I thought I'd better mention it.
--
Ticket URL: <http://dev.laptop.org/ticket/7733#comment:13>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list