Re: [O] orgmode batch publishing failure
> 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
Re: [O] orgmode batch publishing failure
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"). 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
[O] orgmode batch publishing failure
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 --8<---cut here---start->8--- 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")' --8<---cut here---end--->8--- .org_batch_publish --8<---cut here---start->8--- ;; -*- mode: emacs-lisp -*- (let* ((my-lisp-dir "~/dummy_layer/rechner/emacs+/") (default-directory my-lisp-dir) (orig-load-path load-path)) (setq load-path (cons my-lisp-dir nil)) (normal-top-level-add-subdirs-to-load-path) (nconc load-path orig-load-path)) (require 'org) ;;setup (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (dot . t) (ditaa . t) (awk . t) (ledger . t) (python . t) (shell . t) (gnuplot . t) (latex . t))) ;; I don't want to be prompted on every code block evaluation (setq org-confirm-babel-evaluate nil) (setq org-export-allow-BIND t org-export-creator-info nil org-html-creator-string "" org-html-date-format-string "%d/%m/%Y %R" org-html-postamble nil) (setq org-publish-project-alist '(("org" :base-directory "~/misc/horg/" :publishing-directory "~/misc/public" :section-numbers nil ; :table-of-contents t ; :html-preamble nil :publishing-function org-html-publish-to-html :style "") ("org-static" :base-directory "~/misc/horg/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "~/misc/public/" :recursive t :publishing-function org-publish-attachment ) )) --8<---cut here---end--->8---