From mboxrd@z Thu Jan 1 00:00:00 1970 From: ob-ledger@tangential.info Subject: ob-ledger errors quietly Date: Fri, 20 Mar 2020 07:46:32 -0700 Message-ID: <92c88f77-861e-4411-a639-406455dcc481@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51955) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFIvq-0007wb-J4 for emacs-orgmode@gnu.org; Fri, 20 Mar 2020 10:47:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFIvo-00057g-Ou for emacs-orgmode@gnu.org; Fri, 20 Mar 2020 10:47:30 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45679) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jFIvn-00056i-6P for emacs-orgmode@gnu.org; Fri, 20 Mar 2020 10:47:27 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 16DD05C02C8 for ; Fri, 20 Mar 2020 10:47:25 -0400 (EDT) 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello all, With the following, (org-babel-do-load-languages 'org-babel-load-languages '((ledger . t))) And #+BEGIN_SRC ledger 1970-01-01 example A 1 B #+END_SRC Upon typing C-c C-c, I see no errors in echo area, but there is an error hiding in *Messages* buffer, I've included it at the end of this message. I think more ideal would be if at least there was something in the echo area about the error. I began assuming otherwise, such as maybe ob-ledger was not really a working thing. I checked the following in a terminal, and the exit code was 1, via "echo $?". "printf '1970-01-01 example\n A 1\n B' | ledger -f - bal" Regards, -Brady Evaluate this ledger code block on your system? (y or n) y executing Ledger code block... executing Ledger source code block ledger -f /var/folders/z1/48qx4zkd7fzd7phhvlvl01w00000gn/T/babel-iM3fuM/ledger-CQlmp0 bal While parsing file "/var/folders/z1/48qx4zkd7fzd7phhvlvl01w00000gn/T/babel-iM3fuM/ledger-CQlmp0", line 3: While balancing transaction from "/var/folders/z1/48qx4zkd7fzd7phhvlvl01w00000gn/T/babel-iM3fuM/ledger-CQlmp0", lines 1-3: > 1970-01-01 example > A 1 > B Unbalanced remainder is: 1 Amount to balance against: 1 Error: Transaction does not balance Code block evaluation complete.