emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [OT] Icon problem with org-google-weather


From: Nick Dokos
Subject: Re: [O] [OT] Icon problem with org-google-weather
Date: Mon, 06 Jun 2011 11:40:32 -0400

Tassilo Horn <address@hidden> wrote:

> Nick Dokos <address@hidden> writes:
> 
> >> --8<---------------cut here---------------start------------->8---
> >> (defun foobar ()
> >>   (interactive)
> >>   (let ((date '(6 6 2011)))
> >>     (setq bar (org-google-weather "Montabaur" "DE"))
> >>     (setq foo (let ((org-google-weather-cache-time 0))
> >>            (org-google-weather "Montabaur" "DE")))
> >>     (string= foo bar)
> >>     (insert foo)
> >>     (insert bar)))
> >> --8<---------------cut here---------------end--------------->8---
> >> 
> >> I get an error at the foo value evaluation.  The evaluation of bar seems
> >> to work fine...
> >> 
> >> --8<---------------cut here---------------start------------->8---
> >> Debugger entered--Lisp error: (error "Data not found")
> >
> > Yes, the "Data not found" problem is an org-google-weather problem,
> >
> > I sent Julien the following patch - either apply it by hand or
> > check Julien's git repo: it may be there already.
> 
> It's already there.  But now I get
> 
>   (error "Bad url: :/ig/images/weather/chance_of_storm.gif")
> 
> in the first `org-google-weather' call.
> 

Me too: this is recent - the image URLs were of the form g0.static (or
something like this) yesterday - but it seems that Google is playing games:

when I visit https://www.google.com/ig/api?weather=Boston through a browser,
I get <icon data="/ig/images/weather/partly_cloudy.gif"/> in the returned XML.

Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]