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

Eduardo H. Silva hoboprimate at gmail.com
Wed May 9 16:00:04 EDT 2012


2012/5/9 Christophe Guéret <c.d.m.gueret at vu.nl>:
> Dear all,
>
> A part of the project "SemanticXO" concerns the implementation of an
> alternative Journal implementation making use of the triple store backend.
> Triple store are data bases optimised to store factual information in the
> form of statements linking a subject, a property and a value. This makes
> them particularly fit to store key/value metadata, such as the one the
> Journal uses. The feature proposal for SemanticXO gives more detailled
> about what this is about: http://wiki.sugarlabs.org/go/Features/Semantic_Web
>
> I've just finished removing a couple of bugs and would be interested in
> getting a first round of feedback.
> The installation procedure is not super convenient but should be manageable
> anyway: http://wiki.sugarlabs.org/go/Features/Semantic_Web/Testing
>
> The code is based on two parts:
> * a module "common" that allows to store arbitrary data in the triple store
> * a module "datastore" which uses "common" to store the data from the
> Journal
> I'm now working on implementing other usage examples for "common". In the
> Journal, the most visible change is the possibility to browse the content
> through the SPARQL interface of the triple store. This means it is possible,
> and rather easy, to gather statistics about the activities performed in a
> class room or do backup of the metadata without having to interupt any other
> activity.
>
> Looking forward to your feedback, cheers,
> Christophe
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>

Hi,
Followed the steps in the wiki page. At the last step, sugar-emulator
crashes when launching. This is running sugar 0.96.1 in Fedora 17. I
renamed ~/.sugar to another name before launching sugar-emulator:

** (process:21449): WARNING **: Trying to register gtype
'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:21449): WARNING **: Trying to register gtype
'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:21449): WARNING **: Trying to register gtype
'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Gtk-Message: Failed to load module "pk-gtk-module"
GNOME_KEYRING_CONTROL=/run/user/jobezone/keyring-rHyu00
GNOME_KEYRING_PID=21469

** (process:21456): WARNING **: Trying to register gtype
'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:21456): WARNING **: Trying to register gtype
'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:21456): WARNING **: Trying to register gtype
'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
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)
dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.Spawn.ChildExited: Process
/usr/bin/datastore-service exited with status 1
g_dbus_connection_real_closed: Remote peer vanished with error:
Underlying GIOStream returned 0 bytes on an async read
(g-io-error-quark, 0). Exiting.
Aviso do gestor de janelas: Erro IO fatal 11 (Resource temporarily
unavailable) no ecrã ':30'.

This last line translates to:
TRANS:window manager warning: [...] in screen':30'.]

Eduardo


More information about the Sugar-devel mailing list