Re: [Sugar-devel] Activity updater crash

2013-05-07 Thread Walter Bender
On Tue, May 7, 2013 at 4:20 PM, Daniel Narvaez wrote: > Hi Walter, > > the updater crash seems to be a bug in your code > > It looks like you should use get_data to get a python array from GBytes. > (unref_to_array shouldn't really be exposed in python) > Thanks. /me wonders why it ever worked.

Re: [Sugar-devel] Activity updater crash

2013-05-07 Thread Daniel Narvaez
On 7 May 2013 23:01, Walter Bender wrote: > > It's memory corruption, so it could have worked once if really lucky :) >> > > I guess I should have bought a lottery ticket, because it worked many many > times in my testing. > Hehe. It might be that the glib we are now building with sugar-build i

Re: [Sugar-devel] Activity updater crash

2013-05-07 Thread Walter Bender
On Tue, May 7, 2013 at 5:00 PM, Daniel Narvaez wrote: > On 7 May 2013 22:59, Walter Bender wrote: > >> Hi Walter, >> >>> >>> the updater crash seems to be a bug in your code >>> >>> It looks like you should use get_data to get a python array from GBytes. >>> (unref_to_array shouldn't really be e

Re: [Sugar-devel] Activity updater crash

2013-05-07 Thread Daniel Narvaez
On 7 May 2013 22:59, Walter Bender wrote: > Hi Walter, > >> >> the updater crash seems to be a bug in your code >> >> It looks like you should use get_data to get a python array from GBytes. >> (unref_to_array shouldn't really be exposed in python) >> > > Thanks. /me wonders why it ever worked. I

[Sugar-devel] Activity updater crash

2013-05-07 Thread Daniel Narvaez
Hi Walter, the updater crash seems to be a bug in your code It looks like you should use get_data to get a python array from GBytes. (unref_to_array shouldn't really be exposed in python) diff --git a/extensions/cpsection/updater/backends/aslo.py b/extensions/cpsectio index e244af0..7c41ae6 1006

Re: [Sugar-devel] activity updater

2010-06-16 Thread Simon Schampijer
On 06/14/2010 11:02 AM, Tomeu Vizoso wrote: > On Sun, Jun 13, 2010 at 23:51, Bernie Innocenti wrote: >> El Sun, 13-06-2010 a las 20:55 +0100, Gary C Martin escribió: >>> OK, not strictly a patch but attached is an updated version of >>> the currently malformed svg module-updater icon that's not >>

Re: [Sugar-devel] activity updater

2010-06-15 Thread David Farning
On Tue, Jun 15, 2010 at 8:14 AM, Bernie Innocenti wrote: > El Mon, 14-06-2010 a las 11:41 -0500, David Farning escribió: > >> To give credit where credit is due, the ASLO updater is just a update >> of Scott's code to parse the xml ASLO dynamically creates rather than >> micoroformat. > > Ah, I th

Re: [Sugar-devel] activity updater

2010-06-15 Thread Bernie Innocenti
El Mon, 14-06-2010 a las 11:41 -0500, David Farning escribió: > To give credit where credit is due, the ASLO updater is just a update > of Scott's code to parse the xml ASLO dynamically creates rather than > micoroformat. Ah, I thought it was a rewrite because the codebase is so much shorter and

Re: [Sugar-devel] activity updater

2010-06-14 Thread David Farning
On Sun, Jun 13, 2010 at 4:51 PM, Bernie Innocenti wrote: > El Sun, 13-06-2010 a las 20:55 +0100, Gary C Martin escribió: >> OK, not strictly a patch but attached is an updated version of >> the currently malformed svg module-updater icon that's not >> drawing correctly in F13. Not sure who this ne

Re: [Sugar-devel] activity updater

2010-06-14 Thread Tomeu Vizoso
On Sun, Jun 13, 2010 at 23:51, Bernie Innocenti wrote: > El Sun, 13-06-2010 a las 20:55 +0100, Gary C Martin escribió: >> OK, not strictly a patch but attached is an updated version of >> the currently malformed svg module-updater icon that's not >> drawing correctly in F13. Not sure who this need

[Sugar-devel] activity updater

2010-06-13 Thread Bernie Innocenti
El Sun, 13-06-2010 a las 20:55 +0100, Gary C Martin escribió: > OK, not strictly a patch but attached is an updated version of > the currently malformed svg module-updater icon that's not > drawing correctly in F13. Not sure who this needs to get to > (could only find it in Bernie's old depreciate

Re: [Sugar-devel] Activity updater

2010-06-01 Thread Bernie Innocenti
El Tue, 01-06-2010 a las 20:11 +, Aleksey Lim escribió: > I'm planing to finish GCompris/TuxPaint/OOo4Kids(hope it won't be hard) > sugarizing and will start work to provide all these blobs from ASLO > (experimental activities, per arch blobs, more QA useful workflow) and > can start microform

Re: [Sugar-devel] Activity updater

2010-06-01 Thread Aleksey Lim
On Tue, Jun 01, 2010 at 03:22:08PM -0400, Bernie Innocenti wrote: > El Fri, 28-05-2010 a las 09:23 +, Aleksey Lim escribió: > > > But what about more trivial way, just create new php generated page > > (like update-aslo.php) to generate page with what updater needs. In that > > case such scrip

Re: [Sugar-devel] Activity updater

2010-06-01 Thread Bernie Innocenti
El Fri, 28-05-2010 a las 09:23 +, Aleksey Lim escribió: > But what about more trivial way, just create new php generated page > (like update-aslo.php) to generate page with what updater needs. In that > case such script will be stored out of AMO code base and won't contain > any AMO UI element

Re: [Sugar-devel] Activity updater

2010-05-28 Thread Aleksey Lim
On Thu, May 27, 2010 at 12:50:10PM -0400, Bernie Innocenti wrote: > El Sun, 23-05-2010 a las 14:50 -0400, Michael Stone escribió: > > The only purposes of the list comprehension in UpdateModel.check_updates() > > is > > to set self._bundles_to_check to a list containing the elements returned by >

[Sugar-devel] Activity updater

2010-05-27 Thread Bernie Innocenti
El Sun, 23-05-2010 a las 14:50 -0400, Michael Stone escribió: > The only purposes of the list comprehension in UpdateModel.check_updates() is > to set self._bundles_to_check to a list containing the elements returned by > bundleregistry.get_registry(). This purpose can be more succinctly achieved b

Re: [Sugar-devel] Activity updater

2009-02-02 Thread C. Scott Ananian
On Mon, Feb 2, 2009 at 8:13 AM, Ties Stuij wrote: > - atm the updater checks both the pages supplied by the urls in the > relevant groups file and the update url entry in the activity.info > file of the installed bundle. Whichever of them is higher, wins the > contract, so to say. The problem here

Re: [Sugar-devel] Activity updater

2009-02-02 Thread Ties Stuij
This might be a nice time to convey some observations about the activity updater: - Lets first set the premise straight here: we foremost cater organisations that have to centrally manage large batches of XO's in some way. Their preferences have priority over individual XO owners that know what th

Re: [Sugar-devel] Activity updater

2009-02-02 Thread C. Scott Ananian
On Mon, Feb 2, 2009 at 7:00 AM, Bernie Innocenti wrote: > Jonas Smedegaard wrote: >> What "Debian package"? >> >> I found no mention of "olpc-update" anywhere in the source code for >> Sugar, so I guess you are talking about something OLPC-specific _below_ >> Sugar, right? > > olpc-update is the o

Re: [Sugar-devel] Activity updater

2009-02-02 Thread Jonas Smedegaard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Feb 02, 2009 at 01:00:53PM +0100, Bernie Innocenti wrote: >Jonas Smedegaard wrote: >> What "Debian package"? >> >> I found no mention of "olpc-update" anywhere in the source code for >> Sugar, so I guess you are talking about something OLPC-s

Re: [Sugar-devel] Activity updater

2009-02-02 Thread Tomeu Vizoso
On Mon, Feb 2, 2009 at 13:00, Bernie Innocenti wrote: > Jonas Smedegaard wrote: >> What "Debian package"? >> >> I found no mention of "olpc-update" anywhere in the source code for >> Sugar, so I guess you are talking about something OLPC-specific _below_ >> Sugar, right? > > olpc-update is the off

[Sugar-devel] Activity updater

2009-02-02 Thread Bernie Innocenti
Jonas Smedegaard wrote: > What "Debian package"? > > I found no mention of "olpc-update" anywhere in the source code for > Sugar, so I guess you are talking about something OLPC-specific _below_ > Sugar, right? olpc-update is the official updater for the core OS of the OLPC distribution. It is