From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandros Bantis Subject: ledger file in org mode hangs during code block eval Date: Sat, 07 Apr 2012 21:06:42 -0700 Message-ID: <4F810ED2.5050107@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGjOv-0006BZ-0d for emacs-orgmode@gnu.org; Sun, 08 Apr 2012 00:06:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGjOs-0004Th-Th for emacs-orgmode@gnu.org; Sun, 08 Apr 2012 00:06:52 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:37016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGjOs-0004TN-MQ for emacs-orgmode@gnu.org; Sun, 08 Apr 2012 00:06:50 -0400 Received: by obbta14 with SMTP id ta14so5506236obb.0 for ; Sat, 07 Apr 2012 21:06:49 -0700 (PDT) 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 Hello all, Hoping someone might be help me diagnose this problem. I recently changed my linux distro from ubuntu to arch linux. I had an org-file that was running very well (over a year) up until the switch over. I have monthly entries separated into separate src ledger code blocks. When I do C-c C-c on a code block, it updates the results just fine. But when I try to update a report, it hangs for about 15 seconds and I get the following message: executing Ledger code block... executing Ledger source code block ledger -f /tmp/babel-13899vK/ledger-1389JnV -c -d "T&l<=3" bal Error: Please specify ledger file using -f or LEDGER_FILE environment variable. Code block evaluation complete. The code block that is being evaluated is only 127 lines in length. emacs version: GNU Emacs 23.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.9) of 2012-02-01 on shirley.hoetzel.inf org-version: Org-mode version 7.8.08 $ ledger -version Ledger 2.6.3, the command-line accounting tool The file that I'm using is an org-mode file encrypted with ccrypt, but when I create a duplicate unencrypted file, I get the same exact results. Thus, the problem doesn't seem to be related to ccrypt. When I paste the code block to a separate text file and run the command that was output from the *Messages* buffer. Thus, the problem doesn't seem to be related to ledger. Here's the relevant output from my installation log (pacman.log): [2012-04-06 18:38] Running 'pacman -U /tmp/yaourt-tmp-root/PKGDEST.6kK/emacs-org-mode-7.8.08-1-any.pkg.tar.xz' [2012-04-06 18:38] To enable this version of org-mode instead of the one shipped with emacs, [2012-04-06 18:38] add the line: [2012-04-06 18:38] (require 'org-install) [2012-04-06 18:38] to your .emacs file. [2012-04-06 18:38] [2012-04-06 18:38] NOTE: info documentation for emacs-org-mode goes now as 'orgmode' in /usr/share/info, [2012-04-06 18:38] It does NOT replace the 'org' info files shipped with emacs: [2012-04-06 18:38] $ info orgmode ## this version [2012-04-06 18:38] $ info org ## emacs' org version (currently 6.21) [2012-04-06 18:38] installed emacs-org-mode (7.8.08-1) $ whereis emacs emacs: /usr/bin/emacs /usr/lib/emacs /usr/share/emacs /usr/share/man/man1/emacs.1.gz relevant part from my .emacs file: ;; with a new installation (setq load-path (cons "/usr/share/emacs/site-lisp" load-path)) (require 'org-install) and I did confirm that the org-mode installation did install into that folder. Any ideas? alexandros bantis