From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [OT] Icon problem with org-google-weather Date: Mon, 06 Jun 2011 11:40:32 -0400 Message-ID: <593.1307374832@alphaville.dokosmarshall.org> References: <24071.1307320041@alphaville.dokosmarshall.org> <871uz7v287.fsf@member.fsf.org> <29857.1307368279@alphaville.dokosmarshall.org> <87lixf56as.fsf@member.fsf.org> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTbvB-0007gB-Tl for emacs-orgmode@gnu.org; Mon, 06 Jun 2011 11:40:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTbvA-0004Be-2w for emacs-orgmode@gnu.org; Mon, 06 Jun 2011 11:40:53 -0400 Received: from vms173001pub.verizon.net ([206.46.173.1]:34980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTbv9-0004BR-Od for emacs-orgmode@gnu.org; Mon, 06 Jun 2011 11:40:51 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LMD006D5KVKM3B0@vms173001.mailsrvcs.net> for emacs-orgmode@gnu.org; Mon, 06 Jun 2011 10:40:38 -0500 (CDT) In-reply-to: Message from Tassilo Horn of "Mon, 06 Jun 2011 17:27:23 +0200." <87lixf56as.fsf@member.fsf.org> 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: Tassilo Horn Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Tassilo Horn wrote: > 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. > 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 in the returned XML. Nick