From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: [OT] Icon problem with org-google-weather Date: Mon, 06 Jun 2011 17:27:23 +0200 Message-ID: <87lixf56as.fsf@member.fsf.org> References: <24071.1307320041@alphaville.dokosmarshall.org> <871uz7v287.fsf@member.fsf.org> <29857.1307368279@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTbiD-0003q5-Gf for emacs-orgmode@gnu.org; Mon, 06 Jun 2011 11:27:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTbiC-0001iI-0J for emacs-orgmode@gnu.org; Mon, 06 Jun 2011 11:27:29 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:52004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTbiB-0001i3-Ex for emacs-orgmode@gnu.org; Mon, 06 Jun 2011 11:27:27 -0400 In-Reply-To: <29857.1307368279@alphaville.dokosmarshall.org> (Nick Dokos's message of "Mon, 06 Jun 2011 09:51:19 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Nick Dokos 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