From: Matt Price <moptop99@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: org-babel-execute:dot -- why doesn't this work?
Date: Thu, 24 Sep 2015 08:46:49 -0400 [thread overview]
Message-ID: <CAN_Dec_KfWuK6hMdvtqBvypCH8VZ-CFGW8Hoe1ffsPLW=KS-OQ@mail.gmail.com> (raw)
In-Reply-To: <CAN_Dec8Q0VJbO3xr1ZHmfqDGA4+VkOK4U6d2RNthWtmJEGppzg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 953 bytes --]
On Thu, Sep 24, 2015 at 7:10 AM, Matt Price <moptop99@gmail.com> wrote:
>
>
> On Thu, Sep 24, 2015 at 12:00 AM, Nick Dokos <ndokos@gmail.com> wrote:
>
>> Matt Price <moptop99@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
>
[-- Attachment #2: Type: text/html, Size: 2193 bytes --]
next prev parent reply other threads:[~2015-09-24 12:46 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 [this message]
2015-10-23 12:27 ` Éibhear
2015-10-23 17:43 ` Matt Price
2015-10-23 20:48 ` Éibhear
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='CAN_Dec_KfWuK6hMdvtqBvypCH8VZ-CFGW8Hoe1ffsPLW=KS-OQ@mail.gmail.com' \
--to=moptop99@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@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 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).