Re: [Sugar-devel] [NETWORK] Sugar Network 0.7 development release
http://wiki.sugarlabs.org/go/Sugar_Network#Try_it on existing Sugar installation, install Sugar Network activity. Installing on OLPC OS 13.1.0 build 15 results in Error PyWebKitGtk is not installed. screen, and there is no exit from the screen. The activity can be stopped from the frame or home view right-click palette. I was able to solve this error by installing packages using yum; pywebkitgtk m2crypto python-gevent But I wasn't able to get past this one: Fail to start sugar-network-client. ** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox) Traceback (most recent call last): File /home/olpc/Activities/SugarNetwork.activity/bin/sugar-network-client, line 26, in module from gevent import monkey File /home/olpc/Activities/SugarNetwork.activity/bin-packages/gevent/__init__.py, line 39, in module from gevent.hub import get_hub File /home/olpc/Activities/SugarNetwork.activity/bin-packages/gevent/hub.py, line 6, in module from gevent import core ImportError: /home/olpc/Activities/SugarNetwork.activity/bin-packages/gevent/core.so: cannot open shared object file: No such file or directory Exited with status 0, pid 1715 data (None, open file 'fdopen', mode 'w' at 0x14653e8, dbus.ByteArray('b629535020362a0152ed50319df4e221fea0fcf9', variant_level=1)) http://wiki.sugarlabs.org/go/Deployment_Platform/XO_reference_distribution#Try_reference_implementation has no reference implementation for XO-1.75 or XO-4. -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [NETWORK] Sugar Network 0.7 development release
On Fri, Nov 30, 2012 at 07:37:21PM +1100, James Cameron wrote: http://wiki.sugarlabs.org/go/Sugar_Network#Try_it on existing Sugar installation, install Sugar Network activity. Installing on OLPC OS 13.1.0 build 15 results in Error PyWebKitGtk is not installed. screen, and there is no exit from the screen. The activity can be stopped from the frame or home view right-click palette. I was able to solve this error by installing packages using yum; pywebkitgtk m2crypto python-gevent But I wasn't able to get past this one: Fail to start sugar-network-client. ** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox) Traceback (most recent call last): File /home/olpc/Activities/SugarNetwork.activity/bin/sugar-network-client, line 26, in module from gevent import monkey File /home/olpc/Activities/SugarNetwork.activity/bin-packages/gevent/__init__.py, line 39, in module from gevent.hub import get_hub File /home/olpc/Activities/SugarNetwork.activity/bin-packages/gevent/hub.py, line 6, in module from gevent import core ImportError: /home/olpc/Activities/SugarNetwork.activity/bin-packages/gevent/core.so: cannot open shared object file: No such file or directory Exited with status 0, pid 1715 data (None, open file 'fdopen', mode 'w' at 0x14653e8, dbus.ByteArray('b629535020362a0152ed50319df4e221fea0fcf9', variant_level=1)) http://wiki.sugarlabs.org/go/Activities/Sugar_Network#Dependencies The problem is that gevent-1.0 is not yet released, you have to install it manually from upstream site, https://github.com/SiteSupport/gevent/downloads (with deleting python-gevent) -- Aleksey ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [NETWORK] Sugar Network 0.7 development release
On Fri, Nov 30, 2012 at 09:05:46AM +, Aleksey Lim wrote: http://wiki.sugarlabs.org/go/Activities/Sugar_Network#Dependencies The problem is that gevent-1.0 is not yet released, you have to install it manually from upstream site, https://github.com/SiteSupport/gevent/downloads (with deleting python-gevent) Thanks! Some progress, but hit snag. # rpm -e python-gevent # yum install -y python-devel # wget https://github.com/downloads/SiteSupport/gevent/gevent-1.0rc1.tar.gz # tar xfz gevent-1.0rc1.tar.gz # cd gevent-1.0rc1 # python setup.py install # wget http://pypi.python.org/packages/source/g/greenlet/greenlet-0.3.2.zip # unzip greenlet-0.3.2.zip # cd greenlet-0.3.2 # rpm -e python-greenlet # python setup.py install # python -c 'import gevent' echo ok Started activity, response was: Sugar Network failed to start. Log file is: ** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox) 2012-11-30 10:02:59,247 INFO root: Start sugar-network-client 2012-11-30 10:02:59,265 INFO active_document.volume: Opening '/home/olpc/.sugar/default/network/db' volume 2012-11-30 10:02:59,334 DEBUG resources.volume: Publish event: {'mountpoint': '~', 'event': 'mount', 'private': True, 'name': 'Home'} 2012-11-30 10:02:59,338 INFO root: Listening for IPC requests on 5001 port 2012-11-30 10:02:59,436 INFO root: Proceed delayed start Traceback (most recent call last): File /usr/bin/sugar-activity, line 160, in module main() File /usr/bin/sugar-activity, line 155, in main instance = create_activity_instance(activity_constructor, activity_handle) File /usr/bin/sugar-activity, line 42, in create_activity_instance activity = constructor(handle) File /home/olpc/Activities/SugarNetwork.activity/activity.py, line 104, in __init__ gobject.io_add_watch(self._subscription.fileno(), File /home/olpc/Activities/SugarNetwork.activity/site-packages/sugar_network/toolkit/http.py, line 228, in fileno return self._handshake()._fp.fp.fileno() File /home/olpc/Activities/SugarNetwork.activity/site-packages/sugar_network/toolkit/http.py, line 260, in _handshake params={'cmd': 'subscribe'}) File /home/olpc/Activities/SugarNetwork.activity/site-packages/sugar_network/toolkit/http.py, line 116, in request **kwargs) File /home/olpc/Activities/SugarNetwork.activity/site-packages/requests/safe_mode.py, line 38, in wrapped return function(method, url, **kwargs) File /home/olpc/Activities/SugarNetwork.activity/site-packages/requests/api.py, line 50, in request return session.request(method=method, url=url, **kwargs) File /home/olpc/Activities/SugarNetwork.activity/site-packages/requests/sessions.py, line 238, in request r.send(prefetch=prefetch) File /home/olpc/Activities/SugarNetwork.activity/site-packages/requests/models.py, line 640, in send raise ConnectionError(sockerr) requests.exceptions.ConnectionError: [Errno 111] Connection refused Exited with status 1, pid 9059 data (None, open file 'fdopen', mode 'w' at 0xfdfc80, dbus.ByteArray('b629535020362a0152ed50319df4e221fea0fcf9', variant_level=1)) -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] offline a.sl.o
@sameer: What features (exactly) do you need from ASLO? IE, in Paraguay we just needed to provide a static repo of activities to feed the sugar updater. And we used this http://git.sugarlabs.org/dx-activities-server On Thu, Nov 29, 2012 at 10:46 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Aleksey, At the risk of asking a stupid question, what is the Sugar Network functionality you are talking about? Thanks. Gerald On Thu, Nov 29, 2012 at 8:43 PM, Aleksey Lim alsr...@sugarlabs.orgwrote: On Thu, Nov 29, 2012 at 08:20:23PM -0500, Dr. Gerald Ardito wrote: This is very interesting. I have a kind of related question. Has there been any work done for a non-internet based email server (and XO based client)? I know that Tony Anderson (now in Rwanda) is working in a school with no internet access, but with the need for email-type communication. Generally speaking, people (students and teachers) from Peruvian one-teachers offline schools might need the same offline email. But the approach that was take for Sugar Network is not trying to create full featured/partial replacement of online environments (e.g., email, web, wikipedia, feedback reporting system, etc) but create one solid/robust system (that is capable for offline) with features: * content sharing (both ways, not only from deployers to deployments) * having reliable feedback from the field, i.e., fail reports, usage statistics, questions * and social activity regarding the content in general (review, comments, etc) So, there is no direct offline-email analogy. But in my mind, designed Sugar Network functionality makes offline-email less needed (and not needed at all if we are talking about environments like rural schools with no any IT skilled people). -- Aleksey ___ 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] [NETWORK] Sugar Network 0.7 development release
On Fri, Nov 30, 2012 at 09:06:26PM +1100, James Cameron wrote: On Fri, Nov 30, 2012 at 09:05:46AM +, Aleksey Lim wrote: http://wiki.sugarlabs.org/go/Activities/Sugar_Network#Dependencies The problem is that gevent-1.0 is not yet released, you have to install it manually from upstream site, https://github.com/SiteSupport/gevent/downloads (with deleting python-gevent) Thanks! Some progress, but hit snag. # rpm -e python-gevent # yum install -y python-devel # wget https://github.com/downloads/SiteSupport/gevent/gevent-1.0rc1.tar.gz # tar xfz gevent-1.0rc1.tar.gz # cd gevent-1.0rc1 # python setup.py install # wget http://pypi.python.org/packages/source/g/greenlet/greenlet-0.3.2.zip # unzip greenlet-0.3.2.zip # cd greenlet-0.3.2 # rpm -e python-greenlet # python setup.py install # python -c 'import gevent' echo ok Started activity, response was: Sugar Network failed to start. Log file is: ** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox) 2012-11-30 10:02:59,247 INFO root: Start sugar-network-client 2012-11-30 10:02:59,265 INFO active_document.volume: Opening '/home/olpc/.sugar/default/network/db' volume 2012-11-30 10:02:59,334 DEBUG resources.volume: Publish event: {'mountpoint': '~', 'event': 'mount', 'private': True, 'name': 'Home'} 2012-11-30 10:02:59,338 INFO root: Listening for IPC requests on 5001 port 2012-11-30 10:02:59,436 INFO root: Proceed delayed start Traceback (most recent call last): File /usr/bin/sugar-activity, line 160, in module main() File /usr/bin/sugar-activity, line 155, in main instance = create_activity_instance(activity_constructor, activity_handle) File /usr/bin/sugar-activity, line 42, in create_activity_instance activity = constructor(handle) File /home/olpc/Activities/SugarNetwork.activity/activity.py, line 104, in __init__ gobject.io_add_watch(self._subscription.fileno(), File /home/olpc/Activities/SugarNetwork.activity/site-packages/sugar_network/toolkit/http.py, line 228, in fileno return self._handshake()._fp.fp.fileno() File /home/olpc/Activities/SugarNetwork.activity/site-packages/sugar_network/toolkit/http.py, line 260, in _handshake params={'cmd': 'subscribe'}) File /home/olpc/Activities/SugarNetwork.activity/site-packages/sugar_network/toolkit/http.py, line 116, in request **kwargs) File /home/olpc/Activities/SugarNetwork.activity/site-packages/requests/safe_mode.py, line 38, in wrapped return function(method, url, **kwargs) File /home/olpc/Activities/SugarNetwork.activity/site-packages/requests/api.py, line 50, in request return session.request(method=method, url=url, **kwargs) File /home/olpc/Activities/SugarNetwork.activity/site-packages/requests/sessions.py, line 238, in request r.send(prefetch=prefetch) File /home/olpc/Activities/SugarNetwork.activity/site-packages/requests/models.py, line 640, in send raise ConnectionError(sockerr) requests.exceptions.ConnectionError: [Errno 111] Connection refused Exited with status 1, pid 9059 data (None, open file 'fdopen', mode 'w' at 0xfdfc80, dbus.ByteArray('b629535020362a0152ed50319df4e221fea0fcf9', variant_level=1)) Looks like there is a race (sugar-network-client was spawned but not yet started listening for connections). Try to add time.sleep(3) to /home/olpc/Activities/SugarNetwork.activity/activity.py:87. Will try to fix this issue in more regular way. -- Aleksey ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Sugar Digest 2012-11-30
== Sugar Digest == “Believe those who seek the truth, doubt those who find it; doubt all, but do not doubt yourself.” (Croyez ceux qui cherchent la vérité, doutez de ceux qui la trouvent; doutez de tout, mais ne doutez pas de vous-même.) -André Gide It has been a very exciting week. (You may have noticed, I don't often use adverbs, but very was called for given all that has happened.) 1. Simon Schampijer announced the release of Sugar 0.98. This is a major milestone for Sugar Labs as it is the first release that takes touch seriously. It also incorportates many improvements to the GTK3 port. The Sugar Developer Team deserves a resounding celebatory cheer of thanks for a their effort. Read the release notes here [1]. (Note that OLPC has been incorporating Sugar 0.98 in their 13.1 series of builds, available for download here [2] to run on XO hardware.) 2. Google Code-In [3] began on Monday. We have 22 mentors [4], 40 students [5], and 79 out of 132 tasks already completed [6]. (More tasks are coming on-line soon.) The contest runs for 6 weeks, so it is not too late to sign up as a mentor [7] and to recruit students to participate [8]. Some highlights include new tutorials for Turtle Art, using Sugar in a Virtual Machine, and using Sugar on a Stick; a new feature: load a background image on the home screen; and numerous patches in support of internationalization. Some of the usual suspects are making their usual outstanding contributions, while some new talent is also emerging. Thanks to everyone (mentors, students, and Google) for participating. 3. Sugar Labs is holding its annual election to the oversight board early next month. If you are interested in running for one of the open board seats, open to any community member, please contact me or the membership committee with any questions *before* 7 December. === Tech Talk === 4. Aleksey Lim announced the Sugar Network 0.7 development release. See [9] for details on how to try it. === Sugar Labs === Visit our planet [10] for more updates about Sugar and Sugar deployments. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org [1] http://wiki.sugarlabs.org/go/0.98/Notes [2] http://build.laptop.org/13.1.0/ [3] http://www.google-melange.com/gci/homepage/google/gci2012 [4] http://www.google-melange.com/gci/dashboard/google/gci2012#all_orgs_mentors [5] http://www.google-melange.com/gci/org_scores/google/gci2012/sugarlabs2012 [6] http://www.google-melange.com/gci/dashboard/google/gci2012#all_org_tasks [7] http://wiki.sugarlabs.org/go/GoogleCodeIn2012/Participate#Mentors [8] http://wiki.sugarlabs.org/go/GoogleCodeIn2012/Participate#Students [9] http://wiki.sugarlabs.org/go/Sugar_Network#Try_it [10] http://planet.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [IAEP] Sugar Digest 2012-11-30
On Fri, Nov 30, 2012 at 4:00 PM, Walter Bender walter.ben...@gmail.com wrote: == Sugar Digest == “Believe those who seek the truth, doubt those who find it; doubt all, but do not doubt yourself.” (Croyez ceux qui cherchent la vérité, doutez de ceux qui la trouvent; doutez de tout, mais ne doutez pas de vous-même.) -André Gide It has been a very exciting week. (You may have noticed, I don't often use adverbs, but very was called for given all that has happened.) 1. Simon Schampijer announced the release of Sugar 0.98. This is a major milestone for Sugar Labs as it is the first release that takes touch seriously. It also incorportates many improvements to the GTK3 port. The Sugar Developer Team deserves a resounding celebatory cheer of thanks for a their effort. Read the release notes here [1]. (Note that OLPC has been incorporating Sugar 0.98 in their 13.1 series of builds, available for download here [2] to run on XO hardware.) It will also appear in the next nightly build of SoaS v8, I'll provide a link when it's available. 2. Google Code-In [3] began on Monday. We have 22 mentors [4], 40 students [5], and 79 out of 132 tasks already completed [6]. (More tasks are coming on-line soon.) The contest runs for 6 weeks, so it is not too late to sign up as a mentor [7] and to recruit students to participate [8]. Some highlights include new tutorials for Turtle Art, using Sugar in a Virtual Machine, and using Sugar on a Stick; a new feature: load a background image on the home screen; and numerous patches in support of internationalization. Some of the usual suspects are making their usual outstanding contributions, while some new talent is also emerging. Thanks to everyone (mentors, students, and Google) for participating. I'd be interested in what's happening on SoaS. 3. Sugar Labs is holding its annual election to the oversight board early next month. If you are interested in running for one of the open board seats, open to any community member, please contact me or the membership committee with any questions *before* 7 December. === Tech Talk === 4. Aleksey Lim announced the Sugar Network 0.7 development release. See [9] for details on how to try it. === Sugar Labs === Visit our planet [10] for more updates about Sugar and Sugar deployments. -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org [1] http://wiki.sugarlabs.org/go/0.98/Notes [2] http://build.laptop.org/13.1.0/ [3] http://www.google-melange.com/gci/homepage/google/gci2012 [4] http://www.google-melange.com/gci/dashboard/google/gci2012#all_orgs_mentors [5] http://www.google-melange.com/gci/org_scores/google/gci2012/sugarlabs2012 [6] http://www.google-melange.com/gci/dashboard/google/gci2012#all_org_tasks [7] http://wiki.sugarlabs.org/go/GoogleCodeIn2012/Participate#Mentors [8] http://wiki.sugarlabs.org/go/GoogleCodeIn2012/Participate#Students [9] http://wiki.sugarlabs.org/go/Sugar_Network#Try_it [10] http://planet.sugarlabs.org ___ IAEP -- It's An Education Project (not a laptop project!) i...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [sugar-update-control PATCH 1/2] Now, the selecting/unselecting particular activities works.
Thanks for the patch. If you'd like to speed up the process and save me some time, please add a commit message explaining what was wrong and how/why this fixes it. It does not jump out at me from the patch. It also doesn't feel like the right place to be doing a spring cleaning of the activities model. On Tue, Nov 27, 2012 at 10:31 AM, Ajay Garg a...@activitycentral.com wrote: diff --git a/src/model.py b/src/model.py index 35896e2..533183b 100755 --- a/src/model.py +++ b/src/model.py @@ -229,7 +229,13 @@ class UpdateList(Gtk.ListStore): def toggle_select(self, path): Toggle whether the given update will be installed. -row = self[path] +# We first need to remove all the spurious activities existing +# in the model, for whom UPDATE_EXISTS is False. +for act in self: +if act[UPDATE_EXISTS] is False: +self.remove(act.iter) + +row = self[self.get_iter_from_string(path)] row[UPDATE_SELECTED] = not row[UPDATE_SELECTED] # don't touch the UI in refresh, it needs to be thread-safe. diff --git a/src/view.py b/src/view.py index 32cb580..9c8efdb 100755 --- a/src/view.py +++ b/src/view.py @@ -84,7 +84,6 @@ class ActivityListView(Gtk.ScrolledWindow): if self.activity_updater._in_sugar: crbool.set_property('indicator_size', style.zoom(26)) def toggled_cb(crbool, path, self): -path = self.ftreestore.convert_path_to_child_path(path) self.activity_updater.activity_list.toggle_select(path) self.activity_pane._refresh_update_size() crbool.connect('toggled', toggled_cb, self) -- 1.7.11.7 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] 13.1 ? and 12 ? Re: [IAEP] Sugar Digest 2012-11-30
questions: 1) Are there Release 13 files for testing on XO-1 I can try? As is of record, I am most concerned on how the msp430 toolkit will build. Significant issues with os 12 repositories... http://processors.wiki.ti.com/index.php/OLPC_XO-1 2) What is the role of these 31012 builds? are they meant as an official update? are they undergoing further testing? In short, should I point people to those instead of to the 21021? background: the link Walter offers (thanks!) http://build.laptop.org/13.1.0/os13/ has only XO-4 files... while http://wiki.laptop.org/go/13.1.0#XO-1 would seem to indicate there are some XO-1 files somewhere Also, if I look for 12.1 files, here: http://build.laptop.org/13.1.0/os12/xo-1/ they are named 31012 while http://wiki.laptop.org/go/Release_notes/12.1.0#XO-1 points to 21021 ones BTW, the os14 directories /do/ have X0-1 files, but I guess that's trying timetravel :-) http://build.laptop.org/13.1.0/os14/ thank you! On 11/30/2012 10:00 AM, Walter Bender wrote: snip 1. Simon Schampijer announced the release of Sugar 0.98. This is a major milestone for Sugar Labs as it is the first release that takes touch seriously. It also incorportates many improvements to the GTK3 port. The Sugar Developer Team deserves a resounding celebatory cheer of thanks for a their effort. Read the release notes here [1]. (Note that OLPC has been incorporating Sugar 0.98 in their 13.1 series of builds, available for download here [2] to run on XO hardware.) [2] http://build.laptop.org/13.1.0/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [IAEP] 13.1 ? and 12 ? Re: Sugar Digest 2012-11-30
On Fri, Nov 30, 2012 at 1:07 PM, Yama Ploskonka yamap...@gmail.com wrote: questions: 1) Are there Release 13 files for testing on XO-1 I can try? I apologize if I was not clear. The 13.1 series is still under development. It is not a stable release and will only load on machines that have developer keys. There are builds for XO 1, e.g., http://build.laptop.org/13.1.0/os15/xo-1/ As is of record, I am most concerned on how the msp430 toolkit will build. Significant issues with os 12 repositories... http://processors.wiki.ti.com/index.php/OLPC_XO-1 2) What is the role of these 31012 builds? are they meant as an official update? are they undergoing further testing? In short, should I point people to those instead of to the 21021? background: the link Walter offers (thanks!) http://build.laptop.org/13.1.0/os13/ has only XO-4 files... while http://wiki.laptop.org/go/13.1.0#XO-1 would seem to indicate there are some XO-1 files somewhere Not every spin is built for every machine, but there should be builds for XO-1 for most spins. Also, if I look for 12.1 files, here: http://build.laptop.org/13.1.0/os12/xo-1/ they are named 31012 while http://wiki.laptop.org/go/Release_notes/12.1.0#XO-1 points to 21021 ones BTW, the os14 directories /do/ have X0-1 files, but I guess that's trying timetravel :-) http://build.laptop.org/13.1.0/os14/ thank you! On 11/30/2012 10:00 AM, Walter Bender wrote: snip 1. Simon Schampijer announced the release of Sugar 0.98. This is a major milestone for Sugar Labs as it is the first release that takes touch seriously. It also incorportates many improvements to the GTK3 port. The Sugar Developer Team deserves a resounding celebatory cheer of thanks for a their effort. Read the release notes here [1]. (Note that OLPC has been incorporating Sugar 0.98 in their 13.1 series of builds, available for download here [2] to run on XO hardware.) [2] http://build.laptop.org/13.1.0/ ___ IAEP -- It's An Education Project (not a laptop project!) i...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] 13.1 ? and 12 ? Re: [IAEP] Sugar Digest 2012-11-30
If you use the parent directory, you can browse all files.. http://build.laptop.org/13.1.0/ And think that the latest it's the annunced: http://build.laptop.org/13.1.0/os15/ I'm wrong? Regards! Alan Date: Fri, 30 Nov 2012 12:07:20 -0600 From: yamap...@gmail.com CC: i...@lists.sugarlabs.org; sugar-devel@lists.sugarlabs.org Subject: [Sugar-devel] 13.1 ? and 12 ? Re: [IAEP] Sugar Digest 2012-11-30 questions: 1) Are there Release 13 files for testing on XO-1 I can try? As is of record, I am most concerned on how the msp430 toolkit will build. Significant issues with os 12 repositories... http://processors.wiki.ti.com/index.php/OLPC_XO-1 2) What is the role of these 31012 builds? are they meant as an official update? are they undergoing further testing? In short, should I point people to those instead of to the 21021? background: the link Walter offers (thanks!) http://build.laptop.org/13.1.0/os13/ has only XO-4 files... while http://wiki.laptop.org/go/13.1.0#XO-1 would seem to indicate there are some XO-1 files somewhere Also, if I look for 12.1 files, here: http://build.laptop.org/13.1.0/os12/xo-1/ they are named 31012 while http://wiki.laptop.org/go/Release_notes/12.1.0#XO-1 points to 21021 ones BTW, the os14 directories /do/ have X0-1 files, but I guess that's trying timetravel :-) http://build.laptop.org/13.1.0/os14/ thank you! On 11/30/2012 10:00 AM, Walter Bender wrote: snip 1. Simon Schampijer announced the release of Sugar 0.98. This is a major milestone for Sugar Labs as it is the first release that takes touch seriously. It also incorportates many improvements to the GTK3 port. The Sugar Developer Team deserves a resounding celebatory cheer of thanks for a their effort. Read the release notes here [1]. (Note that OLPC has been incorporating Sugar 0.98 in their 13.1 series of builds, available for download here [2] to run on XO hardware.) [2] http://build.laptop.org/13.1.0/ ___ 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] [IAEP] 13.1 ? and 12 ? Re: Sugar Digest 2012-11-30
Thank you again! maybe I got this wrong. what happens is that I do not understand the nature of the os## folder names, and, bottom line, how can I help most to get the repositories right this time for the msp430 toolchain. I can test with XO-1 with dev key. If I get right the meaning of spin, the os## moniker would be the corresponding Fedora release? I get that from http://wiki.laptop.org/go/Fedora_on_XO so, the link you indicate, http://build.laptop.org/13.1.0/os15/xo-1/ would be based on Fedora 15? On 11/30/2012 12:14 PM, Walter Bender wrote: On Fri, Nov 30, 2012 at 1:07 PM, Yama Ploskonka yamap...@gmail.com wrote: questions: 1) Are there Release 13 files for testing on XO-1 I can try? I apologize if I was not clear. The 13.1 series is still under development. It is not a stable release and will only load on machines that have developer keys. There are builds for XO 1, e.g., http://build.laptop.org/13.1.0/os15/xo-1/ As is of record, I am most concerned on how the msp430 toolkit will build. Significant issues with os 12 repositories... http://processors.wiki.ti.com/index.php/OLPC_XO-1 2) What is the role of these 31012 builds? are they meant as an official update? are they undergoing further testing? In short, should I point people to those instead of to the 21021? background: the link Walter offers (thanks!) http://build.laptop.org/13.1.0/os13/ has only XO-4 files... while http://wiki.laptop.org/go/13.1.0#XO-1 would seem to indicate there are some XO-1 files somewhere Not every spin is built for every machine, but there should be builds for XO-1 for most spins. Also, if I look for 12.1 files, here: http://build.laptop.org/13.1.0/os12/xo-1/ they are named 31012 while http://wiki.laptop.org/go/Release_notes/12.1.0#XO-1 points to 21021 ones BTW, the os14 directories /do/ have X0-1 files, but I guess that's trying timetravel :-) http://build.laptop.org/13.1.0/os14/ thank you! On 11/30/2012 10:00 AM, Walter Bender wrote: snip 1. Simon Schampijer announced the release of Sugar 0.98. This is a major milestone for Sugar Labs as it is the first release that takes touch seriously. It also incorportates many improvements to the GTK3 port. The Sugar Developer Team deserves a resounding celebatory cheer of thanks for a their effort. Read the release notes here [1]. (Note that OLPC has been incorporating Sugar 0.98 in their 13.1 series of builds, available for download here [2] to run on XO hardware.) [2] http://build.laptop.org/13.1.0/ ___ IAEP -- It's An Education Project (not a laptop project!) i...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [IAEP] 13.1 ? and 12 ? Re: Sugar Digest 2012-11-30
sorry, certified ignoramus here, I got it (I hope...). The spins are the updated build, as developers upload their bestest and latest. So, if I test, I should test spin os15 (or later, as things move along) AND those numbers have nothing to do with OLPC OS releases. Thanks! On 11/30/2012 12:47 PM, Yama Ploskonka wrote: Thank you again! maybe I got this wrong. what happens is that I do not understand the nature of the os## folder names, and, bottom line, how can I help most to get the repositories right this time for the msp430 toolchain. I can test with XO-1 with dev key. If I get right the meaning of spin, the os## moniker would be the corresponding Fedora release? I get that from http://wiki.laptop.org/go/Fedora_on_XO so, the link you indicate, http://build.laptop.org/13.1.0/os15/xo-1/ would be based on Fedora 15? On 11/30/2012 12:14 PM, Walter Bender wrote: On Fri, Nov 30, 2012 at 1:07 PM, Yama Ploskonka yamap...@gmail.com wrote: questions: 1) Are there Release 13 files for testing on XO-1 I can try? I apologize if I was not clear. The 13.1 series is still under development. It is not a stable release and will only load on machines that have developer keys. There are builds for XO 1, e.g., http://build.laptop.org/13.1.0/os15/xo-1/ As is of record, I am most concerned on how the msp430 toolkit will build. Significant issues with os 12 repositories... http://processors.wiki.ti.com/index.php/OLPC_XO-1 2) What is the role of these 31012 builds? are they meant as an official update? are they undergoing further testing? In short, should I point people to those instead of to the 21021? background: the link Walter offers (thanks!) http://build.laptop.org/13.1.0/os13/ has only XO-4 files... while http://wiki.laptop.org/go/13.1.0#XO-1 would seem to indicate there are some XO-1 files somewhere Not every spin is built for every machine, but there should be builds for XO-1 for most spins. Also, if I look for 12.1 files, here: http://build.laptop.org/13.1.0/os12/xo-1/ they are named 31012 while http://wiki.laptop.org/go/Release_notes/12.1.0#XO-1 points to 21021 ones BTW, the os14 directories /do/ have X0-1 files, but I guess that's trying timetravel :-) http://build.laptop.org/13.1.0/os14/ thank you! On 11/30/2012 10:00 AM, Walter Bender wrote: snip 1. Simon Schampijer announced the release of Sugar 0.98. This is a major milestone for Sugar Labs as it is the first release that takes touch seriously. It also incorportates many improvements to the GTK3 port. The Sugar Developer Team deserves a resounding celebatory cheer of thanks for a their effort. Read the release notes here [1]. (Note that OLPC has been incorporating Sugar 0.98 in their 13.1 series of builds, available for download here [2] to run on XO hardware.) [2] http://build.laptop.org/13.1.0/ ___ IAEP -- It's An Education Project (not a laptop project!) i...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] 13.1 ? and 12 ? Re: [IAEP] Sugar Digest 2012-11-30
On Fri, Nov 30, 2012 at 12:07 PM, Yama Ploskonka yamap...@gmail.com wrote: 2) What is the role of these 31012 builds? are they meant as an official update? are they undergoing further testing? In short, should I point people to those instead of to the 21021? The naming scheme is described here: http://wiki.laptop.org/go/Release_Process#Version_numbering So really what you are asking is: should you point people at 12.1 or 13.1? http://wiki.laptop.org/go/Releases shows you that 12.1 is the latest stable, and 13.1 is in development. So it depends if you are working with users or developers... background: the link Walter offers (thanks!) http://build.laptop.org/13.1.0/os13/ has only XO-4 files... The de...@lists.laptop.org list has build announcements - thats the best place to keep up with whats going on. In this case build 13 was never announced; the build 12 announcement did mention that build 13 would be XO-4 only. Also, if I look for 12.1 files, here: http://build.laptop.org/13.1.0/os12/xo-1/ they are named 31012 Your mistake here would be that you are looking for 12.1 files in a 13.1.0 directory. You can find 12.1 final on http://download.laptop.org or on the link you include below: while http://wiki.laptop.org/go/Release_notes/12.1.0#XO-1 points to 21021 ones That is the 12.1 final release. BTW, the os14 directories /do/ have X0-1 files, but I guess that's trying timetravel :-) http://build.laptop.org/13.1.0/os14/ Thats 13.1.0 build 14, the latest announced 13.1 development build. Daniel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [IAEP] 13.1 ? and 12 ? Re: Sugar Digest 2012-11-30
thank you, Daniel, I was confused between build, spin, OLPC version, Fedora version I guess I got it now, and I should test, for example, build 12 of version 13... as being the lates6t /announced/ for XO-1 There are newer builds (like build 15), but from your note I infer I should not use those I do not dare join devel anymore. I don't understand much, and what I think I understand I often got wroing BTW, I have it from the guys that pack it that the Fedora 18 msp430 toolchain is operational (up to Fedora 17, it is a mess, very very old stuffs in repositories) will test it soon Thank you again! On 11/30/2012 01:27 PM, Daniel Drake wrote: On Fri, Nov 30, 2012 at 12:07 PM, Yama Ploskonka yamap...@gmail.com wrote: 2) What is the role of these 31012 builds? are they meant as an official update? are they undergoing further testing? In short, should I point people to those instead of to the 21021? The naming scheme is described here: http://wiki.laptop.org/go/Release_Process#Version_numbering So really what you are asking is: should you point people at 12.1 or 13.1? http://wiki.laptop.org/go/Releases shows you that 12.1 is the latest stable, and 13.1 is in development. So it depends if you are working with users or developers... background: the link Walter offers (thanks!) http://build.laptop.org/13.1.0/os13/ has only XO-4 files... The de...@lists.laptop.org list has build announcements - thats the best place to keep up with whats going on. In this case build 13 was never announced; the build 12 announcement did mention that build 13 would be XO-4 only. Also, if I look for 12.1 files, here: http://build.laptop.org/13.1.0/os12/xo-1/ they are named 31012 Your mistake here would be that you are looking for 12.1 files in a 13.1.0 directory. You can find 12.1 final on http://download.laptop.org or on the link you include below: while http://wiki.laptop.org/go/Release_notes/12.1.0#XO-1 points to 21021 ones That is the 12.1 final release. BTW, the os14 directories /do/ have X0-1 files, but I guess that's trying timetravel :-) http://build.laptop.org/13.1.0/os14/ Thats 13.1.0 build 14, the latest announced 13.1 development build. Daniel ___ IAEP -- It's An Education Project (not a laptop project!) i...@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/iaep ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [IAEP] Sugar Digest 2012-11-30
I am wondering if I did the best possible job setting up my tasks for the Google code-in. Judging from http://www.google-melange.com/gci/dashboard/google/gci2012#all_org_tasks it looks like lots of small tasks are most attractive to potential students. I wrote up a little page explaining some possible improvements, each one of which could be considered a task, but on Melange it looks like updating the book is considered one big task. So I'm wondering if that needs to be changed and how to go about it. Whether it as part of the Google code-in or not, I hope to work with the Python Joven and others like them to make an improved version of MYOSA and give them a shot at literary immortality. It isn't fair for me to keep all of it for myself. James Simmons 2. Google Code-In [3] began on Monday. We have 22 mentors [4], 40 students [5], and 79 out of 132 tasks already completed [6]. (More tasks are coming on-line soon.) The contest runs for 6 weeks, so it is not too late to sign up as a mentor [7] and to recruit students to participate [8]. Some highlights include new tutorials for Turtle Art, using Sugar in a Virtual Machine, and using Sugar on a Stick; a new feature: load a background image on the home screen; and numerous patches in support of internationalization. Some of the usual suspects are making their usual outstanding contributions, while some new talent is also emerging. Thanks to everyone (mentors, students, and Google) for participating. [6] http://www.google-melange.com/gci/dashboard/google/gci2012#all_org_tasks ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [IAEP] Sugar Digest 2012-11-30
Perhaps we could break the editing update into chapters. -walter On Fri, Nov 30, 2012 at 3:44 PM, James Simmons nices...@gmail.com wrote: I am wondering if I did the best possible job setting up my tasks for the Google code-in. Judging from http://www.google-melange.com/gci/dashboard/google/gci2012#all_org_tasks it looks like lots of small tasks are most attractive to potential students. I wrote up a little page explaining some possible improvements, each one of which could be considered a task, but on Melange it looks like updating the book is considered one big task. So I'm wondering if that needs to be changed and how to go about it. Whether it as part of the Google code-in or not, I hope to work with the Python Joven and others like them to make an improved version of MYOSA and give them a shot at literary immortality. It isn't fair for me to keep all of it for myself. James Simmons 2. Google Code-In [3] began on Monday. We have 22 mentors [4], 40 students [5], and 79 out of 132 tasks already completed [6]. (More tasks are coming on-line soon.) The contest runs for 6 weeks, so it is not too late to sign up as a mentor [7] and to recruit students to participate [8]. Some highlights include new tutorials for Turtle Art, using Sugar in a Virtual Machine, and using Sugar on a Stick; a new feature: load a background image on the home screen; and numerous patches in support of internationalization. Some of the usual suspects are making their usual outstanding contributions, while some new talent is also emerging. Thanks to everyone (mentors, students, and Google) for participating. [6] http://www.google-melange.com/gci/dashboard/google/gci2012#all_org_tasks -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [sugar-update-control PATCH 1/2] Now, the selecting/unselecting particular activities works.
Daniel, I agree that the reason of applying this particular fix is not very well explained, but this was the best that worked, without breaking anything else. To put it logically, once the list is rendered, we do not need any not-updatable activity entries anyway; also the only next step after the rendering, is Refresh, wherein the entire process is followed again. Anyhow, as long as all the use-cases work as expected, we should be ok :) It would be good if it is known whether the Select/Deselect feature worked at all previously (I doubt it ever did). In the unlikely scenario that it worked before, I will be happy to delve in more into this. On Fri, Nov 30, 2012 at 10:47 PM, Daniel Drake d...@laptop.org wrote: Thanks for the patch. If you'd like to speed up the process and save me some time, please add a commit message explaining what was wrong and how/why this fixes it. It does not jump out at me from the patch. It also doesn't feel like the right place to be doing a spring cleaning of the activities model. On Tue, Nov 27, 2012 at 10:31 AM, Ajay Garg a...@activitycentral.com wrote: diff --git a/src/model.py b/src/model.py index 35896e2..533183b 100755 --- a/src/model.py +++ b/src/model.py @@ -229,7 +229,13 @@ class UpdateList(Gtk.ListStore): def toggle_select(self, path): Toggle whether the given update will be installed. -row = self[path] +# We first need to remove all the spurious activities existing +# in the model, for whom UPDATE_EXISTS is False. +for act in self: +if act[UPDATE_EXISTS] is False: +self.remove(act.iter) + +row = self[self.get_iter_from_string(path)] row[UPDATE_SELECTED] = not row[UPDATE_SELECTED] # don't touch the UI in refresh, it needs to be thread-safe. diff --git a/src/view.py b/src/view.py index 32cb580..9c8efdb 100755 --- a/src/view.py +++ b/src/view.py @@ -84,7 +84,6 @@ class ActivityListView(Gtk.ScrolledWindow): if self.activity_updater._in_sugar: crbool.set_property('indicator_size', style.zoom(26)) def toggled_cb(crbool, path, self): -path = self.ftreestore.convert_path_to_child_path(path) self.activity_updater.activity_list.toggle_select(path) self.activity_pane._refresh_update_size() crbool.connect('toggled', toggled_cb, self) -- 1.7.11.7 Regards, Ajay Garg Dextrose Developer Activity Central: http://activitycentral.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] offline a.sl.o
On Fri, Nov 30, 2012 at 2:59 AM, Martin Abente martin.abente.lah...@gmail.com wrote: @sameer: What features (exactly) do you need from ASLO? IE, in Paraguay we just needed to provide a static repo of activities to feed the sugar updater. And we used this http://git.sugarlabs.org/dx-activities-server This is pretty much what i'm looking for as well. Sameer On Thu, Nov 29, 2012 at 10:46 PM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Aleksey, At the risk of asking a stupid question, what is the Sugar Network functionality you are talking about? Thanks. Gerald On Thu, Nov 29, 2012 at 8:43 PM, Aleksey Lim alsr...@sugarlabs.orgwrote: On Thu, Nov 29, 2012 at 08:20:23PM -0500, Dr. Gerald Ardito wrote: This is very interesting. I have a kind of related question. Has there been any work done for a non-internet based email server (and XO based client)? I know that Tony Anderson (now in Rwanda) is working in a school with no internet access, but with the need for email-type communication. Generally speaking, people (students and teachers) from Peruvian one-teachers offline schools might need the same offline email. But the approach that was take for Sugar Network is not trying to create full featured/partial replacement of online environments (e.g., email, web, wikipedia, feedback reporting system, etc) but create one solid/robust system (that is capable for offline) with features: * content sharing (both ways, not only from deployers to deployments) * having reliable feedback from the field, i.e., fail reports, usage statistics, questions * and social activity regarding the content in general (review, comments, etc) So, there is no direct offline-email analogy. But in my mind, designed Sugar Network functionality makes offline-email less needed (and not needed at all if we are talking about environments like rural schools with no any IT skilled people). -- Aleksey ___ 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 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [IAEP] Sugar Digest 2012-11-30
Walter, This was my write-up: http://wiki.sugarlabs.org/go/GoogleCodeIn2012/MYOSA I had eight sub-tasks in there, which included proposals for new chapters and a couple of suggestions for the existing chapters, mostly involving GTK3 porting. I thought giving students the option of making their own chapters would be a better incentive than the necessary drudgery of updating the existing ones, which I can take on myself. Since we are still shipping the old GTK the existing book still works. We could leave well enough alone and add a chapter on migrating to GTK3 plus create new entries in the Git repository with the code samples migrated. I don't see updating individual chapters as attractive tasks, and I don't think a student would either. I was more concerned that the Melange only shows this as one big task rather than eight. Again, if it turns out that GCI comes and goes and nobody chooses to work on this I'll still work with anyone who wants to add a chapter to the book, on his (or her) own terms, and buy them a printed copy of the book and ship it to where they live. That person will also get his picture on the back cover and any other inducement I can reasonably offer. James Simmons On Fri, Nov 30, 2012 at 2:54 PM, Walter Bender walter.ben...@gmail.comwrote: Perhaps we could break the editing update into chapters. -walter On Fri, Nov 30, 2012 at 3:44 PM, James Simmons nices...@gmail.com wrote: I am wondering if I did the best possible job setting up my tasks for the Google code-in. Judging from http://www.google-melange.com/gci/dashboard/google/gci2012#all_org_tasks it looks like lots of small tasks are most attractive to potential students. I wrote up a little page explaining some possible improvements, each one of which could be considered a task, but on Melange it looks like updating the book is considered one big task. So I'm wondering if that needs to be changed and how to go about it. Whether it as part of the Google code-in or not, I hope to work with the Python Joven and others like them to make an improved version of MYOSA and give them a shot at literary immortality. It isn't fair for me to keep all of it for myself. James Simmons 2. Google Code-In [3] began on Monday. We have 22 mentors [4], 40 students [5], and 79 out of 132 tasks already completed [6]. (More tasks are coming on-line soon.) The contest runs for 6 weeks, so it is not too late to sign up as a mentor [7] and to recruit students to participate [8]. Some highlights include new tutorials for Turtle Art, using Sugar in a Virtual Machine, and using Sugar on a Stick; a new feature: load a background image on the home screen; and numerous patches in support of internationalization. Some of the usual suspects are making their usual outstanding contributions, while some new talent is also emerging. Thanks to everyone (mentors, students, and Google) for participating. [6] http://www.google-melange.com/gci/dashboard/google/gci2012#all_org_tasks -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [IAEP] Sugar Digest 2012-11-30
I'll make it into eight separate tasks... On Fri, Nov 30, 2012 at 5:16 PM, James Simmons nices...@gmail.com wrote: Walter, This was my write-up: http://wiki.sugarlabs.org/go/GoogleCodeIn2012/MYOSA I had eight sub-tasks in there, which included proposals for new chapters and a couple of suggestions for the existing chapters, mostly involving GTK3 porting. I thought giving students the option of making their own chapters would be a better incentive than the necessary drudgery of updating the existing ones, which I can take on myself. Since we are still shipping the old GTK the existing book still works. We could leave well enough alone and add a chapter on migrating to GTK3 plus create new entries in the Git repository with the code samples migrated. I don't see updating individual chapters as attractive tasks, and I don't think a student would either. I was more concerned that the Melange only shows this as one big task rather than eight. Again, if it turns out that GCI comes and goes and nobody chooses to work on this I'll still work with anyone who wants to add a chapter to the book, on his (or her) own terms, and buy them a printed copy of the book and ship it to where they live. That person will also get his picture on the back cover and any other inducement I can reasonably offer. James Simmons On Fri, Nov 30, 2012 at 2:54 PM, Walter Bender walter.ben...@gmail.com wrote: Perhaps we could break the editing update into chapters. -walter On Fri, Nov 30, 2012 at 3:44 PM, James Simmons nices...@gmail.com wrote: I am wondering if I did the best possible job setting up my tasks for the Google code-in. Judging from http://www.google-melange.com/gci/dashboard/google/gci2012#all_org_tasks it looks like lots of small tasks are most attractive to potential students. I wrote up a little page explaining some possible improvements, each one of which could be considered a task, but on Melange it looks like updating the book is considered one big task. So I'm wondering if that needs to be changed and how to go about it. Whether it as part of the Google code-in or not, I hope to work with the Python Joven and others like them to make an improved version of MYOSA and give them a shot at literary immortality. It isn't fair for me to keep all of it for myself. James Simmons 2. Google Code-In [3] began on Monday. We have 22 mentors [4], 40 students [5], and 79 out of 132 tasks already completed [6]. (More tasks are coming on-line soon.) The contest runs for 6 weeks, so it is not too late to sign up as a mentor [7] and to recruit students to participate [8]. Some highlights include new tutorials for Turtle Art, using Sugar in a Virtual Machine, and using Sugar on a Stick; a new feature: load a background image on the home screen; and numerous patches in support of internationalization. Some of the usual suspects are making their usual outstanding contributions, while some new talent is also emerging. Thanks to everyone (mentors, students, and Google) for participating. [6] http://www.google-melange.com/gci/dashboard/google/gci2012#all_org_tasks -- Walter Bender Sugar Labs http://www.sugarlabs.org -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [NETWORK] Sugar Network 0.7 development release
On Fri, Nov 30, 2012 at 11:43:58AM +, Aleksey Lim wrote: Looks like there is a race (sugar-network-client was spawned but not yet started listening for connections). Try to add time.sleep(3) to /home/olpc/Activities/SugarNetwork.activity/activity.py:87. Tried sleep(3) and sleep(5), no change to symptom. Used strace to investigate the processes created and destroyed, and found a child of sugar-network-client did SIGSEGV, which caused SIGCHLD to parent, which caused sugar-network-client to exit. Output of strace -p sugar-session-pid -ff -o sn is available in http://dev.laptop.org/~quozl/2012-12-01-sugar-network-xo-4-sigsegv.tar.gz -- 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] Trouble building sugarlabs
Hello, My name is John Kim, and I'm interested in coding for sugar development. I'm trying to build sugar with the make command, and I seem to be having trouble. I am following the Building from sources from the Sugar Documentation. I first cloned sugar-build. http://git.sugarlabs.org/sugar-build/sugar-build My output: http://pastebin.com/pu7TjkEw I don't understand the key error. How can I fix this? Thanks. John Kim ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Trouble building sugarlabs
Hi, What distribution you are using? Fedora?You make a git pull recently?It's this your latest commit: a04756c244b618776bbc8f6a417799e82da0de05 ? The error seems a encode problem.. Alan Date: Fri, 30 Nov 2012 21:21:53 -0800 From: thinkn...@gmail.com To: sugar-devel@lists.sugarlabs.org Subject: [Sugar-devel] Trouble building sugarlabs Hello, My name is John Kim, and I'm interested in coding for sugar development. I'm trying to build sugar with the make command, and I seem to be having trouble. I am following the Building from sources from the Sugar Documentation. I first cloned sugar-build. http://git.sugarlabs.org/sugar-build/sugar-build My output: http://pastebin.com/pu7TjkEw I don't understand the key error. How can I fix this? Thanks. John Kim ___ 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] [NETWORK] Sugar Network 0.7 development release
On Sat, Dec 01, 2012 at 03:18:00PM +1100, James Cameron wrote: On Fri, Nov 30, 2012 at 11:43:58AM +, Aleksey Lim wrote: Looks like there is a race (sugar-network-client was spawned but not yet started listening for connections). Try to add time.sleep(3) to /home/olpc/Activities/SugarNetwork.activity/activity.py:87. Tried sleep(3) and sleep(5), no change to symptom. Used strace to investigate the processes created and destroyed, and found a child of sugar-network-client did SIGSEGV, which caused SIGCHLD to parent, which caused sugar-network-client to exit. Output of strace -p sugar-session-pid -ff -o sn is available in http://dev.laptop.org/~quozl/2012-12-01-sugar-network-xo-4-sigsegv.tar.gz What greenlet yoy are using? I just found that recent gevent-1.0rc requires greenlet = 0.3.2 (I tested beta with 0.3.1 and it worked fine in Fedora-14). Any way, I just flashed my XO-4 with 13.1.0, installed gevent-1.0 using http://wiki.sugarlabs.org/go/Activities/Sugar_Network#Dependencies instructions and new Sugar-Network-0.7.1 (activities.sugarlabs.org/en-US/sugar/downloads/file/28376/sugar_network-0.7.1.xo) runs well. Just for fun (UIs are not optimized for touch screens yet), I enabled touch scrolling in Contributor Hub (http://wiki.sugarlabs.org/go/Activities/Sugar_Network#Usage) and it works more or less acceptable. -- Aleksey ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] sugar-build run error
I think that in https://bugs.launchpad.net/ubuntu you can get more answers that in the bugzilla.. Maybe, fill another bug on that? --- Date: Thu, 29 Nov 2012 13:25:56 + From: dwnarv...@gmail.com To: alan...@hotmail.com CC: sugar-devel@lists.sugarlabs.org Subject: Re: [Sugar-devel] sugar-build run error I tracked it down and opened a bug about it https://bugzilla.gnome.org/show_bug.cgi?id=689272 I'm not holding my breath for a fix though... it's a tricky issue, I'm not even sure there is a good fix for it. For us the best fix would probably be to start adding some pieces of 13.04 support, to not build pygobject and friends there. If you are willing to try the attached patch (apply the patch, make clean, make, make run) and it works, I can add the bits to sugar-build. On 29 November 2012 09:50, Daniel Narvaez dwnarv...@gmail.com wrote: This is tricky... For some reason it's trying to load overrides from the system path, you have a newer version there and it fails. Normally python wouldn't do that but I think pygobject is playing some tricks. I need to look into this further. As a work around you can either remove the package containing /usr/lib/python2.7/dist-packages/gi/overrides/GObject.py or I think touch /home/alan/Documentos/GIT/sugar-build/install/lib/python2.7/site-packages/gi/overrides/GObject.py should work too. On 29 November 2012 01:12, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: I have this strange error when try tu run: Traceback (most recent call last): File /home/alan/Documentos/GIT/sugar-build/install/libexec/sugar-runner/get-screen-dpi, line 3, in module from gi.repository import Gtk File /home/alan/Documentos/GIT/sugar-build/install/lib/python2.7/site-packages/gi/importer.py, line 76, in load_module dynamic_module._load() File /home/alan/Documentos/GIT/sugar-build/install/lib/python2.7/site-packages/gi/module.py, line 244, in _load overrides_modules = __import__('gi.overrides', fromlist=[self._namespace]) File /home/alan/Documentos/GIT/sugar-build/install/lib/python2.7/site-packages/gi/overrides/Gtk.py, line 23, in module from gi.repository import GObject File /home/alan/Documentos/GIT/sugar-build/install/lib/python2.7/site-packages/gi/importer.py, line 76, in load_module dynamic_module._load() File /home/alan/Documentos/GIT/sugar-build/install/lib/python2.7/site-packages/gi/module.py, line 244, in _load overrides_modules = __import__('gi.overrides', fromlist=[self._namespace]) File /usr/lib/python2.7/dist-packages/gi/overrides/GObject.py, line 35, in module GObjectModule = gi.module.get_introspection_module('GObject') AttributeError: 'module' object has no attribute 'get_introspection_module' Ideas? -- Daniel Narvaez -- Daniel Narvaez ___ 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] Trouble building sugarlabs
I tried this, but it still doesn't work. It still gives me errors. If possible, I would like to lose every trace of sugar-build in the system, or simply, uninstall it. Maybe then, after I run make again, it should work. How can I do this? John Kim 2012/11/30 Alan Jhonn Aguiar Schwyn alan...@hotmail.com I cannot reproduce the error. Only can suggest this change: devbot/system.py in line 93 replace the code with this: http://pastebin.com/3B4HNdue It's a workarround.. haha Alan -- Date: Fri, 30 Nov 2012 21:54:46 -0800 Subject: RE: [Sugar-devel] Trouble building sugarlabs From: thinkn...@gmail.com To: alan...@hotmail.com I'm running ubuntu 12.10. John kim 2012. 11. 30. 오후 9:51에 Alan Jhonn Aguiar Schwyn alan...@hotmail.com님이 작성: Hi, What distribution you are using? Fedora? You make a git pull recently? It's this your latest commit: a04756c244b618776bbc8f6a417799e82da0de05 ? The error seems a encode problem.. Alan -- Date: Fri, 30 Nov 2012 21:21:53 -0800 From: thinkn...@gmail.com To: sugar-devel@lists.sugarlabs.org Subject: [Sugar-devel] Trouble building sugarlabs Hello, My name is John Kim, and I'm interested in coding for sugar development. I'm trying to build sugar with the make command, and I seem to be having trouble. I am following the Building from sources from the Sugar Documentation. I first cloned sugar-build. http://git.sugarlabs.org/sugar-build/sugar-build My output: http://pastebin.com/pu7TjkEw I don't understand the key error. How can I fix this? Thanks. John Kim ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- John Kim Ubuntu enthusiast l http://epikvision.blogspot.comookjohn.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Trouble building sugarlabs
What error have now? For reset mi change: git reset --hard Remove all untracked files: git clean -xdf and, maybe: make clean And try again.. Alan Date: Fri, 30 Nov 2012 22:31:12 -0800 Subject: Re: [Sugar-devel] Trouble building sugarlabs From: thinkn...@gmail.com To: alan...@hotmail.com; sugar-devel@lists.sugarlabs.org I tried this, but it still doesn't work. It still gives me errors. If possible, I would like to lose every trace of sugar-build in the system, or simply, uninstall it. Maybe then, after I run make again, it should work. How can I do this? John Kim 2012/11/30 Alan Jhonn Aguiar Schwyn alan...@hotmail.com I cannot reproduce the error.Only can suggest this change: devbot/system.pyin line 93 replace the code with this: http://pastebin.com/3B4HNdue It's a workarround.. haha Alan Date: Fri, 30 Nov 2012 21:54:46 -0800 Subject: RE: [Sugar-devel] Trouble building sugarlabs From: thinkn...@gmail.com To: alan...@hotmail.com I'm running ubuntu 12.10. John kim 2012. 11. 30. 오후 9:51에 Alan Jhonn Aguiar Schwyn alan...@hotmail.com님이 작성: Hi, What distribution you are using? Fedora?You make a git pull recently?It's this your latest commit: a04756c244b618776bbc8f6a417799e82da0de05 ? The error seems a encode problem.. Alan Date: Fri, 30 Nov 2012 21:21:53 -0800 From: thinkn...@gmail.com To: sugar-devel@lists.sugarlabs.org Subject: [Sugar-devel] Trouble building sugarlabs Hello, My name is John Kim, and I'm interested in coding for sugar development. I'm trying to build sugar with the make command, and I seem to be having trouble. I am following the Building from sources from the Sugar Documentation. I first cloned sugar-build. http://git.sugarlabs.org/sugar-build/sugar-build My output: http://pastebin.com/pu7TjkEw I don't understand the key error. How can I fix this? Thanks. John Kim ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- John Kim Ubuntu enthusiast lookjohn.com ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] SVG Research task for GCI
I want to get a clearer look on what we expect from the candidate on the following GCI task: http://www.google-melange.com/gci/task/view/google/gci2012/8016213 Since this has to do with research paper would we need any specific template on how to present the idea, quote sources and develop test cases? Do we want this to be on the wiki, or can the candidate use his/her preferred text processor. Do we want a running example of the system or just a well drafted idea on how to go about it? -- Alexandro Colorado Apache OpenOffice Contributor http://es.openoffice.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] SVG Research task for GCI
On Sat, Dec 1, 2012 at 1:49 AM, Alexandro Colorado j...@oooes.org wrote: I want to get a clearer look on what we expect from the candidate on the following GCI task: http://www.google-melange.com/gci/task/view/google/gci2012/8016213 I drafted that. Since this has to do with research paper would we need any specific template on how to present the idea, quote sources and develop test cases? I wanted them to research FOSS tools that could accomplish this job (SVG i18n), individually or in combination. Do we want this to be on the wiki, or can the candidate use his/her preferred text processor. I would prefer to have it put on the wiki. The can add it to http://wiki.sugarlabs.org/go/GoogleCodeIn2012/SVG_images Do we want a running example of the system or just a well drafted idea on how to go about it? if existing tools are found, a link to them and a description of how they could be used to accomplish SVG i18n. If no tools exist, a description of how one might be created (i.e. how might one create the hypothetical Translate Toolkit pair (svg2po, po2svg) example given). ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] SVG Research task for GCI
there are a lot of ways.. see the code attached to obtain the strings.. use: python get_svg_text.py dibujo.svg From: cjlhomeaddr...@gmail.com Date: Sat, 1 Dec 2012 01:59:52 -0500 To: j...@oooes.org CC: sugar-devel@lists.sugarlabs.org Subject: Re: [Sugar-devel] SVG Research task for GCI On Sat, Dec 1, 2012 at 1:49 AM, Alexandro Colorado j...@oooes.org wrote: I want to get a clearer look on what we expect from the candidate on the following GCI task: http://www.google-melange.com/gci/task/view/google/gci2012/8016213 I drafted that. Since this has to do with research paper would we need any specific template on how to present the idea, quote sources and develop test cases? I wanted them to research FOSS tools that could accomplish this job (SVG i18n), individually or in combination. Do we want this to be on the wiki, or can the candidate use his/her preferred text processor. I would prefer to have it put on the wiki. The can add it to http://wiki.sugarlabs.org/go/GoogleCodeIn2012/SVG_images Do we want a running example of the system or just a well drafted idea on how to go about it? if existing tools are found, a link to them and a description of how they could be used to accomplish SVG i18n. If no tools exist, a description of how one might be created (i.e. how might one create the hypothetical Translate Toolkit pair (svg2po, po2svg) example given). ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel #!/usr/bin/env python import sys from xml.dom.minidom import parseString if len(sys.argv) == 2: svg = sys.argv[1] f = open(svg, 'r') data = f.read() f.close() parsed = parseString(data) elements = parsed.getElementsByTagName('text') for e in elements: for c in e.childNodes: if c.hasChildNodes(): for d in c.childNodes: #print d.toxml() print d.data else: #print d.toxml() print c.data dibujo.svg Description: Binary data ViewBox.svg Description: Binary data ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel