Skip to content

org agenda fails, "wrong type argument: number-or-marker-p" #8000

@junebash

Description

@junebash

Description :octocat:

After updating packages, on attempting to load org-agenda (even on startup (since I have org-agenda items on the home screen)) it fails and I get the error "Wrong type argument: number-or-marker-p, <2016-12-30 Fri>" or another datestamp.

Reverting my updated packages seemed to fix the bug, but I would like to be able to use the latest version of stuff.

Reproduction guide 🪲

  • Start Emacs
  • C-c a a (or , a a or , a [insert any agenda command])
  • receive error above

Observed behaviour: 👀 💔
see error/traceback above/below

Expected behaviour: ❤️ 😄
I'd expect to see the org-agenda view.

System Info 💻

  • OS: darwin
  • Emacs: 25.1.1
  • Spacemacs: 0.200.5
  • Spacemacs branch: master (rev. 664ba6a)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: hybrid
  • Completion: ivy
  • Layers:
(ivy auto-completion emacs-lisp git markdown org shell spell-checking syntax-checking version-control javascript osx colors deft ibuffer themes-megapack command-log csv csharp
     (c-c   :variables c-c  -enable-clang-support t)
     html python swift yaml ruby shell-scripts lua dash tmux evil-cleverparens vinegar
     (geolocation :variables geolocation-enable-location-service t geolocation-enable-weather-forecast t)
     semantic speed-reading)
  • System configuration features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES

Backtrace 🐾

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p "<2016-12-30 Fri>")
  org-agenda-get-deadlines()
  org-agenda-get-day-entries("/Users/jonbash/notes/wwu-todo.org" (12 19 2016) :deadline :scheduled :timestamp :sexp)
  apply(org-agenda-get-day-entries "/Users/jonbash/notes/wwu-todo.org" (12 19 2016) (:deadline :scheduled :timestamp :sexp))
  org-agenda-list(nil)
  funcall-interactively(org-agenda-list nil)
  call-interactively(org-agenda-list)
  org-agenda(nil)
  funcall-interactively(org-agenda nil)
  call-interactively(org-agenda nil nil)
  command-execute(org-agenda)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions