* Error during org-export @ 2017-10-27 12:04 Gian-Maria Daffré 2017-10-28 9:23 ` Nicolas Goaziou 0 siblings, 1 reply; 9+ messages in thread From: Gian-Maria Daffré @ 2017-10-27 12:04 UTC (permalink / raw) To: emacs-orgmode Hello, I am currently on the following org-mode version Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @ /home/giammi/.emacs.d/elpa/org-20171023/) GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017- 09-15, modified by Debian If I create a simple heading like * Hello Test and then try to export as latex/pdf from org-mode (C-c C-e l o) I get the following error. Debugger entered--Lisp error: (void-variable element-property) org-element--parse-elements(1 16 first-section nil nil nil (org-data nil)) org-element-parse-buffer(nil nil) org-export-as(latex nil nil nil (:output-file "test_latex.tex")) org-export-to-file(latex "test_latex.tex" nil nil nil nil nil #[257 "\300\x01!\207" [org-latex-compile] 3 "\n\n(fn 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) funcall-interactively(org-export-dispatch nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch) I am looking for any hints on how to solve this problem. Thanks ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Error during org-export 2017-10-27 12:04 Error during org-export Gian-Maria Daffré @ 2017-10-28 9:23 ` Nicolas Goaziou 2017-10-28 10:39 ` Gian-Maria Daffré 0 siblings, 1 reply; 9+ messages in thread From: Nicolas Goaziou @ 2017-10-28 9:23 UTC (permalink / raw) To: Gian-Maria Daffré; +Cc: emacs-orgmode Hello, Gian-Maria Daffré <gian-maria.daffre@giammi.org> writes: > If I create a simple heading like > * Hello > Test > > and then try to export as latex/pdf from org-mode (C-c C-e l o) I get > the following error. > > Debugger entered--Lisp error: (void-variable element-property) FWIW, I cannot reproduce it. You may want to check your configuration file. Regards, -- Nicolas Goaziou ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Error during org-export 2017-10-28 9:23 ` Nicolas Goaziou @ 2017-10-28 10:39 ` Gian-Maria Daffré 2017-10-28 13:08 ` Eric S Fraga 0 siblings, 1 reply; 9+ messages in thread From: Gian-Maria Daffré @ 2017-10-28 10:39 UTC (permalink / raw) To: Nicolas Goaziou; +Cc: emacs-orgmode Hello Nicolas, On Sat, 2017-10-28 at 11:23 +0200, Nicolas Goaziou wrote: > Hello, > > Gian-Maria Daffré <gian-maria.daffre@giammi.org> writes: > > > If I create a simple heading like > > * Hello > > Test > > > > and then try to export as latex/pdf from org-mode (C-c C-e l o) I > > get > > the following error. > > > > Debugger entered--Lisp error: (void-variable element-property) > > FWIW, I cannot reproduce it. You may want to check your configuration > file. Thanks for your reply. If I use a completely empty .emacs file, then I get the error message. If I start with emacs -Q, then I can export the file without problem. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Error during org-export 2017-10-28 10:39 ` Gian-Maria Daffré @ 2017-10-28 13:08 ` Eric S Fraga 2017-10-28 14:58 ` Gian-Maria Daffré 0 siblings, 1 reply; 9+ messages in thread From: Eric S Fraga @ 2017-10-28 13:08 UTC (permalink / raw) To: Gian-Maria Daffré; +Cc: emacs-orgmode, Nicolas Goaziou [-- Attachment #1: Type: text/plain, Size: 363 bytes --] On Saturday, 28 Oct 2017 at 12:39, Gian-Maria Daffré wrote: > If I use a completely empty .emacs file, then I get the error message. But if your .emacs is completely empty, how does emacs know how to get the ELPA version of org? Do you have an init file in your .emacs.d directory? -- : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-117-g5b2b8f [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 194 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Error during org-export 2017-10-28 13:08 ` Eric S Fraga @ 2017-10-28 14:58 ` Gian-Maria Daffré 2017-10-28 19:27 ` Eric S Fraga 0 siblings, 1 reply; 9+ messages in thread From: Gian-Maria Daffré @ 2017-10-28 14:58 UTC (permalink / raw) To: Eric S Fraga; +Cc: emacs-orgmode, Nicolas Goaziou On Sat, 2017-10-28 at 14:08 +0100, Eric S Fraga wrote: > On Saturday, 28 Oct 2017 at 12:39, Gian-Maria Daffré wrote: > > If I use a completely empty .emacs file, then I get the error > > message. > > But if your .emacs is completely empty, how does emacs know how to > get > the ELPA version of org? Do you have an init file in your .emacs.d > directory? On Sat, 2017-10-28 at 14:08 +0100, Eric S Fraga wrote: > On Saturday, 28 Oct 2017 at 12:39, Gian-Maria Daffré wrote: > > If I use a completely empty .emacs file, then I get the error > > message. > > But if your .emacs is completely empty, how does emacs know how to > get > the ELPA version of org? No idea... > Do you have an init file in your .emacs.d > directory? Not that I know of - IIRC I have never created one in that directory. Export was working perfect until yesterday. I did not change the init file. I just upgraded several files through M-x list-packages. If it helps, some additional information: Emacs : GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-15, modified by Debian Package: Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @ /home/giammi/.emacs.d/elpa/org-20171023/) current state: ============== (setq org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel- header-arg-expand) org-speed-command-hook '(org-speed-command-activate org-babel-speed- command-activate) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-after-todo-state-change-hook '(org-clock-out-if-current) 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-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change- major-mode-hook org-show-block-all append local] 5] #[0 "\300\301\302\303\304$\207" [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-bibtex-headline-format-function #[257 "\300\x01\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("id" :follow org-id-open) ("rmail" :follow org- rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe- store-link) ("irc" :follow org-irc-visit :store org-irc-store-link) ("info" :follow org-info-open :export org-info- export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus- store-link) ("docview" :follow org-docview-open :export org- docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org- bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb- export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("doi" :follow org--open-doi-link) ("elisp" :follow org--open-elisp-link) ("file" :complete org-file-complete-link) ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path)))) ("help" :follow org--open-help-link) ("http" :follow (lambda (path) (browse-url (concat "http:" path)))) ("https" :follow (lambda (path) (browse-url (concat "https:" path)))) ("mailto" :follow (lambda (path) (browse-url (concat "mailto:" path)))) ("news" :follow (lambda (path) (browse-url (concat "news:" path)))) ("shell" :follow org--open-shell-link)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) As mentioned, entering emacs -Q in the command line works for export, just emacs not. Thanks, Giammi ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Error during org-export 2017-10-28 14:58 ` Gian-Maria Daffré @ 2017-10-28 19:27 ` Eric S Fraga 2017-10-29 7:57 ` Gian-Maria Daffré 0 siblings, 1 reply; 9+ messages in thread From: Eric S Fraga @ 2017-10-28 19:27 UTC (permalink / raw) To: Gian-Maria Daffré; +Cc: Eric S Fraga, emacs-orgmode, Nicolas Goaziou [-- Attachment #1: Type: text/plain, Size: 856 bytes --] On Saturday, 28 Oct 2017 at 16:58, Gian-Maria Daffré wrote: [...] > If it helps, some additional information: > > > Emacs : GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) > of 2017-09-15, modified by Debian > Package: Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @ > /home/giammi/.emacs.d/elpa/org-20171023/) The point I was trying to make is that for Emacs to find that version of org (version 9.1.2 from elpa), you must have some initialisation, e.g. (package-initialize) or equivalent. If your .emacs is empty, how does Emacs find this version of org? I don't think Emacs 25.1.1 comes with org 9.1.2. Does it? What does "M-x org-version RET" give if you do this with emacs -Q? Also, maybe see what is in the directory ~/.emacs.d/ ? -- : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-117-g5b2b8f [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 194 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Error during org-export 2017-10-28 19:27 ` Eric S Fraga @ 2017-10-29 7:57 ` Gian-Maria Daffré 2017-10-29 12:38 ` Eric S Fraga 0 siblings, 1 reply; 9+ messages in thread From: Gian-Maria Daffré @ 2017-10-29 7:57 UTC (permalink / raw) To: Eric S Fraga; +Cc: emacs-orgmode, Nicolas Goaziou On Sat, 2017-10-28 at 20:27 +0100, Eric S Fraga wrote: > On Saturday, 28 Oct 2017 at 16:58, Gian-Maria Daffré wrote: > > [...] > > > If it helps, some additional information: > > > > > > Emacs : GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version > > 3.22.11) > > of 2017-09-15, modified by Debian > > Package: Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @ > > /home/giammi/.emacs.d/elpa/org-20171023/) > > The point I was trying to make is that for Emacs to find that version > of > org (version 9.1.2 from elpa), you must have some initialisation, > e.g. (package-initialize) or equivalent. If your .emacs is empty, > how > does Emacs find this version of org? I don't think Emacs 25.1.1 > comes > with org 9.1.2. Does it? What does "M-x org-version RET" give if > you > do this with emacs -Q? > > Also, maybe see what is in the directory ~/.emacs.d/ ? This helped a lot... emacs -Q Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/25.1/lisp/org/) emacs gives me Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @ /home/giammi/.emacs.d/elpa/org-20171023/) I deinstalled all org packages and installed again. It seems that installing org-evil and org-caldav installed also version 9.1.2 of org-mode as a (maybe) dependency. Don't know... If I have these 2 packages removed again (plus the dependency org-mode 9.1.2), then emacs gives me version 8.2.10 and everything works perfect. Just as further information. I had org-evil and org-caldav installed for more than a year - never had this issue. Thanks very much for your help. Best, Giammi ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Error during org-export 2017-10-29 7:57 ` Gian-Maria Daffré @ 2017-10-29 12:38 ` Eric S Fraga 2017-10-31 8:54 ` Gian-Maria Daffré 0 siblings, 1 reply; 9+ messages in thread From: Eric S Fraga @ 2017-10-29 12:38 UTC (permalink / raw) To: Gian-Maria Daffré; +Cc: Eric S Fraga, emacs-orgmode, Nicolas Goaziou [-- Attachment #1: Type: text/plain, Size: 640 bytes --] On Sunday, 29 Oct 2017 at 08:57, Gian-Maria Daffré wrote: [...] > This helped a lot... Glad I could help. However, your original problem still remains. You should be able to export using the latest version of org (i.e. 9.1.2). It would seem that your configuration is making reference to the default version of org *before* you ask for the new version. I find that you need to have your package-initialize as the first thing in your .emacs to ensure that the new version of org takes precedence. Have you tried doing this with v9.1.2 installed? -- : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-117-g5b2b8f [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 194 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Error during org-export 2017-10-29 12:38 ` Eric S Fraga @ 2017-10-31 8:54 ` Gian-Maria Daffré 0 siblings, 0 replies; 9+ messages in thread From: Gian-Maria Daffré @ 2017-10-31 8:54 UTC (permalink / raw) To: Eric S Fraga; +Cc: emacs-orgmode, Nicolas Goaziou Hello Eric, On Sun, 29 Oct 2017 12:38:37 +0000 Eric S Fraga <esflists@gmail.com> wrote: > On Sunday, 29 Oct 2017 at 08:57, Gian-Maria Daffré wrote: > > [...] > > > This helped a lot... > > Glad I could help. However, your original problem still remains. Agree. > You should be able to export using the latest version of org > (i.e. 9.1.2). It would seem that your configuration is making reference > to the default version of org *before* you ask for the new version. > > I find that you need to have your package-initialize as the first thing > in your .emacs to ensure that the new version of org takes > precedence. Have you tried doing this with v9.1.2 installed? > > -- > : Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-117-g5b2b8f The beginning of my .emacs file looked like this: (server-start) (setq package-enable-at-startup t) (package-initialize) Changed it now to this: (package-initialize) (setq package-enable-at-startup t) (server-start) Everything is working fine now. Thanks very much for your help, I would never have found that solution by myself. Best, Giammi -- Gian-Maria Daffré <gian-maria.daffre@giammi.org> ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-10-31 8:54 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-10-27 12:04 Error during org-export Gian-Maria Daffré 2017-10-28 9:23 ` Nicolas Goaziou 2017-10-28 10:39 ` Gian-Maria Daffré 2017-10-28 13:08 ` Eric S Fraga 2017-10-28 14:58 ` Gian-Maria Daffré 2017-10-28 19:27 ` Eric S Fraga 2017-10-29 7:57 ` Gian-Maria Daffré 2017-10-29 12:38 ` Eric S Fraga 2017-10-31 8:54 ` Gian-Maria Daffré
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).