emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas S. Dye <tsd@tsdye.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Org-lint error
Date: Mon, 14 Sep 2015 08:58:09 -1000	[thread overview]
Message-ID: <m237ygde0u.fsf@tsdye.com> (raw)

Aloha all,

In the process of tracking down misbehavior during export, I ran
org-lint, which failed with this error:

Debugger entered--Lisp error: (wrong-number-of-arguments max 0)
  max()
  apply(max nil)

The backtrace appears to include my entire Org mode file, so I won't
attach it.  However, here is the part near the bottom, in case it is
helpful.

  org-lint--generate-reports(#<buffer anth_464_syllabus.org> ([cl-struct-org-lint-checker duplicate-custom-id "Report duplicates CUSTOM_ID properties" (link) high] [cl-struct-org-lint-checker duplicate-name "Report duplicate NAME values" (babel link) high] [cl-struct-org-lint-checker duplicate-target "Report duplicate targets" (link) high] [cl-struct-org-lint-checker duplicate-footnote-definition "Report duplicate footnote definitions" (footnote) high] [cl-struct-org-lint-checker orphaned-affiliated-keywords "Report orphaned affiliated keywords" (default) low] [cl-struct-org-lint-checker obsolete-affiliated-keywords "Report obsolete affiliated keywords" (obsolete) high] [cl-struct-org-lint-checker deprecated-header-syntax "Report deprecated Babel header syntax" (babel obsolete) low] [cl-struct-org-lint-checker missing-language-in-src-block "Report missing language in src blocks" (babel) high] [cl-struct-org-lint-checker invalid-babel-call-block "Report invalid Babel call blocks" (babel) high] [cl-struct-org-lint-checker colon-in-name "Report NAME values with a colon" (babel) high] [cl-struct-org-lint-checker wrong-header-argument "Report wrong babel headers" (babel) high] [cl-struct-org-lint-checker wrong-header-value "Report invalid value in babel headers" (babel) low] [cl-struct-org-lint-checker deprecated-category-setup "Report misuse of CATEGORY keyword" (obsolete) high] [cl-struct-org-lint-checker invalid-coderef-link "Report \"coderef\" links with unknown destination" (link) high] [cl-struct-org-lint-checker invalid-custom-id-link "Report \"custom-id\" links with unknown destination" (link) high] [cl-struct-org-lint-checker invalid-fuzzy-link "Report \"fuzzy\" links with unknown destination" (link) high] [cl-struct-org-lint-checker invalid-id-link "Report \"id\" links with unknown destination" (link) high] [cl-struct-org-lint-checker link-to-local-file "Report links to non-existent local files" (link) low] [cl-struct-org-lint-checker non-existent-setupfile-parameter "Report SETUPFILE keywords with non-existent file parameter" (default) low] [cl-struct-org-lint-checker wrong-include-link-parameter "Report INCLUDE keywords with misleading link parameter" (export) low] [cl-struct-org-lint-checker unknown-options-item "Report unknown items in OPTIONS keyword" (export) low] [cl-struct-org-lint-checker invalid-macro-argument-and-template "Report spurious macro arguments or invalid macro templates" (export) low] [cl-struct-org-lint-checker special-property-in-properties-drawer "Report special properties in properties drawers" (properties) high] [cl-struct-org-lint-checker obsolete-properties-drawer "Report obsolete syntax for properties drawers" (obsolete properties) high] [cl-struct-org-lint-checker undefined-footnote-reference "Report missing definition for footnote references" (footnote) high] [cl-struct-org-lint-checker unreferenced-footnote-definition "Report missing reference for footnote definitions" (footnote) high] [cl-struct-org-lint-checker extraneous-element-in-footnote-section "Report non-footnote definitions in footnote section" (footnote) high] [cl-struct-org-lint-checker invalid-keyword-syntax "Report probable invalid keywords" (default) low] [cl-struct-org-lint-checker invalid-block "Report invalid blocks" (default) low] [cl-struct-org-lint-checker misplaced-planning-info "Report misplaced planning info line" (default) low] [cl-struct-org-lint-checker incomplete-drawer "Report probable incomplete drawers" (default) low] [cl-struct-org-lint-checker indented-diary-sexp "Report probable indented diary-sexps" (default) low] [cl-struct-org-lint-checker quote-section "Report obsolete QUOTE section" (obsolete) low]))
  org-lint--refresh-reports()
  org-lint--display-reports(#<buffer anth_464_syllabus.org> ([cl-struct-org-lint-checker duplicate-custom-id "Report duplicates CUSTOM_ID properties" (link) high] [cl-struct-org-lint-checker duplicate-name "Report duplicate NAME values" (babel link) high] [cl-struct-org-lint-checker duplicate-target "Report duplicate targets" (link) high] [cl-struct-org-lint-checker duplicate-footnote-definition "Report duplicate footnote definitions" (footnote) high] [cl-struct-org-lint-checker orphaned-affiliated-keywords "Report orphaned affiliated keywords" (default) low] [cl-struct-org-lint-checker obsolete-affiliated-keywords "Report obsolete affiliated keywords" (obsolete) high] [cl-struct-org-lint-checker deprecated-header-syntax "Report deprecated Babel header syntax" (babel obsolete) low] [cl-struct-org-lint-checker missing-language-in-src-block "Report missing language in src blocks" (babel) high] [cl-struct-org-lint-checker invalid-babel-call-block "Report invalid Babel call blocks" (babel) high] [cl-struct-org-lint-checker colon-in-name "Report NAME values with a colon" (babel) high] [cl-struct-org-lint-checker wrong-header-argument "Report wrong babel headers" (babel) high] [cl-struct-org-lint-checker wrong-header-value "Report invalid value in babel headers" (babel) low] [cl-struct-org-lint-checker deprecated-category-setup "Report misuse of CATEGORY keyword" (obsolete) high] [cl-struct-org-lint-checker invalid-coderef-link "Report \"coderef\" links with unknown destination" (link) high] [cl-struct-org-lint-checker invalid-custom-id-link "Report \"custom-id\" links with unknown destination" (link) high] [cl-struct-org-lint-checker invalid-fuzzy-link "Report \"fuzzy\" links with unknown destination" (link) high] [cl-struct-org-lint-checker invalid-id-link "Report \"id\" links with unknown destination" (link) high] [cl-struct-org-lint-checker link-to-local-file "Report links to non-existent local files" (link) low] [cl-struct-org-lint-checker non-existent-setupfile-parameter "Report SETUPFILE keywords with non-existent file parameter" (default) low] [cl-struct-org-lint-checker wrong-include-link-parameter "Report INCLUDE keywords with misleading link parameter" (export) low] [cl-struct-org-lint-checker unknown-options-item "Report unknown items in OPTIONS keyword" (export) low] [cl-struct-org-lint-checker invalid-macro-argument-and-template "Report spurious macro arguments or invalid macro templates" (export) low] [cl-struct-org-lint-checker special-property-in-properties-drawer "Report special properties in properties drawers" (properties) high] [cl-struct-org-lint-checker obsolete-properties-drawer "Report obsolete syntax for properties drawers" (obsolete properties) high] [cl-struct-org-lint-checker undefined-footnote-reference "Report missing definition for footnote references" (footnote) high] [cl-struct-org-lint-checker unreferenced-footnote-definition "Report missing reference for footnote definitions" (footnote) high] [cl-struct-org-lint-checker extraneous-element-in-footnote-section "Report non-footnote definitions in footnote section" (footnote) high] [cl-struct-org-lint-checker invalid-keyword-syntax "Report probable invalid keywords" (default) low] [cl-struct-org-lint-checker invalid-block "Report invalid blocks" (default) low] [cl-struct-org-lint-checker misplaced-planning-info "Report misplaced planning info line" (default) low] [cl-struct-org-lint-checker incomplete-drawer "Report probable incomplete drawers" (default) low] [cl-struct-org-lint-checker indented-diary-sexp "Report probable indented diary-sexps" (default) low] [cl-struct-org-lint-checker quote-section "Report obsolete QUOTE section" (obsolete) low]))
  org-lint(nil)
  call-interactively(org-lint record nil)
  command-execute(org-lint record)
  helm-M-x(nil "org-lint")
  call-interactively(helm-M-x nil nil)
  command-execute(helm-M-x)


I suspect I have some error in my Org mode file that is causing abundant confusion.

All the best,
Tom


-- 
Thomas S. Dye
http://www.tsdye.com

             reply	other threads:[~2015-09-14 18:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-14 18:58 Thomas S. Dye [this message]
2015-09-15  4:56 ` Org-lint error Thomas S. Dye
2015-09-16 12:37   ` Nicolas Goaziou
2015-09-16 16:20     ` Thomas S. Dye

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=m237ygde0u.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    /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).