From mboxrd@z Thu Jan 1 00:00:00 1970 From: henry atting Subject: Re: orgmode batch publishing failure Date: Wed, 19 Nov 2014 20:21:22 +0100 Message-ID: <87sihfngi5.fsf@bye.fritz.box> References: <87sihfqkp7.fsf@bye.fritz.box> <87h9xvupic.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrAoN-0006tR-Mz for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 14:21:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrAoH-0007mS-SW for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 14:21:07 -0500 Received: from plane.gmane.org ([80.91.229.3]:39990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrAoH-0007lG-M8 for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 14:21:01 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XrAoF-0003GF-3S for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 20:20:59 +0100 Received: from port-92-195-97-169.dynamic.qsc.de ([92.195.97.169]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2014 20:20:59 +0100 Received: from snd by port-92-195-97-169.dynamic.qsc.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2014 20:20:59 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > henry atting 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