From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: Bug: subtree export fails with src block Date: Mon, 04 Oct 2010 07:48:29 -0600 Message-ID: <87bp7a83r6.fsf@gmail.com> References: <70a0cde5cbf513c515de12aa486b29cd.squirrel@webmail.godzone.net.nz> <87d3rq9jpq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=38154 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2lSf-0000Vt-UJ for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 09:52:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2lSd-0000Wo-P8 for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 09:52:12 -0400 Received: from mail-qy0-f176.google.com ([209.85.216.176]:62173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2lSd-0000Wi-Mb for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 09:52:11 -0400 Received: by qyk33 with SMTP id 33so603508qyk.0 for ; Mon, 04 Oct 2010 06:52:10 -0700 (PDT) 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: Giovanni@reflections.co.nz Cc: emacs-orgmode@gnu.org "Eric Schulte" writes: [...] > > "Giovanni Moretti" writes: > >> I'm just starting with Babel and have been puzzled about why one file >> worked and another didn't. >> >> I have been playing in a new file without any headers at all (no lines >> starting with '*') and while I could execute the code in the buffer, >> exporting to HTML always failed with: >> >> No such file: c:/org/babel-python-test.org:: >> > > Hmm, it looks like it's trying to find a file with "::" attached to the > end which is probably the source of the issue. I wonder if this is a > windows specific problem? > a-ha, I just noticed that while my test file "python.org" was exporting w/o problem, it was opening a "python.org::" buffer in the process, so maybe the reason this throws errors for you and not for me is just Unix's more permissive file names. I've just pushed up a change to the Babel exporter that will only concat the "::" to the end of a file name, where there is actually a heading to following it. Hopefully this will fix the error you described, please let me know if that is not the case. Best -- Eric