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 100644 --- a/extensions/cpsection/updater/backends/aslo.py +++ b/extensions/cpsection/updater/backends/aslo.py @@ -116,7 +116,7 @@ class _UpdateFetcher(object): self._process_result() return else: - xml_data = data.unref_to_array() + xml_data = data.get_data() self._xml_data += str(xml_data) stream.read_bytes_async(self._CHUNK_SIZE, GLib.PRIORITY_DEFAULT, None, -- Daniel Narvaez
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel