[sugar] Activity bundle tutorial
Gonzalo Delgado
gonzalo
Thu Feb 8 20:48:22 EST 2007
2007/2/8, Marco Pesenti Gritti <mpg at redhat.com>:
>
> Are you showing the Activity child? The one you .add to the activity.
>
> Marco
>
>
Nope. I wasn't '.adding' the Activity child either, I am now. Now
it's the same as before, the activity shows but the icon doesn't. I
get this when I start the activity:
Traceback (most recent call last):
File "/home/gonzalo/codigo/OLPC/sugar-jhbuild/build/share/sugar/shell/model/homemodel.py",
line 80, in _window_opened_cb
self._add_activity(window)
File "/home/gonzalo/codigo/OLPC/sugar-jhbuild/build/share/sugar/shell/model/homemodel.py",
line 117, in _add_activity
act_service = Activity.get_service(window.get_xid())
File "/home/gonzalo/codigo/OLPC/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/activity/Activity.py",
line 53, in get_service
proxy_obj = bus.get_object(get_service_name(xid), get_object_path(xid))
File "/home/gonzalo/codigo/OLPC/sugar-jhbuild/build/lib/python2.5/site-packages/dbus/_dbus.py",
line 410, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/home/gonzalo/codigo/OLPC/sugar-jhbuild/build/lib/python2.5/site-packages/dbus/proxies.py",
line 230, in __init__
_dbus_bindings.UInt32(0))
File "/home/gonzalo/codigo/OLPC/sugar-jhbuild/build/lib/python2.5/site-packages/dbus/proxies.py",
line 169, in __call__
reply_message =
self._connection.send_message_with_reply_and_block(message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.laptop.Activity10485793 was not provided by any .service files
--
Gonzalo Delgado.
More information about the Sugar-devel
mailing list