emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Borwick <borwick@uw.edu>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: 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:42:27 +0000	[thread overview]
Message-ID: <F69B5302-022D-4AE4-8990-64A4DBEA8EA0@uw.edu> (raw)

On 2/19/19, 12:40 PM, "Nicolas Goaziou" <mail@nicolasgoaziou.fr> wrote:

[...]
    
    John Borwick <borwick@uw.edu> 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 =C-c a a= was erroring out with the same “Wrong number of arguments: (0 . 0), 2”. Here is the backtrace 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.
    
Hello! OK I just downloaded & installed org-plus-contrib-20190218.tar. Unfortunately I still got this error. The last working version for me is org-plus-contrib-20181224.tar.

Thank you,
John B.


             reply	other threads:[~2019-02-19 21:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19 21:42 John Borwick [this message]
2019-02-20 12:46 ` 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/)] Nicolas Goaziou
  -- strict thread matches above, loose matches on Subject: below --
2019-02-19 19:13 Bug: " John Borwick
2019-02-19 19:31 ` John Borwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F69B5302-022D-4AE4-8990-64A4DBEA8EA0@uw.edu \
    --to=borwick@uw.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).