<div dir="auto">Swarup, what is the order of installation you followed for datastore, sugar and sugar-toolkit?<div dir="auto"><br></div><div dir="auto">I am not much sure about it but it might be related.</div><div dir="auto"><br></div><div dir="auto">Thanks.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 31 Jul 2019, 3:55 pm James Cameron, <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The datastore process failed.  Look in datastore.log for more<br>
information.<br>
<br>
Datastore is started by Sugar through D-Bus API, and would normally<br>
continue operating until Sugar is stopped.  If it fails before an<br>
activity is started, then the activity call through the D-Bus API will<br>
restart the datastore.  The traceback you pasted shows this has<br>
happened, and then the datastore failed again.<br>
<br>
Check the D-Bus service file created by the datastore source.  It may<br>
refer to the wrong path for the binary.<br>
<br>
On Wed, Jul 31, 2019 at 10:21:48AM +0530, Swarup N wrote:<br>
> Hi,<br>
> I setup Sugar 0.114 via the Native method on a new laptop. On running<br>
> sugar-activity, I get the following message.<br>
> <br>
> Traceback (most recent call last):<br>
>   File "/usr/local/bin/sugar-activity", line 5, in <module><br>
>     activityinstance.main()<br>
>   File "/usr/local/lib/python2.7/dist-packages/sugar3/activity/<br>
> activityinstance.py", line 230, in main<br>
>     instance = create_activity_instance(activity_constructor, activity_handle)<br>
>   File "/usr/local/lib/python2.7/dist-packages/sugar3/activity/<br>
> activityinstance.py", line 59, in create_activity_instance<br>
>     activity = constructor(handle)<br>
>   File "/home/buba/sugar-stuff/sugar-activities/convert/activity.py", line 41,<br>
> in __init__<br>
>     activity.Activity.__init__(self, handle, True)<br>
>   File "/usr/local/lib/python2.7/dist-packages/sugar3/activity/activity.py",<br>
> line 432, in __init__<br>
>     self._jobject = self._initialize_journal_object()<br>
>   File "/usr/local/lib/python2.7/dist-packages/sugar3/activity/activity.py",<br>
> line 520, in _initialize_journal_object<br>
>     datastore.write(jobject)<br>
>   File "/usr/local/lib/python2.7/dist-packages/sugar3/datastore/datastore.py",<br>
> line 394, in write<br>
>     transfer_ownership)<br>
>   File "/usr/local/lib/python2.7/dist-packages/sugar3/datastore/datastore.py",<br>
> line 344, in _create_ds_entry<br>
>     object_id = _get_data_store().create(dbus.Dictionary(properties), filename,<br>
>   File "/usr/local/lib/python2.7/dist-packages/sugar3/datastore/datastore.py",<br>
> line 51, in _get_data_store<br>
>     DS_DBUS_PATH),<br>
>   File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object<br>
>     follow_name_owner_changes=follow_name_owner_changes)<br>
>   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in<br>
> __init__<br>
>     self._named_service = conn.activate_name_owner(bus_name)<br>
>   File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in<br>
> activate_name_owner<br>
>     self.start_service_by_name(bus_name)<br>
>   File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in<br>
> start_service_by_name<br>
>     'su', (bus_name, flags)))<br>
>   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in<br>
> call_blocking<br>
>     message, timeout)<br>
> dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited:<br>
> Process org.laptop.sugar.DataStore exited with status 1<br>
> 1564548420.435550 WARNING root: DSObject was deleted without cleaning up first.<br>
> Call DSObject.destroy() before disposing it.<br>
> <br>
> I would be grateful for any suggestions on fixing this.<br>
> <br>
> Thanks.<br>
<br>
-- <br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank" rel="noreferrer">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div>