[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

Re: [Sugar-devel] Activity updater crash

2013-05-07 Thread Daniel Narvaez
On 7 May 2013 22:59, Walter Bender walter.ben...@gmail.com 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

Re: [Sugar-devel] Activity updater crash

2013-05-07 Thread Walter Bender
On Tue, May 7, 2013 at 5:00 PM, Daniel Narvaez dwnarv...@gmail.com wrote: On 7 May 2013 22:59, Walter Bender walter.ben...@gmail.com 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

Re: [Sugar-devel] Activity updater crash

2013-05-07 Thread Daniel Narvaez
On 7 May 2013 23:01, Walter Bender walter.ben...@gmail.com 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

Re: [Sugar-devel] Activity updater crash

2013-05-07 Thread Walter Bender
On Tue, May 7, 2013 at 4:20 PM, Daniel Narvaez dwnarv...@gmail.com 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