From: Erik Iverson <eriki@ccbr.umn.edu>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Ditaa and babel goofing again?
Date: Wed, 01 Sep 2010 16:28:18 -0500 [thread overview]
Message-ID: <4C7EC572.3010100@ccbr.umn.edu> (raw)
In-Reply-To: <AANLkTimEDZm7wSWCTA0vrNf-YsJmRz6iVg4y+6YG0upy@mail.gmail.com>
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
next prev parent reply other threads:[~2010-09-01 21:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-01 21:11 Ditaa and babel goofing again? John Hendy
2010-09-01 21:28 ` Erik Iverson [this message]
[not found] ` <AANLkTimVii2UwcvDvP2911VAQ8ZZkaJcw+Ues80SiWYT@mail.gmail.com>
[not found] ` <4C7ECE0A.1030000@ccbr.umn.edu>
2010-09-01 22:17 ` John Hendy
2010-09-01 23:30 ` Juan
2010-09-02 0:09 ` Eric Schulte
2010-09-02 1:26 ` John Hendy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C7EC572.3010100@ccbr.umn.edu \
--to=eriki@ccbr.umn.edu \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).