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: Tassilo Horn
Subject: Re: [O] [OT] Icon problem with org-google-weather
Date: Mon, 06 Jun 2011 17:27:23 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

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.

Bye,
Tassilo



reply via email to

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