* ditaa.jar not found
@ 2009-06-19 8:51 Sebastian Rose
2009-06-19 13:35 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Rose @ 2009-06-19 8:51 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 316 bytes --]
The path to ditaa.jar seems to have changed.
Debugger entered--Lisp error: (error "Could not find ditaa.jar at
/home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar")
signal(error ("Could not find ditaa.jar at
/home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar"))
....
This patch fixes it:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ditaa-path.patch --]
[-- Type: text/x-diff, Size: 593 bytes --]
diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el
index 56adb9f..8d6ad60 100644
--- a/lisp/org-exp-blocks.el
+++ b/lisp/org-exp-blocks.el
@@ -223,8 +223,10 @@ specified in BLOCKS which default to the value of
"scripts"
(file-name-as-directory
(expand-file-name
+ "contrib"
+ (expand-file-name
".."
- (file-name-directory (or load-file-name buffer-file-name)))))))
+ (file-name-directory (or load-file-name buffer-file-name))))))))
"Path to the ditaa jar executable")
(defun org-export-blocks-format-ditaa (body &rest headers)
[-- Attachment #3: Type: text/plain, Size: 15 bytes --]
Sebastian
[-- Attachment #4: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: ditaa.jar not found
2009-06-19 8:51 ditaa.jar not found Sebastian Rose
@ 2009-06-19 13:35 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-06-19 13:35 UTC (permalink / raw)
To: Sebastian Rose; +Cc: emacs-orgmode
Applied, thanks.
- Carsten
On Jun 19, 2009, at 10:51 AM, Sebastian Rose wrote:
>
> The path to ditaa.jar seems to have changed.
>
>
> Debugger entered--Lisp error: (error "Could not find ditaa.jar at
> /home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar")
> signal(error ("Could not find ditaa.jar at
> /home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar"))
> ....
>
>
> This patch fixes it:
>
>
> diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el
> index 56adb9f..8d6ad60 100644
> --- a/lisp/org-exp-blocks.el
> +++ b/lisp/org-exp-blocks.el
> @@ -223,8 +223,10 @@ specified in BLOCKS which default to the value of
> "scripts"
> (file-name-as-directory
> (expand-file-name
> + "contrib"
> + (expand-file-name
> ".."
> - (file-name-directory (or load-file-name buffer-file-
> name)))))))
> + (file-name-directory (or load-file-name buffer-file-
> name))))))))
> "Path to the ditaa jar executable")
>
> (defun org-export-blocks-format-ditaa (body &rest headers)
>
>
> Sebastian
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-19 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-19 8:51 ditaa.jar not found Sebastian Rose
2009-06-19 13:35 ` Carsten Dominik
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).