Re: [Sugar-devel] XO Infinity ?
Hoi, Have you all seen this ? http://www.smh.com.au/digital-life/computers/meet-rangan-srikhanta-the-former-refugee-who-wants-to-change-the-world-one-laptop-at-a-time-20150221-13l07r.html I guess the answer is yes but just in case... Christophe On 27 February 2015 at 18:14, Gonzalo Odiard godi...@sugarlabs.org wrote: I hope this is not affected by Osborne effect [1] These looks like 3d software generated images, from that to a product ready to ship, there are a long way. Gonzalo [1] http://en.wikipedia.org/wiki/Osborne_effect On Tue, Feb 17, 2015 at 2:48 PM, Lionel Laské lio...@olpc-france.org wrote: Hi all, As some of you, I've seen: https://medium.com/road-to-infinity Something that look like to a new XO concept with an Android OS proposed by OLPC Australia. Just my guess. Is someone have more information on this ? Is it related to OLPC Foundation ? Is it related to Sugar ? Please share with us. Lionel. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Gonzalo Odiard SugarLabs - Software for children learning ___ Devel mailing list de...@lists.laptop.org http://lists.laptop.org/listinfo/devel -- Onderzoeker +31(0)6 14576494 christophe.gue...@dans.knaw.nl *Data Archiving and Networked Services (DANS)* DANS bevordert duurzame toegang tot digitale onderzoeksgegevens. Kijk op www.dans.knaw.nl voor meer informatie. DANS is een instituut van KNAW en NWO. Let op, per 1 januari hebben we een nieuw adres: DANS | Anna van Saksenlaan 51 | 2593 HW Den Haag | Postbus 93067 | 2509 AB Den Haag | +31 70 349 44 50 | i...@dans.knaw.nl i...@dans.kn | www.dans.knaw.nl *Let's build a World Wide Semantic Web!* http://worldwidesemanticweb.org/ *e-Humanities Group (KNAW)* [image: eHumanities] http://www.ehumanities.nl/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [RELEASE] Announcing Sugar 0.102.0
Congrats on this new release! :-) FYI, I've just updated the packages for ArchLinux, they are to be found in AUR. The activities are still outdated though, I'll take care of updating them a bit later. Christophe On 3 July 2014 10:44, Peter Robinson pbrobin...@gmail.com wrote: On Wed, Jul 2, 2014 at 10:47 PM, Martin Abente martin.abente.lah...@gmail.com wrote: Ruben and Peter, I just uploaded the tarball for newer version of Pippy [1], can you update it in your packages? In progress. P ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Onderzoeker +31(0)6 14576494 christophe.gue...@dans.knaw.nl *Data Archiving and Networked Services (DANS)* DANS bevordert duurzame toegang tot digitale onderzoeksgegevens. Kijk op www.dans.knaw.nl voor meer informatie. DANS is een instituut van KNAW en NWO. Let op, per 1 januari hebben we een nieuw adres: DANS | Anna van Saksenlaan 51 | 2593 HW Den Haag | Postbus 93067 | 2509 AB Den Haag | +31 70 349 44 50 | i...@dans.knaw.nl i...@dans.kn | www.dans.knaw.nl *Let's build a World Wide Semantic Web!* http://worldwidesemanticweb.org/ *e-Humanities Group (KNAW)* [image: eHumanities] http://www.ehumanities.nl/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Can't run sugar
Hoi, Glad to read my AUR packaging helped! Let me know if the packaged could be improved in any ways :) Christophe On 18 March 2014 06:30, Sebastian Silva sebast...@fuentelibre.org wrote: Sorry for replying to self once again. I figured I must have had missing dependencies and the easiest way I could come up to install all of them is to install cgueret's AUR sugar packages. Sure enough, after installing them I got a functional Sugar shell! One little issue: it missed to install vte3 dependency (for terminal activity). Regards, Sebastian El lun, 17 de mar 2014 a las 11:33 PM, Sebastian Silva sebast...@fuentelibre.org escribió: I had to install: libwnck3. Now I'm facing another Traceback. Now what? Thanks in advance. 1395116245.944275 DEBUG root: STARTUP: Starting the shell Traceback (most recent call last): File /usr/lib/python2.7/runpy.py, line 162, in _run_module_as_main __main__, fname, loader, pkg_name) File /usr/lib/python2.7/runpy.py, line 72, in _run_code exec code in run_globals File /home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/main.py, line 52, in module from jarabe.view import keyhandler File /home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/view/keyhandler.py, line 32, in modu le from jarabe.journal import journalactivity File /home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/journal/journalactivity.py, line 32, in module from sugar3.activity import activityfactory File /home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/activity/activityfactory.py, line 33, in module from sugar3.datastore import datastore File /home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/datastore/datastore.py, line 75, in module _get_data_store() File /home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/datastore/datastore.py, line 49, in _ get_data_store DS_DBUS_PATH), File /usr/lib/python2.7/site-packages/dbus/bus.py, line 241, in get_object follow_name_owner_changes=follow_name_owner_changes) File /usr/lib/python2.7/site-packages/dbus/proxies.py, line 248, in __init__ self._named_service = conn.activate_name_owner(bus_name) File /usr/lib/python2.7/site-packages/dbus/bus.py, line 180, in activate_name_owner self.start_service_by_name(bus_name) File /usr/lib/python2.7/site-packages/dbus/bus.py, line 278, in start_service_by_name 'su', (bus_name, flags))) File /usr/lib/python2.7/site-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 1395116246.467316 DEBUG root: _cleanup_temp_files El lun, 17 de mar 2014 a las 11:10 PM, Sebastian Silva sebast...@fuentelibre.org escribió: I had a fatal filesystem corruption so I'm setting up my development environment (on Manjaro, Archlinux derivate, without a broot), from scratch. I've managed to build all packages with *osbuild build* but on starting *osbuild run* I get the following traceback. What am I missing? Thanks in advance. 1395115550.042307 DEBUG root: STARTUP: Starting the shell Traceback (most recent call last): File /usr/lib/python2.7/runpy.py, line 162, in _run_module_as_main __main__, fname, loader, pkg_name) File /usr/lib/python2.7/runpy.py, line 72, in _run_code exec code in run_globals File /home/icarito/Proyectos/sugar-build/build/out/install/lib/python2.7/site-packages/jarabe/main.py, line 45, in module from gi.repository import Wnck File /usr/lib/python2.7/site-packages/gi/importer.py, line 68, in load_module dynamic_module._load() File /usr/lib/python2.7/site-packages/gi/module.py, line 287, in _load self._introspection_module = get_introspection_module(self._namespace) File /usr/lib/python2.7/site-packages/gi/module.py, line 266, in get_introspection_module module = IntrospectionModule(namespace, version) File /usr/lib/python2.7/site-packages/gi/module.py, line 117, in __init__ repository.require(namespace, version) gi.RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded -- Onderzoeker +31(0)6 14576494 christophe.gue...@dans.knaw.nl *Data Archiving and Networked Services (DANS)* DANS bevordert duurzame toegang tot digitale onderzoeksgegevens. Kijk op www.dans.knaw.nl voor meer informatie. DANS is een instituut van KNAW en NWO. Let op, per 1 januari hebben we een nieuw adres: DANS | Anna van Saksenlaan 51 | 2593 HW Den Haag | Postbus 93067 | 2509 AB Den Haag | +31 70 349 44 50 | i...@dans.knaw.nl i...@dans.kn | www.dans.knaw.nl *Let's build a World Wide Semantic Web!* http://worldwidesemanticweb.org/
Re: [Sugar-devel] The quest for data
Dear Sameer, all, That's a very interesting blog post and discussion. I agree that collecting data is important but knowing that are the questions aimed to be answered with that data is even more so. If you need help with that last bit, I could propose to use the journal data as a use-case for the project KnowEscape ( http://knowescape.org/ ). This project is about getting insights out of large knowledge spaces via visualisation. There is wide (European) community of experts behind it coming from different research fields (humanities, physic, computer science, ...). Something useful could maybe come out... I would also like to refer you to the project ERS we have now almost finished. This project is an extension of the ideas behind SemanticXO some of you may remember. We developed a decentralised entity registry system with the XO as a primary platform for coding and testing. There is a description of the implementation and links to code on http://ers-devs.github.io/ers/ . We also had a poster at OLPC SF (thanks for that !). In a nutshell, ERS creates global and shared knowledge spaces through series of statements. For instance, Amsterdam is in the Netherlands is a statement made about the entity Amsterdam relating it to the entity the Netherlands. Every user of ERS may want to either de-reference an entity (*e.g.*, asking for all pieces of information about Amsterdam) or contribute to the content of the shared space by adding new statements. This is made possible via Contributors nodes, one of the three types of node defined in our system. Contributors can interact freely with the knowledge base. They themselves take care of publishing their own statements but cannot edit third-party statements. Every set of statements about a given entity contributed by one single author is wrapped into a document in couchDB to avoid conflicts and enable provenance tracking. Every single XO is a Contributor. Two Contributors in a closed P2P network can freely create and share Linked Open Data. In order for them to share data with another closed group of Contributors, we haves Bridges. A Bridge is a relay between two closed networks using the internet or any other form of direct connection to share data. Two closed communities, for example two schools, willing to share data can each setup one Bridge and connect these two nodes to each other. The Bridges will then collect and exchange data coming from the Contributors. These bridges are not Contributors themselves, they are just used to ship data (named graphs) around and can be shut-down or replaced without any data-loss. Lastly, the third component we define in our architecture is the Aggregator. This is a special node every Bridge may push content to and get updated content from. As its name suggests, an Aggregator is used to aggregate entity descriptions that are otherwise scattered among all the Contributors. When deployed, an aggregator can be used to access and expose the global content of the knowledge space or a subset thereof. One could use ERS to store (part of) the content of the Journal on an XO (Contributor), cluster information as the school level (Bridge put on the XS) and provide higher level analysis (Aggregator). The best things about ERS, I think is that: * It can store and share any data that consists of property/values about a given thing identified with a unique identifier * It is off-line by default, all the upper level components are optional. So is the connectivity to them * It's conservative in terms of bandwidth used The creation of graphs could be done at every level to get some statistics on the XO, on the XS and at a more global level. All these potentially using the same code as the data is always stored using the same model (a variant of JSON-LD). We are now finalising a small social-networking activity to demotest ERS. You can easily play with it using the virtual images we put on the site. Here is a video showing it running: https://vimeo.com/81796228 Please have a look and let us know how what you think of it :-) The project is still funded for a bit less than three months and we would really like it to be useful for the OLPC community (that's why we targeted the XO) so don't hesitate to ask for missing features! Cheers, Christophe On 6 January 2014 02:03, Andreas Gros andigro...@gmail.com wrote: Great utilization of CouchDB and its views feature! That's definitely something we can build on. But more importantly, to make this meaningful, we need more data. It's good to know what the activities are that are used most, so one can come up with a priority list for improvements, and/or focus developer attention. CouchDB allows to pull data together from different instances, which should make aggregation and comparisons between projects possible. And for projects that are not online, the data could be transferred to a USB stick quite easily and then uploaded to any other DB instance. Is there a task/todo list somewhere?
Re: [Sugar-devel] [IAEP] Arch Linux XO image and Sugar packages
Hi Daniel, Saw your comment on AUR and in fact I'm not sure what would be best. It seems it would be good to have a sugar as packaged on the XO (sugar), one with the latest stable versions of everything (sugar-devel), and one for the GIT version of everything (sugar-git). But that's maybe getting complicated... Shall we still do that ? This will mean a lot of packages, how can we best split the responsibilities for all of them ? Christophe On 1 November 2013 01:50, Daniel Narvaez dwnarv...@gmail.com wrote: Hi Christophe, sorry for the delay. I haven't tried your packages yet because being a developer I prefer to work from git master... though it's great to have stable packages for Arch of course! Now that 0.100 is out you should be able to get rid of the python2 sed stuff simplifying the PKGBUILDs a bit. On 14 October 2013 12:37, Christophe Guéret christophe.gue...@dans.knaw.nl wrote: Hello, Nice! I'm maintaining a couple of packages in AUR using the version of the packages shipped in the latest stable release (currently the 13.2.0). Please, let me know if these package do not work for you and if they need to be fixed ;-) Cheers, Christophe On 6 October 2013 01:59, Daniel Narvaez dwnarv...@gmail.com wrote: Hello, I recently switched to Arch Linux and I put together a couple of things that others might find useful. * A trivial script to build minimal images for the XO. It builds a kernel from the OLPC git repository and put it together with prebuilt packages from the Arch Linux ARM project. It's enough to setup a wifi connection and install more stuff with pacman. It's XO 1.75 specific at the moment, but it should be easy to make it work on other versions. https://github.com/dnarvaez/archxo I will post a prebuilt image later. * AUR -git packages for the Sugar core and the browse activity. They makes it pretty easy to install the very latest sugar. (I tested them on my laptop, not on the XO yet). All of these are very much a work in progress. I'm posting them mostly because they might be of interest for Arch Linux users. Patches and bug reports both appreciated! -- Daniel Narvaez -- Onderzoeker +31(0)6 14576494 christophe.gue...@dans.knaw.nl *Data Archiving and Networked Services (DANS)* DANS bevordert duurzame toegang tot digitale onderzoeksgegevens. Kijk op www.dans.knaw.nl voor meer informatie en contactgegevens. DANS is een instituut van KNAW en NWO. *Let's build a World Wide Semantic Web!* http://worldwidesemanticweb.org/ *e-Humanities Group (KNAW)* http://ehumanities.nl/ ___ IAEP -- It's An Education Project (not a laptop project!) i...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Daniel Narvaez -- Onderzoeker +31(0)6 14576494 christophe.gue...@dans.knaw.nl *Data Archiving and Networked Services (DANS)* DANS bevordert duurzame toegang tot digitale onderzoeksgegevens. Kijk op www.dans.knaw.nl voor meer informatie en contactgegevens. DANS is een instituut van KNAW en NWO. *Let's build a World Wide Semantic Web!* http://worldwidesemanticweb.org/ *e-Humanities Group (KNAW)* http://ehumanities.nl/ image002.png___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Arch Linux XO image and Sugar packages
Hello, Nice! I'm maintaining a couple of packages in AUR using the version of the packages shipped in the latest stable release (currently the 13.2.0). Please, let me know if these package do not work for you and if they need to be fixed ;-) Cheers, Christophe On 6 October 2013 01:59, Daniel Narvaez dwnarv...@gmail.com wrote: Hello, I recently switched to Arch Linux and I put together a couple of things that others might find useful. * A trivial script to build minimal images for the XO. It builds a kernel from the OLPC git repository and put it together with prebuilt packages from the Arch Linux ARM project. It's enough to setup a wifi connection and install more stuff with pacman. It's XO 1.75 specific at the moment, but it should be easy to make it work on other versions. https://github.com/dnarvaez/archxo I will post a prebuilt image later. * AUR -git packages for the Sugar core and the browse activity. They makes it pretty easy to install the very latest sugar. (I tested them on my laptop, not on the XO yet). All of these are very much a work in progress. I'm posting them mostly because they might be of interest for Arch Linux users. Patches and bug reports both appreciated! -- Daniel Narvaez -- Onderzoeker +31(0)6 14576494 christophe.gue...@dans.knaw.nl *Data Archiving and Networked Services (DANS)* DANS bevordert duurzame toegang tot digitale onderzoeksgegevens. Kijk op www.dans.knaw.nl voor meer informatie en contactgegevens. DANS is een instituut van KNAW en NWO. *Let's build a World Wide Semantic Web!* http://worldwidesemanticweb.org/ *e-Humanities Group (KNAW)* http://ehumanities.nl/ image002.png___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] First release of SemanticXO [laptop.org #67749]
Dear all, There is a first feature complete release of SemanticXO available for testing, along with two demo activities. I just published a description of the project there http://worldwidesemanticweb.wordpress.com/projects/semanticxo/ The code has been tested to work correctly on three XO-1 running 12.1.0. Once SemanticXO is installed, it is possible to browse the content of a Journal remotely and also to send asynchronous messages across the XOs (even if the messaging activity is closed). As usual, I would appreciate a lot your feedback. Especially considering the usefulness of the entire thing. Beyond the two very simple demo activity shipped with SemanticXO, I would be curious to hear from other possible use-cases for it. Cheers, Christophe -- Dr. Christophe Guéret (christophe.gue...@dans.knaw.nl) http://www.few.vu.nl/~cgueret/ http://semweb4u.wordpress.com/ Postdoctoral researcher working on CEDAR (http://cedar-project.nl/) Royal Netherlands Academy of Arts and Sciences Data Archiving and Networked Services (DANS) ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation
Dear everyone, I've updated the installation bundle for SemanticXO and also fixed a few bugs reported on this mail thread. To play around with the code: * go to http://git.sugarlabs.org/semanticxo/main/trees/master/patch_my_xo * put the files patch_my_xo.py and semanticxo.tgz somewhere on the XO * login as root, set patch_my_xo.py to be executable and type ./patch_my_xo.py setup * reboot It's a very harsh script that will just overwrite the standard Journal code and erase all the content. I've tested it on a couple of XO-1. If everything works fine, you won't see any difference. To see what happens in the back-end, open a web browser to http://IP_OF_THE_XO:8080 to see the content of the triple store. I'd now like to implement something to remotely query an XO triple store from an activity. Does anyone know if it is possible to get an IP of a neighbour returned by the presence service? Or, shall I better wrap external calls to the triple store in a DBus API, even if that is all plain HTTP? Christophe On 2 July 2012 17:38, Christophe Guéret c.d.m.gue...@vu.nl wrote: Hi Aleksey, I've packaged redstore to SD:Factory repos ( https://packages.sugarlabs.org/project/monitor?project=SweetsDistribution:Factory ) the package is redstore that provides redstore command and redstored init.d script. Great! Many thanks :) I didn't make it autorun in case if you will use it in the same way as Journal (and Sugar Network database), i.e., keep database in ~/.sugar/PROFILE and start daemon from current user's session. Could you point me to an example on how to set this up? Currently I set the database system wide and start the daemon at boot time but switching to a user session would make sens. btw, it might be useful to create SemanticXO package as well and make it pluggable like it was done with Sugar Network (checkbox in Sweets Distribution Control Panel component). i.e., it should regular DBus service that provides the same Dbus API as sugar-datastore. If you will do that, I think it will be possible to plug either sugar-datastore or SemanticXO in runtime. It is already the case, on my test machines I remove sugar-datastore to put the one provided by SemanticXO instead. That one uses the same DBUS API and service name. I will look into packaging it. I was slowed down on SemanticXO recently, I hope to be able to get back in speed soon... Christophe ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation
Hi Aleksey, I've packaged redstore to SD:Factory repos ( https://packages.sugarlabs.org/project/monitor?project=SweetsDistribution:Factory ) the package is redstore that provides redstore command and redstored init.d script. Great! Many thanks :) I didn't make it autorun in case if you will use it in the same way as Journal (and Sugar Network database), i.e., keep database in ~/.sugar/PROFILE and start daemon from current user's session. Could you point me to an example on how to set this up? Currently I set the database system wide and start the daemon at boot time but switching to a user session would make sens. btw, it might be useful to create SemanticXO package as well and make it pluggable like it was done with Sugar Network (checkbox in Sweets Distribution Control Panel component). i.e., it should regular DBus service that provides the same Dbus API as sugar-datastore. If you will do that, I think it will be possible to plug either sugar-datastore or SemanticXO in runtime. It is already the case, on my test machines I remove sugar-datastore to put the one provided by SemanticXO instead. That one uses the same DBUS API and service name. I will look into packaging it. I was slowed down on SemanticXO recently, I hope to be able to get back in speed soon... Christophe ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation
As you rightly guessed, there are some parts of the API that still have to be implemented. The things I've tested so far work fine though: launch the emulator, create some entries by using the activities and browse the content of the journal. Christophe On 15 May 2012 00:09, Sascha Silbe si...@activitycentral.com wrote: =?UTF-8?Q?Christophe_Gu=C3=A9ret?= c.d.m.gue...@vu.nl writes: The installation procedure is not super convenient but should be manageable anyway: http://wiki.sugarlabs.org/go/Features/Semantic_Web/Testing I was able to install it on Debian Wheezy by using the distro packages libraptor2-dev, librasqal3-dev, librdf0-dev and python-sparqlwrapper and building redstore [1] (needs either pandoc or a fix to Makefile.am) and python-rdflib [2] from source. Adjusted file paths and python executable name in datastore/bin/datastore-service (inside semanticxo repository) and started it manually. Ran redstore -v in a separate xterm. Sugar (latest mainline master) starts up fine, but trying to resume a file from external storage (USB stick) fails with the following errors: shell.log: {{{ 1337031865.456647 DEBUG root: get_file asked for file with path '/media/Debian Inst/Journal backup of Sascha Silbe (XO-1) (CSN7470103E) on 13.09.2010.xmj' 1337031865.457434 DEBUG root: model.write '' '/media/Debian Inst/Journal backup of Sascha Silbe (XO-1) (CSN7470103E) on 13.09.2010.xmj' True 1337031866.380370 DEBUG root: launch bundle_id=org.sugarlabs.Restore activity_id=a6c7ee02667a96e8e51e5656d22be575506e0e24 object_id=dfe88839-6a71-4e7b-a16a-f0da7d5122ff uri=None 1337031866.521933 ERROR dbus.connection: Exception in handler for D-Bus signal: Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/dbus/connection.py, line 214, in maybe_handle_message self._handler(*args, **kwargs) File /home/sascha.silbe/sugar-jhbuild/install/lib/python2.7/site-packages/sugar/datastore/datastore.py, line 61, in __datastore_created_cb metadata = _get_data_store().get_properties(object_id, byte_arrays=True) File /usr/lib/python2.7/dist-packages/dbus/proxies.py, line 143, in __call__ **keywords) File /usr/lib/python2.7/dist-packages/dbus/connection.py, line 630, in call_blocking message, timeout) DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/dbus/service.py, line 745, in _message_cb _method_reply_return(connection, message, method_name, signature, *retval) File /usr/lib/python2.7/dist-packages/dbus/service.py, line 252, in _method_reply_return reply.append(signature=signature, *retval) TypeError: Don't know how which D-Bus type to use to encode type NoneType 1337031866.567461 ERROR dbus.connection: Exception in handler for D-Bus signal: Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/dbus/connection.py, line 214, in maybe_handle_message self._handler(*args, **kwargs) File /home/sascha.silbe/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/journal/model.py, line 507, in _datastore_created_cb created.send(None, object_id=object_id) File /home/sascha.silbe/sugar-jhbuild/install/lib/python2.7/site-packages/sugar/dispatch/dispatcher.py, line 125, in send response = receiver(signal=self, sender=sender, **named) File /home/sascha.silbe/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/journal/journalactivity.py, line 259, in __model_created_cb self._check_for_bundle(kwargs['object_id']) File /home/sascha.silbe/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/journal/journalactivity.py, line 284, in _check_for_bundle metadata = model.get(object_id) File /home/sascha.silbe/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/journal/model.py, line 551, in get metadata = _get_datastore().get_properties(object_id, byte_arrays=True) File /usr/lib/python2.7/dist-packages/dbus/proxies.py, line 143, in __call__ **keywords) File /usr/lib/python2.7/dist-packages/dbus/connection.py, line 630, in call_blocking message, timeout) DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/dbus/service.py, line 745, in _message_cb _method_reply_return(connection, message, method_name, signature, *retval) File /usr/lib/python2.7/dist-packages/dbus/service.py, line 252, in _method_reply_return reply.append(signature=signature, *retval) TypeError: Don't know how which D-Bus type to use to encode type NoneType }}} org.sugarlabs.Restore-1.log: {{{ 1337031878.858341 DEBUG root: datastore.get Traceback (most recent call last): File /home/sascha.silbe/sugar-jhbuild/install/bin/sugar-activity, line 146, in module main() File /home/sascha.silbe/sugar-jhbuild/install/bin/sugar-activity, line 141, in main instance = create_activity_instance(activity_constructor,
Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation
Is fulltext search implemented in existing light weight triple storages like in RDBMS? ie, if you need fulltext search, create particular index. Nope, in fact you do not control the indexes. Triple store implementing just what is in the recommendation index everything that is a literal. For instance if the following triple is inserted ' http://dbpedia.org/resource/Amsterdam http://www.w3.org/2000/01/rdf-schema#label Amsterdam', only the string Amsterdam will be indexed. I mean, if fulltext feature is pluggable, it might make sense to disable it (to decrease resources consumption) and reuse Xapian instead. The reason is that Xapian is mature, fast, and humble in case of memory footprint, fulltext indexer. It is not pluggable but the source code of the triple store is available. It may make sense to dig into the code to disable the index and plug in xapian instead if we find it to improve the performances, or if the regex search in literals is not enough. So far, I did not focus too much on the triple store and just took RedStore that works out of the box on the XO and provide good enough performances. There is another triple store, 4store that would be more efficient and have a lower foot print but making it fit the hardware of the XO will require some hacking. Christophe ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation
How compare SemanticXO journal to our actual implementation, regarding to disk space and performance (in a xo) However I agree this is an important question, I can not give any proper answer to it yet. Some time ago I did some performance test for the triple store: http://semweb4u.wordpress.com/2011/11/02/does-it-scale/ The results were not as good as I would have expected but were still ok. Now, it would be good to run a comparative benchmark to have the same kind of curves for both the genuine journal and the one using the triple store. Is there maybe something I could use for that? To generate these graphs I used a custom made record generator that was inserting data and querying it. If nothing else is available I could use that code again. Besides, I'd like to note that apart from the performance difference, which may or may not be in favour of the triple store, there is also a feature difference. Compared to the current data store, the triple store offers a more versatile data store with also has remote access (not secured now). We're currently busy developing activities highlighting how to take advantage from these extra features. Christophe ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Call for testing and feedback: alternative Journal implementation
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@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation
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 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Call for testing and feedback: alternative Journal implementation
Ah, running datastore-service standalone showed that it was looking for the python module rdflib . After install python-rdflib package, it complains of missing SPARQLWrapper (python?) module. Searching yum for sparql only shows the package rasqal which I have installed. Ok, I totally forgot about the dependencies :-P This is the SPARQLWrapper you need: http://sparql-wrapper.sourceforge.net/ Please let me know how you install it on Fedora and I'll update the wiki. Christophe ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] 1 minute video about SemanticXO [laptop.org #67749]
Hi everyone, We recently made a video to explain in a easy way what the goals of SemanticXO are: http://semweb4u.wordpress.com/2012/02/28/1-minute-video-about-semanticxo/ The related feature proposal for Sugar is over there: http://wiki.sugarlabs.org/go/Features/Semantic_Web And there has been some progress made on the source code recently: http://git.sugarlabs.org/semanticxo A first working version of the system will be ready for the workshop on Downscaling the Semantic Web that will be held in Greece in May: http://worldwidesemanticweb.wordpress.com/downscale2012/ I will post an announce on the list as soon as there is something that can be easily tested ;-) Cheers, Christophe ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Invitation to help organise a workshop in Greece
Dear everyone, Stefan Schlobach and myself are organizing a workshop on Down scaling the Semantic Web at the conference ESWC2012. This conference is one of the major one for research done on the Semantic Web, it will take place in May 2012 in Greece [1]. Semantic Web technologies are aimed at improving data management by providing standards and tools to encode, share and use data. So far most of the applications making use of that technology are designed to be run on large scale machines (Cloud hosted) accessed through the Web. With the contributor project SemanticXO, we started to look at bringing these technologies to Sugar and the XO [2]. This work has recently caught the interest of the research community and with the workshop DownScale2012 we would like to build upon that. The workshop will be about the challenges in bringing Semantic Web technologies on constrained environement and the potential benefits of doing it. There will be a morning of discussions and an afternoon on hacking with Sugar + SemanticXO (see [3] for more informations). We are looking for someone to help us organise the hacking afternoon. Ideally that person would be someone that is experienced in developing for Sugar, is able to come to Heraklion in May and has an interest in Semantic Web research. If you see yourself in that description, please drop us a mail :-) Cheers, Christophe Stefan [1] http://2012.eswc-conferences.org/ [2] http://wiki.sugarlabs.org/go/Features/Semantic_Web [3] http://worldwidesemanticweb.wordpress.com/downscale2012/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [FEATURE] [DESIGN] Semantic Web
Nice! Thanks :) I'd recommend moving the git repository to git.sugarlabs.org to facilitate collaboration with other Sugar developers. Done! Everything is now in http://git.sugarlabs.org/semanticxo/main There are four directories: common = Code to compile the triple store and main API to dialog with it datastore = Re-designed Journal datastore making use of the triple store to store meta data activity_browse = A browser for the content of Journals, the one on the running Sugar but also of any other Sugar instance in the neighborhood activity_sort = Simple game showing how an activity can use the triple store to store all its data. common used to be on Github, datastore was a fork on the Journal on git.sugarlabs, the two activities where also on Github. I'll close all these other locations and set up aliases to the new location(s). Cheers, Christophe PS: I forgot to properly tag the mail, this should be fixed now. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [FEATURE] [DESIGN] Semantic Web
On 2 December 2011 15:28, Walter Bender walter.ben...@gmail.com wrote: 2011/12/2 Christophe Guéret c.d.m.gue...@vu.nl Nice! Thanks :) I'd recommend moving the git repository to git.sugarlabs.org to facilitate collaboration with other Sugar developers. Done! Everything is now in http://git.sugarlabs.org/semanticxo/main There are four directories: common = Code to compile the triple store and main API to dialog with it datastore = Re-designed Journal datastore making use of the triple store to store meta data Quick question: is the migration to the new datastore reversible? In other words, if I try testing this, do I have any way to revert? Yes for the reversibility, no for the content being shipped between the two versions. The new datastore replace the old one but don't erase its content. If you use the script patch_my_xo (in common) to install the stuff you won't have access to the entries currently in the Journal. If you create new entries but then return to the standard Journal, you'll loose these new entries but retrieve the previous ones. This script patch_my_xo comes with two options, install and uninstall, to patch (very brutally) the XO with SemanticXO stuff and revert it to its original state. Christophe ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Feature proposal: Semantic Web
Dear everyone, Better late than never... after almost a year of working on SemanticXO there is now a feature page for it: http://wiki.sugarlabs.org/go/Features/Semantic_Web Please let me know what you think ;-) cheers, Christophe ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Help with testing SemanticXO's backend
Hi James, I finally got around that lib32 problem and produced a new package (same location: https://github.com/downloads/cgueret/SemanticXO/performances.tar.gz ) The results you sent me last where weird, indicating no usage at all of disc space and constant read/write time. That's too good to be true :-) Could you please try again with this new version? It would be best this time to run it from a terminal with Sugar switched off. Thanks, Christophe On 8 November 2011 08:29, James Cameron qu...@laptop.org wrote: Aye, leaving Sugar running is a memory sucker. Let me know if you need further testing. -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Help with testing SemanticXO's backend
Oups! I forgot I had installed that package system-wide. It's now in the bundle, please try again :-) Christophe On 5 November 2011 01:03, James Cameron qu...@laptop.org wrote: On Fri, Nov 04, 2011 at 05:17:07PM +0100, Christophe Gu?ret wrote: wget https://github.com/downloads/cgueret/SemanticXO/performances.tar.gz tar xzf performances.tar.gz cd performances python performances_test.py /dev/null No module named rdflib. Suggestions? -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Help with testing SemanticXO's backend
Dear everyone, I recently did some scalability testing for the Journal implementation using the triple store Redstore. You can see the results for an XO-1 in this blog post: http://wp.me/p1ffiZ-59 It would be cool if one of you would be willing to run the testing script on an XO-1.5 and send me back the statistics gathered. I'm very curious to see how things work on some more powerful hardware. Testing on an XO-1.75 would also be nice but I never tried to compile the triple store for ARM, so some help for this would also be appreciated. There is a package at [1] with everything that is needed. To execute it, simply type the following from the Terminal activity: wget https://github.com/downloads/cgueret/SemanticXO/performances.tar.gz tar xzf performances.tar.gz cd performances python performances_test.py /dev/null The three CSV files that will be generated is what I need to generate the plots. It took almost 2 days to run it on the XO-1 so you may expect to wait some time before the script finishes. Looking forward to hopefully getting some cool results :-) Cheers, Christophe [1] https://github.com/downloads/cgueret/SemanticXO/performances.tar.gz ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] SemanticXO - Christoph Guéret
Hi all, If you are interested about SemanticXO and would like to try it, I'm pleased to inform you of the release of an easy to use install bundle. To install the triple store and a new journal datastore implementation, simply download these two files: https://github.com/cgueret/SemanticXO/raw/master/patch_my_xo/semanticxo.tgz https://raw.github.com/cgueret/SemanticXO/master/patch_my_xo/patch-my-xo.sh Then type as root sh ./patch-my-xo.sh setup and reboot the machine. If everything works fine, you won't see any difference ;-) All the things are happening in the backend. The new journal will store its data into the triple store. To have a look at the content of this triple store, open the browse activity and visit http://127.0.0.1:8080. You can also access this interface from a desktop PC, or an other XO, and get a remote view over the journal. Please, check out http://wp.me/1ffiZ for the latest updates about SemanticXO and don't hesitate to reply to this mail if you have any question :-) Cheers, Christophe On 14/09/11 10:37, Bastien wrote: Hi all, sunday Christophe Guéret gave a nice presentation about SemanticXO: The project SemanticXO is about bringing the latest advances in Knowledge Representation and Reasoning technologies to the XO. These technologies are centered around the publication of structured data on the Web. The global data space thereby created, the Web of Data, can be seen as a distributed data base filled with factual information about things (people, movies, places, ...) and the relations between these things. With SemanticXO, activities on the XO will be able to tap into this source of knowledge and children will be able to contribute to it. For more information, the site http://lod-cloud.net/ provides a view of the content of the Web of Data (but this is only the tip of the iceberg!). The progress of SemanticXO can be followed on http://semweb4u.wordpress.com http://www.slideshare.net/cgueret/semanticxo-connecting-the-xo-with-the-worlds-largest-information-network Since some work about extending the Journal is at stake, I thought this might be of general interest to the list. Enjoy, ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Help with OS Builder
Hi all, I'm using the OS builder to create a customized 11.2.0 for my XOs 1 and I can't figure out how to do two things: * Include a new binary which is not packaged + the related start scripts * Overwrite sugar-datastore with a custom version The informations at http://wiki.laptop.org/go/OS_Builder and the README shipped with the modules left me with no answer :-/ Can someone help me with that? Cheers, Christophe PS: I was unsure where this message should go, sorry for the cross-posting -- PhD Christophe Guéret (c.d.m.gue...@vu.nl) http://www.few.vu.nl/~cgueret/ Postdoc working on LATC (http://latc-project.eu) Knowledge Representation Reasoning Group Computational Intelligence Group Department of Computer Science, AI VU University Amsterdam attachment: c_d_m_gueret.vcf___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Help with OS Builder
On 26/08/11 13:04, Jerry Vonau wrote: On Fri, 2011-08-26 at 09:15 +0200, Christophe Guéret wrote: Hi all, I'm using the OS builder to create a customized 11.2.0 for my XOs 1 and I can't figure out how to do two things: * Include a new binary which is not packaged + the related start scripts Are your saying not in rpm format? Yep. The program is called redstore and I can compile it manually but then I have to include the binary into my images. * Overwrite sugar-datastore with a custom version As in pre-populated with entries? Nope, as in with a different datastore that replace the one commonly used :) The informations at http://wiki.laptop.org/go/OS_Builder and the README shipped with the modules left me with no answer :-/ Can someone help me with that? The only clean way would be to enable the custom_scripts module in your ini file, then write your own script. Ok, I'll have a look. Christophe -- PhD Christophe Guéret (c.d.m.gue...@vu.nl) http://www.few.vu.nl/~cgueret/ Postdoc working on LATC (http://latc-project.eu) Knowledge Representation Reasoning Group Computational Intelligence Group Department of Computer Science, AI VU University Amsterdam attachment: c_d_m_gueret.vcf___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Help with OS Builder
1) Create a yum repository with your packages in them using createrepo 2) Specify the repo in your ini file in the [yumcfg] 3) Add the packages in an appropriate kspkglist file. See the following as an example modules/sugar/kspkglist.50.sugar.inc Thanks for the suggestion Peter, however I don't think that's what I need. I don't have any RPM for the things I need to package so creating a new repository wouldn't help Christophe -- PhD Christophe Guéret (c.d.m.gue...@vu.nl) http://www.few.vu.nl/~cgueret/ Postdoc working on LATC (http://latc-project.eu) Knowledge Representation Reasoning Group Computational Intelligence Group Department of Computer Science, AI VU University Amsterdam attachment: c_d_m_gueret.vcf___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] ArchLinux packages for Sugar
Hi, I just updated sugar and sugar-datastore. Now they both compile and run on my desktop (test I did not do before...). Please let me know if they work for you as well :) Christophe On 12/13/2010 05:28 PM, Bastien wrote: Hi Christophe, Christophe Guéretc.d.m.gue...@vu.nl writes: The sugar packages for ArchLinux were orphans and outdated. I just adopted and updated a bunch of them: http://aur.archlinux.org/packages.php?SeB=mK=tolgam Fantastic! If you are an Arch user, please have a look at them and let me know if they work for you. I'm an Arch user :) I did install this: ~$ yaourt -S sugar ~$ yaourt -S sugar-base ~$ yaourt -S sugar-artwork ~$ yaourt -S sugar-toolkit ~$ yaourt -S sugar-datastore ~$ yaourt -S sugar-presence-service I then tried to add sugar-session to my .xinitrc and run startx from a tty console. No luck. I had an invalid syntax error (line 26 in sugar-session). I have both python 2.7 and 3.1 on my machine. I s/python/python2 in the first line of sugar-session to get rid of this error, but I run in another one: no module hippo found (I first thought it was related to hippo-canvas so installed this but I guess I'm wrong here.) My ArchLinux is up to date. Is there more logs I can give you? Any step-by-step install of Sugar on ArchLinux somewhere? I would *really* run Sugar natively on ArchLinux, that'd be awesome. Thanks! ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] ArchLinux packages for Sugar
Hi Cilyan, Yeah sorry, I was the previous maintainer and I wished to bring more to this amazing project, but I had to face the reality, since I have a new job I have no time anymore to maintain all this. I dropped the packages in the hope a kind volunteer would take care of them... And I happened. Thanks Christophe, I'm very glad that you can devote time to bring this amazing environment to ArchLinux. If you ever run into problems, don't hesitate to come to me, I would be happy to help as much as I can. It's nice to be able to get in touch with the previous maintainer :) I do have a question, which may be actually also answered by someone else on the list, how do I check for dependencies? Some of them are checked by the autoconf scripts but some aren't. Is there a readme file or a wiki page or something else that list the things the sugar components depend on? Christophe attachment: c_d_m_gueret.vcf___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] ArchLinux packages for Sugar
Hi Bastien, I had an invalid syntax error (line 26 in sugar-session). I have both python 2.7 and 3.1 on my machine. I s/python/python2 in the first line of sugar-session to get rid of this error, but I run in another one: no module hippo found (I first thought it was related to hippo-canvas so installed this but I guess I'm wrong here.) The invalid syntax error as to do with the switch to Python3 by default. Apparently, the lines what were supposed to force the use of python2 in the packaging are not working. Don't worry I'll fix that ;-) I think hippo is not found because it gets installed into the packages for python3... I'll check that as well. Is there more logs I can give you? Any step-by-step install of Sugar on ArchLinux somewhere? There should not be more logs needed for the moment and for the step-by-step install instructions, there is the wiki page Cilyan created: https://wiki.archlinux.org/index.php/Sugar I would *really* run Sugar natively on ArchLinux, that'd be awesome. I think so too :) Christophe attachment: c_d_m_gueret.vcf___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] ArchLinux packages for Sugar
Hi, The sugar packages for ArchLinux were orphans and outdated. I just adopted and updated a bunch of them: http://aur.archlinux.org/packages.php?SeB=mK=tolgam If you are an Arch user, please have a look at them and let me know if they work for you. Cheers, Christophe ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel