[Sugar-devel] Error on running sugar-activity

Swarup N nswarup14 at gmail.com
Wed Jul 31 00:51:48 EDT 2019


Hi,
I setup Sugar 0.114 via the Native method on a new laptop. On running
*sugar-activity,
*I get the following message.

Traceback (most recent call last):
  File "/usr/local/bin/sugar-activity", line 5, in <module>
    activityinstance.main()
  File
"/usr/local/lib/python2.7/dist-packages/sugar3/activity/activityinstance.py",
line 230, in main
    instance = create_activity_instance(activity_constructor,
activity_handle)
  File
"/usr/local/lib/python2.7/dist-packages/sugar3/activity/activityinstance.py",
line 59, in create_activity_instance
    activity = constructor(handle)
  File "/home/buba/sugar-stuff/sugar-activities/convert/activity.py", line
41, in __init__
    activity.Activity.__init__(self, handle, True)
  File
"/usr/local/lib/python2.7/dist-packages/sugar3/activity/activity.py", line
432, in __init__
    self._jobject = self._initialize_journal_object()
  File
"/usr/local/lib/python2.7/dist-packages/sugar3/activity/activity.py", line
520, in _initialize_journal_object
    datastore.write(jobject)
  File
"/usr/local/lib/python2.7/dist-packages/sugar3/datastore/datastore.py",
line 394, in write
    transfer_ownership)
  File
"/usr/local/lib/python2.7/dist-packages/sugar3/datastore/datastore.py",
line 344, in _create_ds_entry
    object_id = _get_data_store().create(dbus.Dictionary(properties),
filename,
  File
"/usr/local/lib/python2.7/dist-packages/sugar3/datastore/datastore.py",
line 51, in _get_data_store
    DS_DBUS_PATH),
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in
get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in
__init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in
activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in
start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in
call_blocking
    message, timeout)
dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.Spawn.ChildExited: Process
org.laptop.sugar.DataStore exited with status 1
1564548420.435550 WARNING root: DSObject was deleted without cleaning up
first. Call DSObject.destroy() before disposing it.

I would be grateful for any suggestions on fixing this.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190731/132e12d0/attachment.html>


More information about the Sugar-devel mailing list