emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: henry atting <snd@online.de>
To: emacs-orgmode@gnu.org
Subject: Re: orgmode batch publishing failure
Date: Wed, 19 Nov 2014 20:21:22 +0100	[thread overview]
Message-ID: <87sihfngi5.fsf@bye.fritz.box> (raw)
In-Reply-To: 87h9xvupic.fsf@alphaville.bos.redhat.com

> 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").

This worked flawlessly without any error...

> 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.
>

I could not track down the exact cause of this misbehaviour but I did
assume that it had something to with my migration from emacs 24* to 25*,
most probably some wrong lisp/etc directories. I removed everything and
built emacs anew, now it works again as expected.

> Nick

Thanks,
henry

      

      reply	other threads:[~2014-11-19 19:21 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
2014-11-19 19:21   ` henry atting [this message]

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=87sihfngi5.fsf@bye.fritz.box \
    --to=snd@online.de \
    --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).