From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-agenda fails when a scheduled/deadline date is in the past [9.1.9 (release_9.1.9-65-g5e4542 @ /Users/borwick/.emacs.d/elpa/org-plus-contrib-20190218/)] Date: Tue, 19 Feb 2019 21:39:21 +0100 Message-ID: <878sybtsw6.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:53003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwCBE-0002lM-4q for emacs-orgmode@gnu.org; Tue, 19 Feb 2019 15:39:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwCB9-0001aG-Ov for emacs-orgmode@gnu.org; Tue, 19 Feb 2019 15:39:50 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:40541) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gwCB5-0001R3-Eg for emacs-orgmode@gnu.org; Tue, 19 Feb 2019 15:39:43 -0500 In-Reply-To: (John Borwick's message of "Tue, 19 Feb 2019 19:13:08 +0000") 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" To: John Borwick Cc: "emacs-orgmode@gnu.org" Hello, John Borwick writes: > If I execute in *scratch* > > (org-agenda-get-day-entries "~/Dropbox/org/main-todo.org" '(2 18 2019= ) :deadline :scheduled :timestamp :sexp) > > and main-todo.org contains this entry: > > *** TODO Medium priority inboxes :@work= _online: > SCHEDULED: <2019-02-18 Mon> > > (where 2019-02-18 is yesterday), I get the error "Wrong number of > arguments: (0 . 0), 2". > > If I change the SCHEDULED date to today: > > *** TODO Medium priority inboxes :@work= _online: > SCHEDULED: <2019-02-19 Tue> > > and execute the same org-agenda-get-day-entries statement, I do not get > this error. > > It appears to me that there is some issue with scheduled and deadline > dates that are in the past? > > > I found this after finding that =3DC-c a a=3D was erroring out with the s= ame =E2=80=9CWrong number of arguments: (0 . 0), 2=E2=80=9D. Here is the ba= cktrace from trying to show my agenda: > > Debugger entered--Lisp error: (wrong-number-of-arguments (0 . 0) 2) > org-get-tags(nil nil) Could you use latest Org release and try again. It might have been fixed in the meantime. Thank you! Regards, --=20 Nicolas Goaziou