emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: aaron barclay <aaron.diplopic@gmail.com>
To: emacs-orgmode@gnu.org
Subject: export-as-hmtl fail
Date: Tue, 24 Jan 2012 17:23:29 +1100	[thread overview]
Message-ID: <CAHtOG9F48jAPrG=L6TQ1V_9TtoNcjFELcyDyZRhFvux2wSVuAw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 892 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1061 bytes --]

             reply	other threads:[~2012-01-24  6:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24  6:23 aaron barclay [this message]
2012-01-24 13:02 ` Martyn Jago
2012-01-27  2:34   ` aaron barclay

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='CAHtOG9F48jAPrG=L6TQ1V_9TtoNcjFELcyDyZRhFvux2wSVuAw@mail.gmail.com' \
    --to=aaron.diplopic@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: export-as-hmtl fail' \
    /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

Code repositories for project(s) associated with this 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).