emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Embedded dot not compiling>
@ 2016-05-09 16:02 Peter Davis
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Davis @ 2016-05-09 16:02 UTC (permalink / raw)
  To: emacs-orgmode


I've been using org-mode for a while, in some cases with embedded dot code. This has worked pretty smoothly for me in the past, but
for some reason, I'm not getting any png output from my graphs now. The doc I'm started is included below, in its entirety since
it's still pretty small.

Anything jump out? I don't see any errors, but the png file is not created.

Thanks!
-pd



#+STARTUP: showeverything logdone
#+options: toc:nil num:nil
#+title: Test Flows


* Buyer rates/reviews

#+BEGIN_SRC dot :file brr.png :cmdline -Kdot -Tpng
digraph G {
  node [shape=box];
  node ssi [label="Seller signs in"];
  node sca [label="Seller creates asset"];
  node scp [label="Seller creates app"];
  node sso [label="Seller signs out"];
  node asi [label="Admin signs in"];
  node aaa [label="Admin approves asset"];
  node aap [label="Admin approves app"];
  node aso [label="Admin signs out"];
  node bsi [label="Buyer signs in"];
  node bpa [label="Buyer purchases asset"];
  node bpp [label="Buyer purchases app"];
  node brr [label="Buyer rates and/\nor reviews"];
  node bso [label="Buyer signs out"];

  ssi -> sca -> sso;
  asi -> aaa -> aso;
  bsi -> bpa -> brr -> bso;
}
#+END_SRC

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Embedded dot not compiling>
       [not found] <f95954fe8d8b4813b49f75cc267a92ad@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-05-09 16:55 ` Eric S Fraga
  2016-05-09 17:01 ` Eric S Fraga
  1 sibling, 0 replies; 5+ messages in thread
From: Eric S Fraga @ 2016-05-09 16:55 UTC (permalink / raw)
  To: Peter Davis; +Cc: emacs-orgmode@gnu.org

On Monday,  9 May 2016 at 16:02, Peter Davis wrote:
> I've been using org-mode for a while, in some cases with embedded dot
> code. This has worked pretty smoothly for me in the past, but
> for some reason, I'm not getting any png output from my graphs
> now. The doc I'm started is included below, in its entirety since
> it's still pretty small.
>
> Anything jump out? I don't see any errors, but the png file is not created.

> #+BEGIN_SRC dot :file brr.png :cmdline -Kdot -Tpng
> digraph G {
>   node [shape=box];
>   node ssi [label="Seller signs in"];
>   node sca [label="Seller creates asset"];
>   node scp [label="Seller creates app"];

Should you have "node" on each node line?  I thought nodes were simply
lines with no keyword?

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-739-g789412

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Embedded dot not compiling>
       [not found] <f95954fe8d8b4813b49f75cc267a92ad@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
  2016-05-09 16:55 ` Eric S Fraga
@ 2016-05-09 17:01 ` Eric S Fraga
  1 sibling, 0 replies; 5+ messages in thread
From: Eric S Fraga @ 2016-05-09 17:01 UTC (permalink / raw)
  To: Peter Davis; +Cc: emacs-orgmode@gnu.org

By the way, newish versions of org actually report back any error
message from the babel block.  In this case, org tells me:

Error: /tmp/babel-4890lUw/dot-48901c0: syntax error in line 3 near '['

i.e. the first node line.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-739-g789412

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Embedded dot not compiling>
@ 2016-05-09 17:01 Peter Davis
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Davis @ 2016-05-09 17:01 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Monday,  9 May 2016 at 16:02, Peter Davis wrote:
>> I've been using org-mode for a while, in some cases with embedded dot
>> code. This has worked pretty smoothly for me in the past, but
>> for some reason, I'm not getting any png output from my graphs
>> now. The doc I'm started is included below, in its entirety since
>> it's still pretty small.
>>
>> Anything jump out? I don't see any errors, but the png file is not created.
>
>> #+BEGIN_SRC dot :file brr.png :cmdline -Kdot -Tpng
>> digraph G {
>>   node [shape=box];
>>   node ssi [label="Seller signs in"];
>>   node sca [label="Seller creates asset"];
>>   node scp [label="Seller creates app"];
>
> Should you have "node" on each node line?  I thought nodes were simply
> lines with no keyword?

D'oh! Yes, that was it. Thank you!

-pd

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Embedded dot not compiling>
@ 2016-05-09 17:52 Peter Davis
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Davis @ 2016-05-09 17:52 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> By the way, newish versions of org actually report back any error
> message from the babel block.  In this case, org tells me:
>
> Error: /tmp/babel-4890lUw/dot-48901c0: syntax error in line 3 near '['
>
> i.e. the first node line.

Thanks. I'm running 8.3.3, and didn't see any error messages.

Cheers,
-pd

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-09 17:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-09 17:01 Embedded dot not compiling> Peter Davis
  -- strict thread matches above, loose matches on Subject: below --
2016-05-09 17:52 Peter Davis
     [not found] <f95954fe8d8b4813b49f75cc267a92ad@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-05-09 16:55 ` Eric S Fraga
2016-05-09 17:01 ` Eric S Fraga
2016-05-09 16:02 Peter Davis

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).