[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-babel-execute:dot -- why doesn't this work?
From: |
Éibhear |
Subject: |
Re: [O] org-babel-execute:dot -- why doesn't this work? |
Date: |
Fri, 23 Oct 2015 21:48:08 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.8.0 |
-----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 <address@hidden
> <mailto:address@hidden>> 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: address@hidden | Web: [http://www.gibiris.org/] |
| Twitter: @eibhear | Google+: +Éibhear Ó hAnluain |
| Mobile: +353 86 856 5666 | VoIP: sip:address@hidden |
+-------------------------------+--------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlYqnQcACgkQ0ST+nPIXcQZurgCggeNdy7yv1hY3ItQ4JhvBYOLm
pnQAoJM0/DNnCmOC1EsWP1C0mqEwDxpr
=KF2z
-----END PGP SIGNATURE-----