From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Iverson Subject: Re: Ditaa and babel goofing again? Date: Wed, 01 Sep 2010 16:28:18 -0500 Message-ID: <4C7EC572.3010100@ccbr.umn.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=35170 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oqur1-0000ZO-Fj for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 17:28:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oqur0-00011j-Bp for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 17:28:23 -0400 Received: from walleye.ccbr.umn.edu ([128.101.116.11]:4053) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oqur0-00011b-4j for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 17:28:22 -0400 In-Reply-To: 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: John Hendy Cc: emacs-orgmode I see the following in my *Messages* buffer after running. executing Ditaa code block... java -jar /home/fileserv/tacc/eriki/emacs/lisp/org-mode/contrib/scripts/ditaa.jar /tmp/babel-31845pim/ditaa-318455Fo example.png DiTAA version 0.8, Copyright (C) 2004--2009 Efstathios Sideris Running with options: Reading file: /tmp/babel-31845pim/ditaa-318455Fo Locale: en_US Dialog.bold Rendering to file: example.png Done in 0sec Do you see something similar? Have you tried giving a full path to :file ?? Maybe the png is getting written somewhere you're not expecting. John Hendy wrote: > Hi, > > > See this post for > reference: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg27725.html > > With that issue, ditaa just wasn't cooperating for some reason. Now > everything /appears/ to cooperate but I get no output! Completely baffled... > > Per the mailing list resolution above, I tried the exact same thing: > - using the minimal.el file attached (with the path to my orgmode folder > and ditaa path) > - start emacs with "emacs -Q -l ~/path/to/minimal.el > - C-c C-c on the #+begin_src line of this (the only thing in the .org file): > > #+begin_src ditaa :file example.png > +---------------+ > | | > | ditaa example | > | | > +---------------+ > #+end_src > > "Executing ditaa code block" flashes in the minibuffer, then "finished", > and this is inserted into the file as one would expect: > > ---- > #+results: > file:example.png > ---- > > but no example.png file is created! > > Just to check my sanity, I can create a file dit.txt with only this: > > +---------------+ > | | > | ditaa example | > | | > +---------------+ > > and run "java -jar ~/path/to/ditaa.jar dit.txt" and get an output > picture just fine. The path in this command is the same as that in my > .emacs config and in minimal.el attached... > > What in the world is going on?!? > > > Thanks, > John > > P.S. In case it's really something I'm overlooking here's a copy and > paste straight from my .emacs file of my ditaa pertinent stuff: > > (setq org-ditaa-jar-path "~/.elisp/org.git/contrib/scripts/ditaa.jar") > (org-babel-do-load-languages > 'org-babel-load-languages > '((ditaa . t) > (gnuplot . t))) > > > ------------------------------------------------------------------------ > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode