From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OHS8HodfI2d7RgEAqHPOHw:P1 (envelope-from ) for ; Thu, 31 Oct 2024 10:44:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OHS8HodfI2d7RgEAqHPOHw (envelope-from ) for ; Thu, 31 Oct 2024 11:44:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730371463; a=rsa-sha256; cv=none; b=M0t1nEOiU7NkQcLqSD81+vT+knnTOq3CIIRgDElnl9qsgr/tA97VwFA5I3eh3Dd9KxSJXI +jXphlc8/NZOsvXRyzexMVwkxZ6NRQZ30EpDw2vvWWAMt6CAkiWOQsN98G4C381zoeZ60O blc1Br/o0ZQu3XijuHODcZpMLmc6p1ed0PxfRJruX3kK6VaBUfMKF+1PwJkeeB3y1lMTVB A5rLMzjp4ZXiY9b5dgD17Op9cKMjl0CJDxO8ViM2i2K0IU0/8sZvN3u/euD1MeOl5O9PZB SKYFaA/csPAP/cLgw/bJmD2Tfxrpzvgkx3OtYZR/AlAKySe1ieLCs9GmWRhL/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730371463; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=HkwWgn5mT3/4tw4Uhx32jbW1cwLvE8r/0bspH33eWKY=; b=FHhTSzbGIY1Ab9fWmnNEotFXv6GmZBjRl95urwgfRNtbCwKMoUABKek2tmWG2P7hkE51IK D0hMyntzl7gKsLcKWi49VeQfHBPGBiSZnWx70i+gejVgxqOd4GOt/jkZVcJfYZ+Vs6OXz2 GT0lKzqQFRVwoAQNM7mDfhFv1hVp5dSPQ2ltDUJZ0OI7R86GwD0qKfU3rBExfkYPSax5oD wmg0kcE1sKvXix+kSl5CnzBlVK/K35qpIpvh1MWHQw/O2oTI1BtRwJSpnFoo8jglNg9Lpd EfqMVjWRXv2qfo+C6ef7EUmCbBlYebWbNlntmg6rY9HMV7aaJ3f0bhWjbHPeuw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2400374B00 for ; Thu, 31 Oct 2024 11:44:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6SeS-0005Ul-Ex; Thu, 31 Oct 2024 06:43:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6SeN-0005OM-BT for emacs-orgmode@gnu.org; Thu, 31 Oct 2024 06:43:36 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6SeK-0008KN-SX for emacs-orgmode@gnu.org; Thu, 31 Oct 2024 06:43:34 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1t6SeJ-0004Td-8d for emacs-orgmode@gnu.org; Thu, 31 Oct 2024 11:43:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Jarmo Hurri Subject: Re: What is the status of ob-ditaa? Date: Thu, 31 Oct 2024 12:43:23 +0200 Message-ID: <87jzdok0xg.fsf@iki.fi> References: <87ldy595vg.fsf@iki.fi> <87frodej0d.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:nChRJHzOJaDhOJ+VIfJvOCODK8c= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.95 X-Spam-Score: -1.95 X-Migadu-Queue-Id: 2400374B00 X-Migadu-Scanner: mx10.migadu.com X-TUID: xAa0vrYLfoPs Colin Baxter writes: >>>>>> Jarmo Hurri 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