From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Turoff Subject: Re: Problems with including ledger files in org-babel Date: Mon, 12 May 2014 21:18:01 -0400 Message-ID: References: <87a9anmf83.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3010ebfdca88f904f93dd55e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wk1M3-0007fP-O8 for emacs-orgmode@gnu.org; Mon, 12 May 2014 21:18:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wk1M2-0004Au-Lx for emacs-orgmode@gnu.org; Mon, 12 May 2014 21:18:03 -0400 Received: from mail-yk0-x22b.google.com ([2607:f8b0:4002:c07::22b]:52562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wk1M2-0004Al-I6 for emacs-orgmode@gnu.org; Mon, 12 May 2014 21:18:02 -0400 Received: by mail-yk0-f171.google.com with SMTP id 142so6612039ykq.2 for ; Mon, 12 May 2014 18:18:02 -0700 (PDT) In-Reply-To: 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: Samuel Wales Cc: emacs-orgmode@gnu.org --20cf3010ebfdca88f904f93dd55e Content-Type: text/plain; charset=UTF-8 Thanks everyone. I never saw C-c C-v C-v before, so that pointed me in the right direction. Most of the issue was with my inexperience debugging elisp. The messages buffer pointed me in the right direction; ledger wasn't emitting any output because was throwing warning messages. I traced it down to ledger complaining about a missing newline after the !include line inside the src block. And the !include'd file needs to have the full path, as expected. Thanks again, -- Adam On Mon, May 12, 2014 at 4:28 PM, Samuel Wales wrote: > if ledger does not work, you can use sh. i do. > > > On 5/12/14, Adam Turoff wrote: > > It seems like there's some issue with ledger not loading properly, and > the > > error appears to be eaten by org-babel. Is there any way to debug what > > org-babel is seeing here? > > c-c c-v c-v? > > -- > The Kafka Pandemic: http://thekafkapandemic.blogspot.com > > The disease DOES progress. MANY people have died from it. And > ANYBODY can get it. > > Denmark: free Karina Hansen NOW. > --20cf3010ebfdca88f904f93dd55e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks everyone. =C2=A0I never saw C-c C-v C-v before, so = that pointed me in the right direction.

Most of the issu= e was with my inexperience debugging elisp. =C2=A0The messages buffer point= ed me in the right direction; ledger wasn't emitting any output because= was throwing warning messages. =C2=A0I traced it down to ledger complainin= g about a missing newline after the !include line inside the src block.

And the !include'd file needs to have the full path= , as expected.

Thanks again,

<= div>-- Adam


On Mon, May 12, 2014 at 4:28 PM, Samuel Wales <samologist@gmail.com= > wrote:
if ledger does not work, you can use sh. =C2=A0i do.


On 5/12/14, Adam Turoff <adam.t= uroff@gmail.com> wrote:
> It seems like there's some issue with ledger not loading properly,= and the
> error appears to be eaten by org-babel. =C2=A0Is there any way to debu= g what
> org-babel is seeing here?

c-c c-v c-v?

--
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress. =C2=A0MANY people have died from it. =C2=A0And ANYBODY can get it.

Denmark: free Karina Hansen NOW.

--20cf3010ebfdca88f904f93dd55e--