From: Éibhear <eibhear.geo@gmail.com>
To: Matt Price <moptop99@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: org-babel-execute:dot -- why doesn't this work?
Date: Fri, 23 Oct 2015 21:48:08 +0100 [thread overview]
Message-ID: <562A9D08.1080401@gmail.com> (raw)
In-Reply-To: <CAN_Dec909MnRLYD0V+fR8DGJWNamw5UT8tHAxsk-S2TEdXADUQ@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 23/10/15 18:43, Matt Price wrote:
>
>
> On Fri, Oct 23, 2015 at 8:27 AM, Éibhear <eibhear.geo@gmail.com
> <mailto:eibhear.geo@gmail.com>> wrote:
>
> Matt Price <moptop99 <at> gmail.com <http://gmail.com>> writes:
>
>>
>>
>>
>> On Thu, Sep 24, 2015 at 7:10 AM, Matt Price <moptop99 <at>
> gmail.com <http://gmail.com>> wrote:
>>
>>
>> On Thu, Sep 24, 2015 at 12:00 AM, Nick Dokos <ndokos <at>
>> gmail.com <http://gmail.com>> wrote: Matt Price <moptop99 <at>
>> gmail.com <http://gmail.com>> writes:
>>
>>
>>
>> -----
>>
>> it looks about right until the very end; Manually running "dot
> /tmp/babel-2749DTL/dot-2749Nkt -Tpng -o
> /home/matt/example-diagram.png" from a shell works fine. However,
> the result of:(org-babel-eval (concat cmd " "
> (org-babel-process-file-name in-file) " " cmdline " -o "
> (org-babel-process-file-name out-file)) "")
>>
>> is "nil". Any idea why that might be?
>>
>>
>>
>> Just a quick addendum. Pausing during debugging and running
> (with-temp-file in-file )(org-babel-eval "dot
> /tmp/babel-2749DTL/dot-2749Nkt -Tpng -o
> /home/matt/example-diagram.png" "")
>>
>> from a scratch buffer also works. So I am really confused --
>> maybe there
> is something wrong with ob-dot itself?
>>
>>
>>
>>
>> Again, many thanks,
>>
>> Matt
>>
>>
>>
>>
>>
>>
>>
>
> Hi Matt,
>
> Did you get this worked out?
>
> Thanks,
>
> Éibhear
>
>
> hmm. It looks like maybe I didn't -- I confess I'd forgotten about
> this old email. Looks like I just generated the diagram from a
> scratch buffer, as described in my email. Sorry I didn't get
> further!
>
> Matt
>
No problems.
I've determined tonight that it was working fine in org 8.2.10, but
the problem you report is in org 8.3.1. There are many changes in
ob-core.el, but little in ob-dot.el or ob-eval.el, so further
investigation is required. I'll continue plugging. I really like
building graphs using dot through org-mode, so I'd love to see this
fixed (e.g. I had to revert to LibreOffice Draw today!).
Thanks,
Éibhear
- --
Éibhear Ó hAnluain
Dublin, Ireland.
+-------------------------------+--------------------------------+
| e-mail: eibhear.geo@gmail.com | Web: [http://www.gibiris.org/] |
| Twitter: @eibhear | Google+: +Éibhear Ó hAnluain |
| Mobile: +353 86 856 5666 | VoIP: sip:eibhear@linphone.org |
+-------------------------------+--------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlYqnQcACgkQ0ST+nPIXcQZurgCggeNdy7yv1hY3ItQ4JhvBYOLm
pnQAoJM0/DNnCmOC1EsWP1C0mqEwDxpr
=KF2z
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2015-10-23 20:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-24 1:29 org-babel-execute:dot -- why doesn't this work? Matt Price
2015-09-24 4:00 ` Nick Dokos
2015-09-24 11:10 ` Matt Price
2015-09-24 12:46 ` Matt Price
2015-10-23 12:27 ` Éibhear
2015-10-23 17:43 ` Matt Price
2015-10-23 20:48 ` Éibhear [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=562A9D08.1080401@gmail.com \
--to=eibhear.geo@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=moptop99@gmail.com \
/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 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.