Anyone seen this error when using sugar-launch?

Michael Stone michael at laptop.org
Fri Aug 8 17:41:57 EDT 2008


Here's the relevant part:

>  File "/usr/share/sugar/services/shell/activityregistryservice.py", line
>90, in FindActivity
>    if name.find(key) != -1 or bundle_id.find(key) != -1:
>UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2:
>ordinal not in range(128)

The code in question is not unicode-safe or the locale is not set
properly. Check out the use of the string "encode()" method in other
parts of Sugar to properly convert unicode objects to string objects.

Michael



More information about the Devel mailing list