From: Jarmo Hurri <jarmo.hurri@iki.fi>
To: emacs-orgmode@gnu.org
Subject: Re: What is the status of ob-ditaa?
Date: Thu, 31 Oct 2024 12:43:23 +0200 [thread overview]
Message-ID: <87jzdok0xg.fsf@iki.fi> (raw)
In-Reply-To: 87frodej0d.fsf@yandex.com
Colin Baxter <m43cap@yandex.com> writes:
>>>>>> 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).
Greetings Colin.
Can you post both
- your location of ditaa.jar; mine is
$ locate ditaa.jar
/usr/share/java/ditaa.jar
(this will tell me something about where your jar file came from)
- the contents of your jar; the first couple of files in mine are
$ jar -tf `locate ditaa.jar` | head -10
META-INF/
META-INF/MANIFEST.MF
org/
org/stathissideris/
org/stathissideris/ascii2image/
org/stathissideris/ascii2image/core/
org/stathissideris/ascii2image/graphics/
org/stathissideris/ascii2image/text/
org/stathissideris/ascii2image/core/CommandLineConverter.class
org/stathissideris/ascii2image/core/ConfigurationParser$XMLHandler.class
I think I saw somewhere a request to rewrite ob-ditaa.el. Unfortunately
my calendar looks awful atm, we should do something about this.
All the best,
Jarmo
next prev parent reply other threads:[~2024-10-31 10:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-30 11:39 What is the status of ob-ditaa? Jarmo Hurri
2024-10-30 14:57 ` Colin Baxter
2024-10-31 10:43 ` Jarmo Hurri [this message]
2024-10-31 12:27 ` Colin Baxter
2024-11-02 9:37 ` Jarmo Hurri
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=87jzdok0xg.fsf@iki.fi \
--to=jarmo.hurri@iki.fi \
--cc=emacs-orgmode@gnu.org \
/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).