From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: org-babel-execute:dot -- why doesn't this work? Date: Fri, 23 Oct 2015 13:43:03 -0400 Message-ID: References: <87mvwc1n62.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fb200b995940522c924cc Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpgMr-0002Pk-Gn for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 13:43:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpgMq-00060i-2M for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 13:43:05 -0400 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]:35719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpgMp-00060P-Sg for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 13:43:03 -0400 Received: by iofz202 with SMTP id z202so131335792iof.2 for ; Fri, 23 Oct 2015 10:43:03 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?UTF-8?B?w4lpYmhlYXI=?= Cc: Org Mode --001a113fb200b995940522c924cc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Oct 23, 2015 at 8:27 AM, =C3=89ibhear wrote= : > Matt Price gmail.com> writes: > > > > > > > > > On Thu, Sep 24, 2015 at 7:10 AM, Matt Price gmail.com> > wrote: > > > > > > On Thu, Sep 24, 2015 at 12:00 AM, Nick Dokos gmail.com> > wrote: > > Matt Price 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 the= re > is something wrong with ob-dot itself? > > > > > > > > > > Again, many thanks, > > > > Matt > > > > > > > > > > > > > > > > Hi Matt, > > Did you get this worked out? > > Thanks, > > =C3=89ibhear > > 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 --001a113fb200b995940522c924cc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Fri, Oct 23, 2015 at 8:27 AM, =C3=89ibhear <eibhear.geo@gmail.c= om> wrote:
Matt Price <m= optop99 <at> gmail.com> writes:

>
>
>
> On Thu, Sep 24, 2015 at 7:10 AM, Matt Price <moptop99 <at> gmail.com> wrote:
>
>
> On Thu, Sep 24, 2015 at 12:00 AM, Nick Dokos <ndokos <at> gmail.com
> wrote:
> Matt Price <moptop99 <at>
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=C2=A0=C2=A0=C2= =A0=C2=A0 (concat
cmd=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 " " (org-babel-pro= cess-file-name in-file)=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 " &= quot; cmdline=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0 " -o " (org-babel-process-file-name out-= file)) "")
>
> is "nil".=C2=A0 Any idea why that might be?=C2=A0
>
>
>
> Just a quick addendum.=C2=A0 Pausing during debugging and running
(with-temp-file in-file )(org-babel-eval =C2=A0"dot
/tmp/babel-2749DTL/dot-2749Nkt -Tpng -o /home/matt/example= -diagram.png"=C2=A0 "")=C2=A0
>
> from a scratch buffer also works.=C2=A0 So I am really confused -- may= be there
is something wrong with ob-dot itself?
>
>
>
>
> Again, many thanks,
>
> Matt
>
>
>
>
>
>
>

Hi Matt,

Did you get this worked out?

Thanks,

=C3=89ibhear


hmm.=C2=A0 It looks like maybe I didn&= #39;t -- I confess I'd forgotten about this old email.=C2=A0 Looks like= I just generated the diagram from a scratch buffer, as described in my ema= il.=C2=A0 Sorry I didn't get further!

Matt
=

--001a113fb200b995940522c924cc--