[Dextrose] Problem with "Software Update" feature

Daniel Castelo dcastelo at plan.ceibal.edu.uy
Mon Oct 25 14:54:42 EDT 2010


If you want to install a new version of an activity using this "software
update" feature you have to modify this page. If you haven't never modifyed
this page, maybe you have never used this feature.

On Mon, Oct 25, 2010 at 4:28 PM, Jorge Saldivar <jorgesaldivar at gmail.com>wrote:

>
>
> On 10/25/2010 01:43 PM, Daniel Castelo wrote:
>
>
>
> On Mon, Oct 25, 2010 at 12:50 PM, Jorge Saldivar <jorgesaldivar at gmail.com>wrote:
>
>>
>>
>> On 10/22/2010 11:21 AM, Bernie Innocenti wrote:
>>
>>> On Thu, 2010-10-21 at 15:20 -0200, Daniel Castelo wrote:
>>>
>>>
>>>> Hi!
>>>>
>>>> We found some problems in the feature "Software Update" that uses the
>>>> microformat lenguage. I notice that now is using
>>>> 'http://wiki.paraguayeduca.org/index.php/Actividades_Dextrose_1', we
>>>> are planning to have our own version of this page.
>>>>
>>>>
>>> Oh, yeah... that was done in a real hurry. Of course we should make the
>>> URL configurable with a gconf key, and set it from a custom script in
>>> the Dextrose ini file.
>>>
>>> Can you or Esteban work on a patch? Even better, we could improve the
>>> original patch by Anish without creating a second patch on top of it.
>>>
>>>
>>> I'll let Anish comment on the following two problems:
>>>
>>>
>>>
>>>> 1) If the computer is not connected to Internet the user didn't
>>>> receive any messages and the window get stuck.
>>>>
>>>>
>>>
>>>
>>>> This is the log:
>>>>
>>>> 1287683991.599589 WARNING root: No gtk.AccelGroup in the top level
>>>> window.
>>>> 1287683991.611232 WARNING root: No gtk.AccelGroup in the top level
>>>> window.
>>>> 1287683991.622605 WARNING root: No gtk.AccelGroup in the top level
>>>> window.
>>>> 1287683991.635661 WARNING root: No gtk.AccelGroup in the top level
>>>> window.
>>>> /usr/lib/python2.6/site-packages/dbus/connection.py:242:
>>>> DeprecationWarning: object.__init__() takes no parameters
>>>>   super(Connection, self).__init__(*args, **kwargs)
>>>> Traceback (most recent call last):
>>>>   File
>>>> "/usr/share/sugar/extensions/cpsection/updater/backends/microformat.py",
>>>> line 59, in __download_file_complete_cb
>>>>     content = self._file.load_contents_finish(result)[0]
>>>> glib.GError: Cannot resolve hostname
>>>>
>>>>
>>>> 2) If I try to update a set of activities I get this error:
>>>>
>>>> 1287684870.693166 WARNING root: No gtk.AccelGroup in the top level
>>>> window.
>>>> 1287684870.694456 WARNING root: No gtk.AccelGroup in the top level
>>>> window.
>>>> Traceback (most recent call last):
>>>>   File "/usr/share/sugar/extensions/cpsection/updater/model.py", line
>>>> 301, in __write_async_cb
>>>>     progress = self._downloaded_size / float(self.bundle_update.size)
>>>> ZeroDivisionError: float division
>>>> Traceback (most recent call last):
>>>>
>>>>
>>>
>>>
>>>
>>>> Seems like this feature has never worked in dextrose, could be?
>>>>
>>>>
>>> We have tested it in Paraguay with just 2 activities and it was working
>>> fine. Perhaps Jorge could repeat the test now and comment?
>>>
>>>
>>>
>>  Which test?, I don't remember.
>>
>
> Maybe, is not working.
> Jorge, have you ever edited this page
> http://wiki.paraguayeduca.org/index.php/Actividades_Dextrose_1 to update a
> activity?
>
> No, I haven't. Why?
>
>
>
>>
>> --
>> Jorge A. Saldivar G.-
>>
>>
>
>
> --
> Ing. Daniel Castelo
> Plan Ceibal - Área Técnica
> Avda. Italia 6201
> Montevideo - Uruguay.
> Tel.: 2 601 57 73 Interno 2228
> E-mail : dcastelo at plan.ceibal.edu.uy
>
>
> --
> Jorge A. Saldivar G.-
>
>


-- 
Ing. Daniel Castelo
Plan Ceibal - Área Técnica
Avda. Italia 6201
Montevideo - Uruguay.
Tel.: 2 601 57 73 Interno 2228
E-mail : dcastelo at plan.ceibal.edu.uy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/dextrose/attachments/20101025/b847f397/attachment.html>


More information about the Dextrose mailing list