From mboxrd@z Thu Jan 1 00:00:00 1970 From: aaron barclay Subject: export-as-hmtl fail Date: Tue, 24 Jan 2012 17:23:29 +1100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d0418269485d26504b7402f42 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpZn2-0005CH-J6 for emacs-orgmode@gnu.org; Tue, 24 Jan 2012 01:23:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpZn1-0006QT-EG for emacs-orgmode@gnu.org; Tue, 24 Jan 2012 01:23:32 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:58001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpZn1-0006QH-7d for emacs-orgmode@gnu.org; Tue, 24 Jan 2012 01:23:31 -0500 Received: by wgbds1 with SMTP id ds1so1832001wgb.30 for ; Mon, 23 Jan 2012 22:23:29 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --f46d0418269485d26504b7402f42 Content-Type: text/plain; charset=ISO-8859-1 Hello, When I use a python code block in a document any export-as-html results in the error "Invalid file-name". Without a code block the export goes without a hitch. Other exports work no probs such as export-as-ascii. The code block within the document acts as expected, it is only the export that fails. I was on org7.5 but updated to 7.8.03 but have the same result. Also, it is only the python code blocks that fail, others work. My babel setup is (org-babel-do-load-languages 'org-babel-load-languages '( (dot . t) (sh . t) (python . t) (emacs-lisp . t) )) (setq org-babel-python-command "python2.6") My code block is #+begin_src python :results output print "hi" #+end_src #+results: : hi Does anyone have any tips on what I might do to troubleshoot this. Could it be something else in my setup or system? Any else ever experienced this? cheers, aaron. --f46d0418269485d26504b7402f42 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

When I use a python code block in a document any export-as-ht= ml results in the error "Invalid file-name". Without a code block= the export goes without a hitch. Other exports work no probs such as expor= t-as-ascii. The code block within the document acts as expected, it is only= the export that fails. I was on org7.5 but updated to 7.8.03 but have the = same result.

Also, it is only the python code blocks that fail, others work.

= My babel setup is

(org-babel-do-load-languages
=A0'org-babel-= load-languages
=A0 '( (dot . t)=A0=A0=A0=A0=A0=A0=A0=A0
=A0=A0= =A0=A0 (sh . t)
=A0=A0=A0=A0 (python . t)
=A0=A0=A0=A0 (emacs-lisp . t)=A0=A0
=A0=A0 ))

(setq org-babel-py= thon-command "python2.6")

My code block is

#+begin= _src python :results output
print "hi"

#+end_src
#+results:
: hi

Does anyone have any tips on what I might do to troubleshoot th= is. Could it be something else in my setup or system? Any else ever experie= nced this?

cheers,
aaron.


--f46d0418269485d26504b7402f42--