[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] possible bug in ox-odt.el?

From: Matt Price
Subject: [O] possible bug in ox-odt.el?
Date: Sun, 25 May 2014 11:18:33 -0400


for some time I've noticed that the export to odt options were not
being offered in the export menu options (C-c E-c), even though I have
(require ox-odt) in my startup file.  Attempts to evaluate ox-odt
manually failed with this error:

defconst: Wrong type argument: stringp, nil

I've tracked the problem down to org-odt-lib-dir:

(defconst org-odt-lib-dir
  (file-name-directory load-file-name)
  "Location of ODT exporter.
Use this to infer values of `org-odt-styles-dir' and

from what I can tell, 'load-file-name' appears to be nil.  Replacing

  (file-name-directory load-file-name)

with a string like:


fixes the problem for me, but that doesn't seem like a very robust
solution.  I don't understand emacs internals very well, but is this
possibly a bug in ox-odt.el, or more likely something in my own
(poorly maintained) setup files?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]