From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baoqiu Cui Subject: Re: org export as twiki - Failure to export with error: (wrong-type-argument stringp nil) Date: Wed, 03 Mar 2010 18:26:58 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nn0mW-0007d1-En for emacs-orgmode@gnu.org; Wed, 03 Mar 2010 21:27:20 -0500 Received: from [140.186.70.92] (port=42378 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nn0mU-0007cs-Ke for emacs-orgmode@gnu.org; Wed, 03 Mar 2010 21:27:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nn0mT-000633-T5 for emacs-orgmode@gnu.org; Wed, 03 Mar 2010 21:27:18 -0500 Received: from lo.gmane.org ([80.91.229.12]:42117) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nn0mT-00062z-MW for emacs-orgmode@gnu.org; Wed, 03 Mar 2010 21:27:17 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nn0mS-00079b-DH for emacs-orgmode@gnu.org; Thu, 04 Mar 2010 03:27:16 +0100 Received: from nat-dip4.cfw-a-gci.corp.yahoo.com ([209.131.62.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Mar 2010 03:27:16 +0100 Received: from cbaoqiu by nat-dip4.cfw-a-gci.corp.yahoo.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Mar 2010 03:27:16 +0100 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: emacs-orgmode@gnu.org "Mario E. Munich" writes: > *What steps will reproduce the problem?* > 1. orgmode 0.34c, emacs 23 on Ubuntu 9.10 (this function used to work > in previous > versions of orgmode) > 2. Write an org file > 3. Use the provided function to export as twiki to find the error message > > *What is the expected output? What do you see instead?* > Here is the backtrace: > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > string-match("\\[\\[\\([^][]+\\)\\]\\(\\[\\([^][]+\\)\\]\\)?\\]\\|[ > ]+\\(:[[:alnum:]_@:]+:\\)[ ]*$" nil) > org-docbook-expand(nil) > byte-code(" > org-export-as-docbook() > (let* ((wconfig ...) (docbook-buf ...) (filename ...) (base ...) > (twiki-file ...)) (and (file-exists-p twiki-file) (delete-file twiki-file)) > (message "Processing DocBook XML file...") (shell-command (format "xsltproc > --output %s /home/mariomu/synchronize/site-lisp/docbook2twiki.xsl %s" > twiki-file ...)) (message "Processing DocBook file...done") (if (not ...) > (error "TWiki file was not produced") (set-window-configuration wconfig) > (message "Exporting to TWiki...done") twiki-file)) > org-export-as-twiki() > call-interactively(org-export-as-twiki nil nil) Hi Mario, I was not able to recreate this problem using my testing Org file. Could you please send us your Org file? It would be great if you can keep the file small. Thanks, -- Baoqiu