emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nathan Neff <nathan.neff@gmail.com>
To: Bastien <bastienguerry@googlemail.com>
Cc: emacs-orgmode@gnu.org, srinivas <sp_us@yahoo.com>
Subject: Re: org-export-generic gives an error
Date: Fri, 17 Jul 2009 14:23:36 -0500	[thread overview]
Message-ID: <211769420907171223r6ffe0086mccfbed65aa0fe3f5@mail.gmail.com> (raw)
In-Reply-To: <87eisgjl8s.fsf@bzg.ath.cx>

On Thu, Jul 16, 2009 at 5:50 PM, Bastien<bastienguerry@googlemail.com> wrote:
> srinivas <sp_us@yahoo.com> 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	other threads:[~2009-07-17 19:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15 18:05 org-export-generic gives an error srinivas
2009-07-16 22:50 ` Bastien
2009-07-17 19:23   ` Nathan Neff [this message]
2009-07-17 20:19     ` srinivas
2009-07-20 14:48       ` Nathan Neff
2009-07-20 22:39       ` Orgmodeorg-export-generic " Wes Hardaker
2009-07-21  5:53         ` Bastien
2009-07-21 23:32         ` Shelagh Manton
2009-07-21 23:59           ` Bastien
2009-07-22 15:13             ` Wes Hardaker
2009-07-22 23:33               ` Shelagh Manton
2009-07-23  7:33                 ` Bastien
2009-07-23  7:11               ` Bastien
2009-07-23 14:31                 ` James TD Smith
2009-08-10 15:42                   ` Wes Hardaker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=211769420907171223r6ffe0086mccfbed65aa0fe3f5@mail.gmail.com \
    --to=nathan.neff@gmail.com \
    --cc=bastienguerry@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sp_us@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).