emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Org-lint error


From: Thomas S . Dye
Subject: [O] Org-lint error
Date: Mon, 14 Sep 2015 08:58:09 -1000

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 via email to

[Prev in Thread] Current Thread [Next in Thread]