From mboxrd@z Thu Jan 1 00:00:00 1970 From: Derek Feichtinger Subject: Bug: exporter bug [8.3.1 (8.3.1-elpaplus @ /home/dfeich/.emacs.d/elpa/org-plus-contrib-20150805/)] Date: Thu, 6 Aug 2015 08:01:43 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f8ef2f0ffaf051c9e404c Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNEFP-0003Ae-FE for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 02:01:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNEFN-0007rZ-2H for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 02:01:47 -0400 Received: from mail-io0-x233.google.com ([2607:f8b0:4001:c06::233]:35245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNEFM-0007rG-Ow for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 02:01:45 -0400 Received: by iodd187 with SMTP id d187so71379711iod.2 for ; Wed, 05 Aug 2015 23:01:43 -0700 (PDT) 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 --001a113f8ef2f0ffaf051c9e404c Content-Type: text/plain; charset=UTF-8 Hi The current MELPA version (see version details below) seems to have problems with the exporter. I reinstalled several times from older configurations to try and exlude local effects. I get the error with all exporters I tried The file I am exporting is https://github.com/dfeich/org-babel-examples/blob/master/latex/latex-example.org Best regards Derek Backtrace (long lines cut for this mail): ################ Debugger entered--Lisp error: (wrong-type-argument listp #("Derek Feichtinger" 0 17 (:parent (#1)))) org-element-set-contents(#("Derek Feichtinger" 0 17 (:parent (#0)))) ... ... org-element-map((#("Derek Feichtinger" 0 17 (:parent #0))) plain-text ... org-export--get-inbuffer-options([cl-struct-org-export-backend latex nil ... org-export-get-environment([cl-struct-org-export-backend latex nil ... org-export-as(latex nil nil nil (:output-file "./latex-example.tex")) org-export-to-file(latex "./latex-example.tex" nil nil nil nil nil #[(file) ... org-latex-export-to-pdf(nil nil nil nil) (org-open-file (org-latex-export-to-pdf nil s v b)) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))) (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))))(nil nil nil nil) org-export-dispatch(nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch) ############# Configuration ############# Emacs : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2015-05-04 on dflt1w Package: Org-mode version 8.3.1 (8.3.1-elpaplus @ /home/dfeich/.emacs.d/elpa/org-plus-contrib-20150805/) current state: ============== (setq org-src-lang-modes '(("ipython" . python) ("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist) ("asymptote" . asy) ("dot" . fundamental) ("sqlite" . sql) ("calc" . fundamental) ("C" . c) ("cpp" . c++) ("C++" . c++) ("screen" . shell-script) ("shell" . sh) ("bash" . sh)) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-time-clocksum-format '(:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-html-format-drawer-function '(lambda (name contents) contents) org-log-done 'time org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-latex-pdf-process '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f") org-file-apps '(("\\.pdf.gz\\'" . "evince %s") ("\\.pdf\\'" . "evince %s") (auto-mode . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . default)) org-agenda-custom-commands '(("n" "Agenda and all TODO's" ((agenda "") (alltodo))) ("s" "Agenda and waiting tasks" ((agenda "" ((org-agenda-span 1) (org-agenda-show-log t))) (todo "WAIT") (todo "WAITFM") (todo "TODO" ((org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote scheduled) (quote deadline)) ) ) (org-agenda-overriding-header "unscheduled TODOs without a deadline:") ) ) ) ) ("h" . "my custom searches") ("hd" todo "DONE") ("ha" todo-tree "DONE") ("hw" "waiting tasks" todo "WAIT") ("hc" tags "CLOSED<=\"<-4w>\"") ("hm" tags-todo "+mbo") ("hu" "unscheduled and no deadline" todo "TODO" ((org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote scheduled) (quote deadline))) ) (org-agenda-overriding-header "unscheduled TODOs without a deadline:") ) ) ) org-latex-format-headline-function 'org-latex-format-headline-default-function org-capture-templates '(("t" "Todo" entry (file+headline (concat org-directory "tasks.org") "Captured Tasks") (concat "* TODO %?\n" " :LOGBOOK:" " - State \"TODO\" from \"\" %U\n %i\n" " :END:\n" " %a") ("n" "Notes + Link" entry (file (concat org-directory "notes.org")) "* %?\nEntered on %U\n %i\n %a") ) ("j" "Journal + Link" entry (file+datetree (concat org-directory "journal.org")) "* %?\nEntered on %U\n %i\n %a") ) org-agenda-include-diary t org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-latex-to-mathml-jar-file "~/.emacs.d/javalib/mathtoweb.jar" org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(my-org-hook-additions my-org-file-apps-additions org-clock-load #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load) org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9)) org-outline-path-complete-in-steps nil org-latex-to-mathml-convert-command "java -jar %j -unicode -force -df %o %I" org-archive-hook '(org-attach-archive-delete-maybe) org-use-speed-commands t org-ascii-format-drawer-function '(lambda (name contents width) contents) org-clock-persist 'history org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-refile-use-outline-path t org-directory "~/Dropbox/org/agenda/" org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-plantuml-jar-path "~/.emacs.d/javalib/plantuml.jar" org-latex-create-formula-image-program 'imagemagick org-ditaa-eps-jar-path "/home/dfeich/.emacs.d/elpa/contrib/scripts/DitaaEps.jar" org-latex-packages-alist '(("" "minted")) org-babel-tangle-lang-exts '(("D" . "d") ("C++" . "cpp") ("python" . "py") ("emacs-lisp" . "el") ("elisp" . "el")) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-log-into-drawer t org-latex-minted-langs '((ipython "python") (emacs-lisp "common-lisp") (cc "c++") (cperl "perl") (shell-script "bash") (caml "ocaml")) org-ditaa-jar-path "~/.emacs.d/javalib/ditaa.jar" org-html-format-headline-function 'org-html-format-headline-default-function org-completion-use-ido t org-babel-load-languages '((plantuml . t) (dot . t) (ditaa . t) (emacs-lisp . t) (python . t) (ipython . t) (sqlite . t) (sh . t) (calc . t) (gnuplot . t) (C . t)) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-agenda-files '("~/Dropbox/org/agenda/tasks.org" "~/Dropbox/org/agenda/ private.org" "~/Dropbox/org/agenda/tasks-n900.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) --001a113f8ef2f0ffaf051c9e404c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi

The current MELPA version (see version details below)= seems to have problems with
the exporter. I reinstalled several times from older configurations = to
try and exlude loca= l effects. I get the error with all exporters I tried

The file I am exporting is

Best regards
Derek

<= /div>
Backtrace (long lines cut for= this mail):

################
Debugger entered--Lisp error: (= wrong-type-argument listp #("Derek Feichtinger" 0 17 (:parent (#1= ))))
=C2=A0 org-elemen= t-set-contents(#("Derek Feichtinger" 0 17 (:parent (#0)))) ...
=C2=A0 ...
<= div>=C2=A0 org-element-map((#("Der= ek Feichtinger" 0 17 (:parent #0))) plain-text ...
=C2=A0 org-export--get-inbuffer-options([= cl-struct-org-export-backend latex nil ...
=C2=A0 org-export-get-environment([cl-struct-org-expor= t-backend latex nil ...
=C2=A0 o= rg-export-to-file(latex "./latex-example.tex" nil nil nil nil nil= #[(file) ...
=C2=A0 o= rg-latex-export-to-pdf(nil nil nil nil)
=C2=A0 (org-open-file (org-latex-export-to-pdf nil s v b)= )
=C2=A0 (if a (org-la= tex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v = b)))
=C2=A0 (lambda (a= s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-e= xport-to-pdf nil s v b))))(nil nil nil nil)
=C2=A0 org-export-dispatch(nil)
=C2=A0 call-interactively(org-export-dispat= ch nil nil)
=C2=A0 com= mand-execute(org-export-dispatch)
#############


Configuration
#############

Emacs =C2=A0: GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ = Version 3.10.8)
=C2=A0= of 2015-05-04 on dflt1w

current= state:
=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
=C2=A0o= rg-src-lang-modes '(("ipython" . python) ("ocaml" .= tuareg) ("elisp" . emacs-lisp)
=C2=A0 =C2=A0 =C2=A0("ditaa" . artist) ("asympto= te" . asy) ("dot" . fundamental)
=C2=A0 =C2=A0 =C2=A0("sqlite" . sql) ("cal= c" . fundamental) ("C" . c) ("cpp" . c++)
=C2=A0 =C2=A0 =C2=A0("C++" .= c++) ("screen" . shell-script) ("shell" . sh) ("b= ash" . sh))
=C2= =A0org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-resu= lt-toggle-maybe
=C2=A0 =C2=A0 = =C2=A0org-babel-header-arg-expand)
=C2=A0org-speed-command-hook '(org-speed-command-default-h= ook org-babel-speed-command-hook)
=C2=A0org-time-clocksum-format '(:hours "%d" :req= uire-hours t :minutes ":%02d" :require-minutes t)
=C2=A0org-occur-hook '(org-first-= headline-recenter)
=C2= =A0org-metaup-hook '(org-babel-load-in-session-maybe)
= =C2=A0org-html-format-drawer-function &= #39;(lambda (name contents) contents)
=C2=A0org-log-done 'time
=C2=A0org-latex-format-inlinetask-function 'org-= latex-format-inlinetask-default-function
=C2=A0org-confirm-shell-link-function 'yes-or-no-p
=C2=A0org-ascii-format-= inlinetask-function 'org-ascii-format-inlinetask-default
=C2=A0org-latex-pdf-process '(&q= uot;pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f= " "pdflatex -shell-escape -interaction nonstopmode -output-direct= ory %o %f" "pdflatex -shell-escape -interaction nonstopmode -outp= ut-directory %o %f")
=C2=A0org-file-apps '(("\\.pdf.gz\\'" . "evince = %s") ("\\.pdf\\'" . "evince %s") (auto-mode . = emacs)
("\\.mm\\'&quo= t; . default) ("\\.x?html?\\'" . default))
<= font face=3D"monospace, monospace">=C2=A0org-agenda-custom-commands '((= "n" "Agenda and all TODO's" ((agenda "") = (alltodo)))
=C2=A0 =C2=A0 =C2= =A0("s" "Agenda and waiting tasks"
=C2=A0 =C2=A0 =C2=A0 ((agenda "" ((org-= agenda-span 1) (org-agenda-show-log t)))
(todo "WAIT") (todo "WAITFM")
<= div> (todo "TODO"
((org-agenda-skip-function
=C2=A0 (quote
=C2=A0 =C2=A0(org-agenda-skip-entry-if (quote scheduled) (quot= e deadline))
=C2=A0 =C2=A0)<= /font>
=C2=A0 )
=C2=A0(org-agenda-overriding-header
=C2=A0 "unscheduled TODOs without = a deadline:")
=C2=A0)
)
)
<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> =C2=A0 = =C2=A0 =C2=A0 )
=C2=A0 =C2=A0= =C2=A0("h" . "my custom searches") ("hd" tod= o "DONE")
=C2=A0 = =C2=A0 =C2=A0("ha" todo-tree "DONE") ("hw" &q= uot;waiting tasks" todo "WAIT")
=C2=A0 =C2=A0 =C2=A0("hc" tags "CLOSED<= ;=3D\"<-4w>\"") ("hm" tags-todo "+mbo&q= uot;)
=C2=A0 =C2=A0 =C2=A0(&q= uot;hu" "unscheduled and no deadline" todo "TODO"<= /font>
=C2=A0 =C2=A0 =C2=A0 ((org-ag= enda-skip-function
(quote
=C2=A0(org-agenda-skip-entry-i= f (quote scheduled) (quote deadline)))
= )
(org-agenda-over= riding-header
"unschedu= led TODOs without a deadline:")
= )
=C2=A0 =C2=A0 =C2= =A0 )
=C2=A0 =C2=A0 =C2=A0)
=C2=A0org-latex-format-= headline-function 'org-latex-format-headline-default-function
=C2=A0org-capture-templates = 9;(("t" "Todo" entry
=C2=A0(file+headline (concat org-directory "tasks.org") "Captured Tasks")
=C2=A0(concat "* TODO %?\n" &q= uot; =C2=A0:LOGBOOK:"
= =C2=A0 " =C2=A0- State \"TODO\" =C2=A0 =C2=A0 =C2=A0 from \&= quot;\" =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 %U\n =C2=A0%i\n" "= ; =C2=A0:END:\n"
= =C2=A0 = " =C2=A0%a")
=C2=A0= ("n" "Notes + Link" entry (file (concat org-directory &= quot;notes.org"))
=C2=A0 "* %?\nEntered on %U\n =C2=A0%i\n = =C2=A0%a")
=C2=A0)
("j" "Journal + Lin= k" entry
=C2=A0(file+dat= etree (concat org-directory "journal.or= g"))
=C2=A0"* %= ?\nEntered on %U\n =C2=A0%i\n =C2=A0%a")
)
= =C2=A0org-agenda-include-diary t
=C2=A0org-after-todo-state-change-hook '(org-clock-out-if-cu= rrent)
=C2=A0org-latex= -format-drawer-function '(lambda (name contents) contents)
=
=C2=A0org-src-mode-hook '(org-= src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)<= /div>
=C2=A0org-agenda-before-write= -hook '(org-agenda-add-entry-text)
=C2=A0org-latex-to-mathml-jar-file "~/.emacs.d/javali= b/mathtoweb.jar"
= =C2=A0org-babel-pre-tangle-hook '(save-buffer)
=C2=A0org-mode-hook '(my-org-hook-addition= s my-org-file-apps-additions org-clock-load
#[nil "\300\301\302\303\304$\207"
= =C2=A0 [org-add-hook change-major-mode-hook org= -show-block-all append local] 5]
#[nil "\300\301\302\303\304$\207"
=C2=A0 [org-add-hook change-major-mode-hook org-babel-sho= w-result-all append local]
=C2= =A0 5]
org-babel-result-hide-s= pec org-babel-hide-all-hashes org-eldoc-load)
=C2=A0org-refile-targets '((nil :maxlevel . 9= ) (org-agenda-files :maxlevel . 9))
=C2=A0org-outline-path-complete-in-steps nil
=C2=A0org-latex-to-mathml-convert-comm= and "java -jar %j -unicode -force -df %o %I"
=C2=A0org-archive-hook '(org-attach-ar= chive-delete-maybe)
= =C2=A0org-use-speed-commands t
=C2=A0org-ascii-format-drawer-function '(lambda (name contents= width) contents)
=C2= =A0org-clock-persist 'history
=C2=A0org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-= babel-execute-safely-maybe)
=C2=A0org-refile-use-outline-path t
=C2=A0org-directory "~/Dropbox/org/agenda/"
=C2=A0org-cycle-hook &#= 39;(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
=C2=A0org-cycle-show-empty-lines org-optimiz= e-window-after-visibility-change)
=C2=A0org-plantuml-jar-path "~/.emacs.d/javalib/plantuml.j= ar"
=C2=A0org-lat= ex-create-formula-image-program 'imagemagick
=C2=A0org-ditaa-eps-jar-path "/home/dfeich/= .emacs.d/elpa/contrib/scripts/DitaaEps.jar"
=C2=A0org-latex-packages-alist '(("&quo= t; "minted"))
=C2=A0 =C2=A0 =C2=A0("emacs= -lisp" . "el") ("elisp" . "el"))<= /div>
=C2=A0org-confirm-elisp-link-= function 'yes-or-no-p
=C2=A0org-metadown-hook '(org-babel-pop-to-session-maybe)
=C2=A0org-log-into-drawer t
=C2=A0org-latex-minted-la= ngs '((ipython "python") (emacs-lisp "common-lisp")= (cc "c++")
= =C2=A0(= cperl "perl") (shell-script "bash") (caml "ocaml&q= uot;))
=C2=A0org-ditaa= -jar-path "~/.emacs.d/javalib/ditaa.jar"
=C2=A0org-html-format-headline-function 'o= rg-html-format-headline-default-function
=C2=A0org-completion-use-ido t
=C2=A0org-babel-load-languages '((plantuml = . t) (dot . t) (ditaa . t) (emacs-lisp . t) (python . t)
<= font face=3D"monospace, monospace"> =C2=A0 =C2=A0(ipython . t) (sqlite . t) (sh . t= ) (calc . t) (gnuplot . t) (C . t))
=C2=A0org-html-format-inlinetask-function 'org-html-forma= t-inlinetask-default-function
=C2=A0org-agenda-files '("~/Dropbox/org/agenda/tasks.org" "~/Dropbox/org/agenda/private.org"
=C2=A0 =C2=A0"~/Dropbox/org/agenda/tasks-n900.org")
=C2=A0org-clock-out-hook '(org-clock-remove-empty-clock= -drawer)
=C2=A0)

--001a113f8ef2f0ffaf051c9e404c--