[Sugar-devel] Call for testing and feedback: alternative Journal implementation

Eduardo H. Silva hoboprimate at gmail.com
Wed May 9 16:27:22 EDT 2012


2012/5/9 Christophe Guéret <c.d.m.gueret at vu.nl>:
> Hi Eduardo,
>
> Thanks for testing!
>
>> Ah, the error actually starts with /usr/bin/sugar-datastore (which I
>> replaced with the one included in the semanticXO directory):
>>
>> datastore-service:13:<module>:ImportError: No module named
>> semanticstore.datastore
>
> Have you modified the first lines of this script to include the path were
> the code his?
>
> Christophe
>

I did modify, but mistyped them. I get a different error now:

connection.py:630:call_blocking:DBusException:
org.freedesktop.DBus.Error.Spawn.ChildExited: Process
/usr/bin/datastore-service exited with status 1

Traceback (most recent call last):
  File "/usr/bin/sugar-session", line 289, in <module>
    main()
  File "/usr/bin/sugar-session", line 228, in main
    from jarabe.desktop import homewindow
  File "/usr/lib/python2.7/site-packages/jarabe/desktop/homewindow.py",
line 25, in <module>
    from jarabe.desktop.meshbox import MeshBox
  File "/usr/lib/python2.7/site-packages/jarabe/desktop/meshbox.py",
line 48, in <module>
    from jarabe.journal import misc
  File "/usr/lib/python2.7/site-packages/jarabe/journal/misc.py", line
26, in <module>
    from sugar.activity import activityfactory
  File "/usr/lib/python2.7/site-packages/sugar/activity/activityfactory.py",
line 34, in <module>
    from sugar.datastore import datastore
  File "/usr/lib/python2.7/site-packages/sugar/datastore/datastore.py",
line 77, in <module>
    _get_data_store()
  File "/usr/lib/python2.7/site-packages/sugar/datastore/datastore.py",
line 51, in _get_data_store
    DS_DBUS_PATH),
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in
activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in
start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line
630, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process
/usr/bin/datastore-service exited with status 1

Local variables in innermost frame:
byte_arrays: False
self: <dbus._dbus.SessionBus (session) at 0x9e6841c>
args: ('org.laptop.sugar.DataStore', 0)
utf8_strings: False
bus_name: 'org.freedesktop.DBus'
get_args_opts: {'byte_arrays': False, 'utf8_strings': False}
object_path: '/org/freedesktop/DBus'
timeout: -1.0
signature: 'su'
dbus_interface: 'org.freedesktop.DBus'
message: <dbus.lowlevel.MethodCallMessage object at 0x9d6d8c0>
method: 'StartServiceByName'

Eduardo


More information about the Sugar-devel mailing list