From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Re: org-export-generic gives an error Date: Fri, 17 Jul 2009 14:23:36 -0500 Message-ID: <211769420907171223r6ffe0086mccfbed65aa0fe3f5@mail.gmail.com> References: <87eisgjl8s.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRt28-0005Qe-20 for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 15:23:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRt1y-0005JU-C7 for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 15:23:46 -0400 Received: from [199.232.76.173] (port=34672 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRt1x-0005JD-Sp for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 15:23:41 -0400 Received: from mail-bw0-f219.google.com ([209.85.218.219]:46989) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRt1x-0005Ao-3t for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 15:23:41 -0400 Received: by bwz19 with SMTP id 19so1079036bwz.42 for ; Fri, 17 Jul 2009 12:23:37 -0700 (PDT) In-Reply-To: <87eisgjl8s.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org, srinivas On Thu, Jul 16, 2009 at 5:50 PM, Bastien wrot= e: > srinivas 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 fol= lowing >> error: >> >> =3D=3D=3D from *Messages* buffer >> and: Symbol's function definition is void: characterp > > Please try to follow these recommendations: > > =A0http://orgmode.org/manual/Feedback.html > > and send a more useful backtrace. > > Thanks! > > -- > =A0Bastien > I'm getting this bug as well. I tried to follow the Feedback tips listed h= ere: 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-pat= h)) 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