emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ditaa problem with latest org mode
@ 2014-06-11  2:29 Adrian Burd
  2014-06-11 14:18 ` Grant Rettke
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Burd @ 2014-06-11  2:29 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]

I am wondering if anyone else running Mavericks (OSX 10.9.2) on a Mac is
also having problems with ditaa? I'm running Emacs 24.3 and org-mode 8.2.6

Whenever I try to process some ditaa source code (either via an org file or
even from the command line) using the version if ditaa that comes with org,
I get the following unpleasant error

ditaa version 0.9, Copyright (C) 2004--2009  Efstathios (Stathis) Sideris

Exception in thread "main" java.lang.NoSuchMethodError:
 org.stathissideris.ascii2image.core.ConversionOptions.<init>(Lorg/apache/commons/cli/CommandLine;)V
at org.stathissideris.ascii2image.core.CommandLineConverter.main(Unknown
Source)

even when running with the simplest of ditaa files.

I get the same error if I use Apples Java (java 6) or Oracle's Java (java
7u60).

PlantUML code runs like a charm, so it's something in the way Java is
interacting with ditaa.

It does work on a similar Mac (in the office) running OSX 10.7 with org
mode 8.2.1, so I'm suspecting that there's something messed up with
Mavericks.

Is anyone else seeing this?

Thanks,

Adrian

[-- Attachment #2: Type: text/html, Size: 1524 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ditaa problem with latest org mode
  2014-06-11  2:29 ditaa problem with latest org mode Adrian Burd
@ 2014-06-11 14:18 ` Grant Rettke
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Rettke @ 2014-06-11 14:18 UTC (permalink / raw)
  To: Adrian Burd; +Cc: emacs-orgmode@gnu.org

I'm on:

Emacs version: GNU Emacs 24.3.1 (x86_64-apple-darwin13.1.0, NS
apple-appkit-1265.19)
of 2014-04-24 on orion
Org version: 8.2.6
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
ditaa0_9.jar

And org-babel-tangle on this

#+begin_src ditaa :file ditaa-simple.png :tangle no :exports both
  +------+   +-----+   +-----+   +-----+
  |{io}  |   |{d}  |   |{s}  |   |cBLU |
  | Foo  +---+ Bar +---+ Baz +---+ Moo |
  |      |   |     |   |     |   |     |
  +------+   +-----+   +--+--+   +-----+
                          |
             /-----\      |      +------+
             |     |      |      | c1AB |
             | Goo +------+---=--+ Shoo |
             \-----/             |      |
                                 +------+
#+end_src

Produces a png.
Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson


On Tue, Jun 10, 2014 at 9:29 PM, Adrian Burd <adrianburd12@gmail.com> wrote:
> I am wondering if anyone else running Mavericks (OSX 10.9.2) on a Mac is
> also having problems with ditaa? I'm running Emacs 24.3 and org-mode 8.2.6
>
> Whenever I try to process some ditaa source code (either via an org file or
> even from the command line) using the version if ditaa that comes with org,
> I get the following unpleasant error
>
> ditaa version 0.9, Copyright (C) 2004--2009  Efstathios (Stathis) Sideris
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.stathissideris.ascii2image.core.ConversionOptions.<init>(Lorg/apache/commons/cli/CommandLine;)V
> at org.stathissideris.ascii2image.core.CommandLineConverter.main(Unknown
> Source)
>
> even when running with the simplest of ditaa files.
>
> I get the same error if I use Apples Java (java 6) or Oracle's Java (java
> 7u60).
>
> PlantUML code runs like a charm, so it's something in the way Java is
> interacting with ditaa.
>
> It does work on a similar Mac (in the office) running OSX 10.7 with org mode
> 8.2.1, so I'm suspecting that there's something messed up with Mavericks.
>
> Is anyone else seeing this?
>
> Thanks,
>
> Adrian
>
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-11 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-11  2:29 ditaa problem with latest org mode Adrian Burd
2014-06-11 14:18 ` Grant Rettke

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).