[sugar] Problem launching activity with sugar-activity using sugar-jhbuild

julius at younglucks.com julius
Tue Jul 10 15:33:33 EDT 2007


I installed sugar with sugar-jhbuild, and used sugar-jhbuild run to  
start sugar.  After going to the developer console, I cd'd into the  
sugar-jhbuild directory and tried

sugar-activity web

The web activity did not show up, and gave a log message:

ERROR - dbus.proxies: Introspect error on  
:1.15:/org/laptop/sugar/DataStore: dbus.exceptions.DBusException:  
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply  
(timeout by message bus)
DEBUG - dbus.proxies: Executing introspect queue due to error
DEBUG - root: Creating a jobject.
DEBUG - root: datastore.write
DEBUG - root: Couldn't create activity  
bf1299503ea20c006f72a0afaf51b13e74c24ffe (org.laptop.WebActivity):  
org.freedesktop.DBus.Error.ServiceUnknown: Traceback (most recent call  
last):
   File  
"/home/jblucks/olpc/sugar-jhbuild/build/lib/python2.5/site-packages/dbus/service.py", line 655, in  
_message_cb
     retval = candidate_method(self, *args, **keywords)
   File  
"/home/jblucks/olpc/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/activity/activityfactoryservice.py", line 109, in  
create
     activity = self._constructor(activity_handle)
   File  
"/home/jblucks/olpc/sugar-jhbuild/build/share/activities/Web.activity/webactivity.py", line 43, in  
__init__
     activity.Activity.__init__(self, handle)
   File  
"/home/jblucks/olpc/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/activity/activity.py", line 258, in  
__init__
     error_handler=self._internal_jobject_error_cb)
   File  
"/home/jblucks/olpc/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/datastore/datastore.py", line 117, in  
write
     ds_object.file_path)
   File  
"/home/jblucks/olpc/sugar-jhbuild/build/lib/python2.5/site-packages/sugar/datastore/dbus_helpers.py", line 35, in  
create
     object_id = _data_store.create(dbus.Dictionary(properties), filename)
   File  
"/home/jblucks/olpc/sugar-jhbuild/build/lib/python2.5/site-packages/dbus/proxies.py", line 135, in  
__call__
     **keywords)
   File  
"/home/jblucks/olpc/sugar-jhbuild/build/lib/python2.5/site-packages/dbus/connection.py", line 603, in  
call_blocking
     message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name  
:1.15 was not provided by any .service files
STDERR - Traceback (most recent call last):
   File "/home/jblucks/olpc/sugar-jhbuild/build/bin/sugar-activity",  
line 79, in <module>
     gtk.main()
KeyboardInterrupt
STDERR -
ERROR - Traceback (most recent call last):
   File "/home/jblucks/olpc/sugar-jhbuild/build/bin/sugar-activity",  
line 79, in <module>
     gtk.main()
KeyboardInterrupt

The git log of my sugar version is

commit f182201b3491365e7ebe19284fb92b07ed90ef7a

Any help would be appreciated.

Julius





More information about the Sugar-devel mailing list