emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: orgmode batch publishing failure
Date: Wed, 19 Nov 2014 11:24:59 -0500	[thread overview]
Message-ID: <87h9xvupic.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 87sihfqkp7.fsf@bye.fritz.box

henry atting <snd@online.de> 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

  reply	other threads:[~2014-11-19 16:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-19 15:22 orgmode batch publishing failure henry atting
2014-11-19 16:24 ` Nick Dokos [this message]
2014-11-19 19:21   ` henry atting

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=87h9xvupic.fsf@alphaville.bos.redhat.com \
    --to=ndokos@gmail.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).