Anyone seen this error when using sugar-launch?

Faisal Anwar fanwar at mediamods.com
Fri Aug 8 16:47:03 EDT 2008


Hi,

I just installed build 708 on an XO and also installed the standard set of
activities using the script provided at
http://wiki.laptop.org/go/Bert%27s_script.

I can launch activities using their UI icons, but when I try to launch
activities from the terminal using sugar-launch, I get the error below. Does
anyone know why this is happening and how to fix it (couldn't find anything
online that illuminated things :( ).

[olpc at xo-05-23-E1 ~]$ sugar-launch read
Traceback (most recent call last):
  File "/usr/bin/sugar-launch", line 38, in <module>
    activities = registry.find_activity(args[0])
  File "/usr/lib/python2.5/site-packages/sugar/activity/registry.py", line
121, in find_activity
    info_list = self._registry.FindActivity(name)
  File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 64, in
__call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 136, in
__call__
    **keywords)
  File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in
call_blocking
    message, timeout)
dbus.exceptions.DBusException:
org.freedesktop.DBus.Python.UnicodeDecodeError: Traceback (most recent call
last):
  File "/usr/lib/python2.5/site-packages/dbus/service.py", line 692, in
_message_cb
    retval = candidate_method(self, *args, **keywords)
  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)


Thanks,


Faisal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080808/bbbea4b6/attachment.html>


More information about the Devel mailing list