From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: [Babel] why did ob-ditaa generate image file fail in orgmode? Date: Wed, 16 Mar 2011 15:06:19 +0000 Message-ID: <8762rjyuj8.fsf@ucl.ac.uk> References: <87mxkvyvrm.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=37612 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzsIu-0008Ez-An for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 11:06:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzsIs-0006vd-KN for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 11:06:28 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:51172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzsIs-0006uG-Fw for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 11:06:26 -0400 In-Reply-To: (Eric Luo's message of "Wed, 16 Mar 2011 22:53:00 +0800") 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: Eric Luo Cc: emacs-orgmode@gnu.org Eric Luo writes: > Eric S Fraga writes: >> >> What was the snippet? (or at least a minimal version of one that >> exhibits the problem) > > Sorry for my mistake, I've forgotten the snippet, actually no matter > what i put in the block, the image couldn't be opened if the > generated it in orgmode. > > Anyway, what the snippet is: > > #+begin_src ditaa :file ~/test.png > test > #+end_src Now *this* is what I call a minimal example! ;-) In any case, it works for me just fine. Excerpt from the *Messages* buffer: --8<---------------cut here---------------start------------->8--- executing Ditaa code block... java -jar /home/ucecesf/git/org-mode/contrib/scripts/ditaa.jar /tmp/babel-244564L/ditaa-24454bP /home/ucecesf/test.png ditaa version 0.9, Copyright (C) 2004--2009 Efstathios (Stathis) Sideris Running with options: Reading file: /tmp/babel-244564L/ditaa-24454bP Locale: en_GB Dialog.bold Rendering to file: /home/ucecesf/test.png Done in 0sec Code block evaluation complete. --8<---------------cut here---------------end--------------->8--- The only difference I see between your messages and mine is the locale (and I have Dialog.bold instead of just Dialog for some reason but I don't know what that means...). What version of org are you using? How do you open the .png file? -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.55.g87c42.dirty)