all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* What is the status of ob-ditaa?
@ 2024-10-30 11:39 Jarmo Hurri
  2024-10-30 14:57 ` Colin Baxter
  0 siblings, 1 reply; 2+ messages in thread
From: Jarmo Hurri @ 2024-10-30 11:39 UTC (permalink / raw)
  To: emacs-orgmode


Greetings.

I just tried to export an org file with bunch of ditaa images and got
the infamous error:

Error: Unable to initialize main class org.stathissideris.ascii2image.core.CommandLineConverter
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException

This is under Fedora 40 with org 9.6.15. I do have ditaa.jar, but from
the looks of the shell script /usr/bin/ditaa that runs the jar it needs
to be run differently than what ob-ditaa does at the moment.

In the past I think this was solved by downloading a contrib version of
ditaa.jar. Now I can not find this under org contrib.

https://github.com/emacsmirror/org-contrib

Is there a working solution?

All the best,

Jarmo



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

* Re: What is the status of ob-ditaa?
  2024-10-30 11:39 What is the status of ob-ditaa? Jarmo Hurri
@ 2024-10-30 14:57 ` Colin Baxter
  0 siblings, 0 replies; 2+ messages in thread
From: Colin Baxter @ 2024-10-30 14:57 UTC (permalink / raw)
  To: Jarmo Hurri; +Cc: emacs-orgmode

>>>>> Jarmo Hurri <jarmo.hurri@iki.fi> writes:

    > I just tried to export an org file with bunch of ditaa images and
    > got the infamous error:

    > Error: Unable to initialize main class
    > org.stathissideris.ascii2image.core.CommandLineConverter Caused
    > by: java.lang.NoClassDefFoundError:
    > org/apache/commons/cli/ParseException

    > This is under Fedora 40 with org 9.6.15. I do have ditaa.jar, but
    > from the looks of the shell script /usr/bin/ditaa that runs the
    > jar it needs to be run differently than what ob-ditaa does at the
    > moment.

    > In the past I think this was solved by downloading a contrib
    > version of ditaa.jar. Now I can not find this under org contrib.

    > https://github.com/emacsmirror/org-contrib

    > Is there a working solution?

ditaa works for me, using Org mode version 9.8-pre
(release_9.7.14-156-g1c9873). Would you like me to email you my version
of ditaa.jar? I'm on Debian 9.13 (it's old but it works).

Best wishes,

Colin Baxter.

 


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

end of thread, other threads:[~2024-10-30 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30 11:39 What is the status of ob-ditaa? Jarmo Hurri
2024-10-30 14:57 ` Colin Baxter

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.