[Sugar-devel] InfoSlicer: "Error downloading... check your connection"

s.boutayeb at free.fr s.boutayeb at free.fr
Sun Sep 13 13:35:10 EDT 2009


Selon Walter Bender <walter.bender at gmail.com>:

>
> Did you say that this code was working properly on an XO? Curious.

Sorry for the possible misunderstanding.
If I interpreted the log correctly, the message "url opened successfully" from
the log file implies that the query is correct.

However, we have the "Error downloading... check your  connection" message on
the UI, what implies that the data returned by the wiki are for some reason
(likely due to a change in the syntax of the wiki) incorrectly
interpreted/parsed.

I observed the same behaviour (in the log file and on the UI) on the XO (with
sugar 0.84, with sugar-emulator and with the SOAS.

I send you the log off list.

Kind regards

Samy


>
> -walter
>
> On Sun, Sep 13, 2009 at 9:59 AM,  <s.boutayeb at free.fr> wrote:
> > Hi Walter, Tomeu,
> >
> > Thank you for your responsiveness and help!
> >
> > Meilleures salutations/Kind regards
> >
> > Samy
> >
> > Selon Walter Bender <walter.bender at gmail.com>:
> >
> >> Samy,
> >>
> >> We need to poke around in net.py and figure out what is going on.
> >>
> >> -walter
> >>
> >> On Sun, Sep 13, 2009 at 9:32 AM,  <s.boutayeb at free.fr> wrote:
> >> > Hello Tomeu,
> >> >
> >> > Selon Tomeu Vizoso <tomeu at sugarlabs.org>:
> >> >
> >> >
> >> >> Any useful info in the activity log?
> >> >>
> >> >> http://wiki.sugarlabs.org/go/BugSquad/Get_Logs
> >> >>
> >> >> Regards,
> >> >>
> >> >> Tomeu
> >> >>
> >> >
> >> > My configuration:
> >> > - XO-1 with SoaS-XO release 1 (Strawberry)
> >> > - Sugar 0.84.2
> >> > - InfoSlicer 5
> >> >
> >> > The search term is: "europa"
> >> > The wiki is http://de.wikipedia.org/ wiki
> >> >
> >> > The request should display: http://de.wikipedia.org/wiki/Europa
> >> >
> >> > The org.sugarlabs.InfoSlicer-1 log-file says: "url opened successfully"
> >> >
> >> > See the log-extract below:
> >> >
> >> > 1252847563.275768 DEBUG infoslicer: opening
> >> >
> >>
> >
>
http://de.wikipedia.org/w/api.php?action=query&titles=europa&redirects&format=xml
> >> > 1252847563.277782 DEBUG infoslicer: proxies: None
> >> > 1252847563.706546 DEBUG infoslicer: url opened successfully
> >> > 1252847563.736089 DEBUG infoslicer: opening
> >> > http://de.wikipedia.org/w/api.php?action=parse&page=europa&format=xml
> >> > 1252847563.738189 DEBUG infoslicer: proxies: None
> >> > 1252847566.658934 DEBUG infoslicer: url opened successfully
> >> > 1252847566.714640 DEBUG infoslicer: MediaWiki_Parser:
> >> > http://de.wikipedia.org/w/api.php?action=parse&page=europa&format=xml
> >> > 1252847566.723439 DEBUG infoslicer::except: download_and_add: need more
> >> than 1
> >> > value to unpack
> >> > 1252847568.648351 DEBUG root: Palette.popdown immediate False
> >> > 1252847571.981208 DEBUG root: ActivityService.set_active: 0.
> >> >
> >> > TIA
> >> >
> >> > Samy
> >> > _______________________________________________
> >> > Sugar-devel mailing list
> >> > Sugar-devel at lists.sugarlabs.org
> >> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >> >
> >>
> >>
> >>
> >> --
> >> Walter Bender
> >> Sugar Labs
> >> http://www.sugarlabs.org
> >>
> >
> >
> >
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>




More information about the Sugar-devel mailing list