* Lisp error: (void-function org-babel-get-header)
@ 2015-11-30 16:34 Thomas S. Dye
2015-11-30 17:08 ` Kyle Meyer
0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2015-11-30 16:34 UTC (permalink / raw)
To: org mode
Aloha all,
After updating Org mode this weekend and exporting a document that
exported on Friday, I get the error in the subject.
I ran grep org-babel-get-header *.el in org-mode/lisp and didn't get a
result.
I'm still working on my first cup of coffee this AM, so I might have
missed something obvious.
Here is a backtrace:
Debugger entered--Lisp error: (void-function org-babel-get-header)
org-babel-get-header(((:var x . "joint-posteriors") (:colname-names) (:rowname-names) (:result-params "silent") (:result-type . value) (:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "silent") (:hlines . "no") (:session . "none")) :var)
org-babel-variable-assignments:sh(((:var x . "joint-posteriors") (:colname-names) (:rowname-names) (:result-params "silent") (:result-type . value) (:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "silent") (:hlines . "no") (:session . "none")))
org-babel-execute:sh("texcount -1 -sum=1,0,0,0,0,0,0 $x.tex" ((:var x . "joint-posteriors") (:colname-names) (:rowname-names) (:result-params "silent") (:result-type . value) (:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "silent") (:hlines . "no") (:session . "none")))
org-babel-execute-src-block(nil ("sh" "texcount -1 -sum=1,0,0,0,0,0,0 $x.tex" ((:comments . "") (:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "replace") (:var . "x=(file-name-sans-extension (buffer-name))") (:session . "none") (:hlines . "no")) "" "code-tex-count" 0 64783) ((:results . "silent")))
#[0 "\305\302\306\307#\203h\310 \204\0\311 \312\313\"\300\242\232\203d\312\314\"b\210\315!\211\316=\2033\317\320\321\322 !\"\210\202c\211\323=\203J\317\320\324\306\211\v?\205D\301#\"\210\202c\325!\211\211\262\203^\211\317\320\"\266\202b\326\327!\210\210\210\210\202\0\330\300\242!\203u\317\320\331 \"\210\332\300\242!\f\236A\211\203\211\317\320\324\306\301#\"\210\210\326\333\300\242\"\207" [("code-tex-count") ((:results . "silent")) "^[ ]*#\\+\\(name\\|results\\|tblname\\)\\(\\[\\(<\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} ?[^
\n>]*?\\)> \\)?\\([[:alnum:]]+\\)\\]\\)?\\:[ ]*code-tex-count\\([ ]\\|$\\)" org-babel-update-intermediate org-babel-library-of-babel re-search-forward nil t org-in-commented-heading-p org-element-at-point org-element-property :name :post-affiliated org-element-type babel-call throw :found org-babel-lob-execute org-babel-lob-get-info src-block org-babel-execute-src-block org-babel-read-element error "Reference not found" org-babel-ref-goto-headline-id org-babel-ref-headline-body intern "Reference `%s' not found in this buffer"] 8 "\n\n(fn)"]()
funcall(#[0 "\305\302\306\307#\203h\310 \204\0\311 \312\313\"\300\242\232\203d\312\314\"b\210\315!\211\316=\2033\317\320\321\322 !\"\210\202c\211\323=\203J\317\320\324\306\211\v?\205D\301#\"\210\202c\325!\211\211\262\203^\211\317\320\"\266\202b\326\327!\210\210\210\210\202\0\330\300\242!\203u\317\320\331 \"\210\332\300\242!\f\236A\211\203\211\317\320\324\306\301#\"\210\210\326\333\300\242\"\207" [("code-tex-count") ((:results . "silent")) "^[ ]*#\\+\\(name\\|results\\|tblname\\)\\(\\[\\(<\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} ?[^
\n>]*?\\)> \\)?\\([[:alnum:]]+\\)\\]\\)?\\:[ ]*code-tex-count\\([ ]\\|$\\)" org-babel-update-intermediate org-babel-library-of-babel re-search-forward nil t org-in-commented-heading-p org-element-at-point org-element-property :name :post-affiliated org-element-type babel-call throw :found org-babel-lob-execute org-babel-lob-get-info src-block org-babel-execute-src-block org-babel-read-element error "Reference not found" org-babel-ref-goto-headline-id org-babel-ref-headline-body intern "Reference `%s' not found in this buffer"] 8 "\n\n(fn)"])
org-babel-ref-resolve("code-tex-count()")
org-babel-ref-parse("results=code-tex-count()")
#[(el) "\b:\203\a\b\207\301\b!\207" [el org-babel-ref-parse] 2]("results=code-tex-count()")
mapcar(#[(el) "\b:\203\a\b\207\301\b!\207" [el org-babel-ref-parse] 2] ("results=code-tex-count()"))
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Lisp error: (void-function org-babel-get-header)
2015-11-30 16:34 Lisp error: (void-function org-babel-get-header) Thomas S. Dye
@ 2015-11-30 17:08 ` Kyle Meyer
2015-11-30 18:28 ` Thomas S. Dye
0 siblings, 1 reply; 3+ messages in thread
From: Kyle Meyer @ 2015-11-30 17:08 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: org mode
Hi Tom,
Thomas S. Dye <tsd@tsdye.com> writes:
> Aloha all,
>
> After updating Org mode this weekend and exporting a document that
> exported on Friday, I get the error in the subject.
Any chance you have (sh . t) in org-babel-do-load-languages? If so,
s/sh/shell/ should fix it.
See http://thread.gmane.org/gmane.emacs.orgmode/102877/focus=102882 for
an explanation.
--
Kyle
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Lisp error: (void-function org-babel-get-header)
2015-11-30 17:08 ` Kyle Meyer
@ 2015-11-30 18:28 ` Thomas S. Dye
0 siblings, 0 replies; 3+ messages in thread
From: Thomas S. Dye @ 2015-11-30 18:28 UTC (permalink / raw)
To: Kyle Meyer; +Cc: org mode
Aloha Kyle,
Kyle Meyer <kyle@kyleam.com> writes:
> Hi Tom,
>
> Thomas S. Dye <tsd@tsdye.com> writes:
>
>> Aloha all,
>>
>> After updating Org mode this weekend and exporting a document that
>> exported on Friday, I get the error in the subject.
>
> Any chance you have (sh . t) in org-babel-do-load-languages? If so,
> s/sh/shell/ should fix it.
>
> See http://thread.gmane.org/gmane.emacs.orgmode/102877/focus=102882 for
> an explanation.
That was the problem. I'm up and running again.
Thanks for your help.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-30 18:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-30 16:34 Lisp error: (void-function org-babel-get-header) Thomas S. Dye
2015-11-30 17:08 ` Kyle Meyer
2015-11-30 18:28 ` Thomas S. Dye
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).