[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] orgmode batch publishing failure
From: |
Nick Dokos |
Subject: |
Re: [O] orgmode batch publishing failure |
Date: |
Wed, 19 Nov 2014 11:24:59 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
henry atting <address@hidden> writes:
> org-mode version 8.3beta (release_8.3beta-581-g0e52f0)
>
> After updating orgmode from git batch publishing does not work anymore,
> the error message says:
>
> Autoloading failed to define function time-add
>
> The according part of Makefile
>
>
> sheet: $(HOME)/misc/horg/ledger-queries.org $(HOME)/.org_batch_publish
> touch $(HOME)/misc/horg/ledger-queries.org
> emacs --batch -Q -l $(HOME)/.org_batch_publish --eval '(org-publish
> "org")'
>
For problems like this, I try doing it without --batch. Start emacs:
emacs -Q -l $(HOME)/.org_batch_publish
turn on debug-on-error and then eval (org-publish "org").
time-add is defined in time-date.el which is required by org.el, so I'm
not sure why you are getting this. The backtrace (assuming you get one)
might shed some more light.
There have been situations where I get the error with --batch but not
without. These cases are more difficult to debug unfortunately.
Nick