emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] org-export-generic gives an error


From: Nathan Neff
Subject: Re: [Orgmode] org-export-generic gives an error
Date: Fri, 17 Jul 2009 14:23:36 -0500

On Thu, Jul 16, 2009 at 5:50 PM, Bastien<address@hidden> wrote:
> srinivas <address@hidden> writes:
>
>> I am trying to test org-export-generic. I have an org file which exports
>> correctly to html but when I tried the org-export-generic, I get the 
>> following
>> error:
>>
>> === from *Messages* buffer
>> and: Symbol's function definition is void: characterp
>
> Please try to follow these recommendations:
>
>  http://orgmode.org/manual/Feedback.html
>
> and send a more useful backtrace.
>
> Thanks!
>
> --
>  Bastien
>

I'm getting this bug as well.  I tried to follow the Feedback tips listed here:
http://orgmode.org/manual/Feedback.html

Here's my version information:
Aquamacs Version:
GNU Emacs 22.3.1 (i386-apple-darwin9.6.0, Carbon Version 1.6.0)
 of 2009-02-17 on plume.sr.unh.edu - Aquamacs Distribution 1.7

Org Version:
Its value is "6.28trans"

I used a bare-minimum .emacs file (I'm using the git version of org-mode)
;; Add org-mode to path
(setq load-path (cons "~/src/3rdparty/elisp/org-mode/lisp" load-path))
(setq load-path (cons "~/src/3rdparty/elisp/org-mode/contrib/lisp" load-path))

Then, I created a bare-bones org file, and saved it as "foo.org"

* Do Something

I turned on debug mode, and simply ran this command while
the cursor was in "foo.org":

M-x org-export-generic

When presented with the menu, I cab choose any of the "a"scii
"w"ikipedia, "d"emo, "h"tml, etc choices.
All choices gives the following error/stacktrace:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-name-nondirectory(nil)
  (or (and subtree-p (org-entry-get ... "EXPORT_FILE_NAME" t))
(file-name-nondirectory bfname))
  (file-name-sans-extension (or (and subtree-p ...)
(file-name-nondirectory bfname)))
  (concat (file-name-as-directory (org-export-directory :ascii
opt-plist)) (file-name-sans-extension (or ... ...)) filesuffix)
  (let* ((opt-plist ...) (region-p ...) (rbeg ...) (rend ...)
(subtree-p ...) (level-offset ...) (opt-plist ...) helpstart (bogus
...) (help ...) (cmds ...) r1 r2 ass (export-plist ...) (custom-times
org-display-custom-times) (org-generic-current-indentation ...) (level
0) (old-level 0) line txt lastwastext (umax nil) (umax-toc nil)
(case-fold-search nil) (bfname ...) (filesuffix ...) (filename ...)
(filename ...) (buffer ...) (org-levels-open ...) (odd
org-odd-levels-only) (date ...) (author ...) (title ...) (email ...)
(language ...) (quote-re0 ...) (todo nil) (lang-words nil) (region
...) (lines ...) (withtags ...) (tagsintoc ...) (tocnotagsstr ...)
(tocdepth ...) (tocindentchar ...) (tocsecnums ...) (tocsecnumform
...) (tocformat ...) ...) (let (...) (org-unmodified ...)) (setq
org-min-level (org-get-min-level lines level-offset)) (setq
org-last-level org-min-level) (org-init-section-numbers)
(find-file-noselect filename) (setq lang-words (or ... ...))
(switch-to-buffer-other-window buffer) (erase-buffer)
(fundamental-mode) (mapc (lambda ... ...) org-export-plist-vars)
(org-set-local (quote org-odd-levels-only) odd) (setq umax (if arg ...
org-export-headline-levels)) (setq umax-toc umax) (if title (insert
...)) (if (and ... ...) (insert ...)) (cond (... ...) (date) (t ...))
(if (and date ...) (insert ...)) (if (plist-get export-plist
:toc-export) (progn ... ... ... ... ...)) (org-init-section-numbers)
(org-export-generic-check-section "top") (while (setq line ...) (when
... ... ...) (setq wrap nil) (setq line ...) (while ... ... ...) (when
custom-times ...) (cond ... ... ... ... ... ...))
(org-export-generic-check-section "bottom")
(org-export-generic-push-links (nreverse link-buffer)) (normal-mode)
(when thetoc (goto-char ...) (if ... ... ...) (mapc ... thetoc) (or
... ...)) (goto-char (point-min)) (let (beg end) (while ... ... ...
... ...)) (save-buffer) (let (beg end) (goto-char ...) (while ... ...
... ... ...) (goto-char ...) (while ... ... ... ...)) (goto-char
(point-min)))
  org-export-generic(nil)
  call-interactively(org-export-generic)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)


Hope this helps,

--Nate




reply via email to

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