Hello,

John Borwick <[email protected]> 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.

Thank you!

Regards,

-- 
Nicolas Goaziou

  • [no subject] John Borwick
    • [no subject] John Borwick
    • Re: [O] Bug: org-agenda fails when a scheduled/deadli... Nicolas Goaziou

Reply via email to