1

I'm using org-babel blocks to generate a Graphiz diagram for a presentation. Normally the output goes to a file which is what I want. However if the file is empty something went wrong. Is there an easy way to see stderr/stdout of the program, preferably separate from the file output?

  • Hmm, I see a temporary buffer *Org-Babel Error Output* raised in its own window when the command throws an error (dot, in this example). – Stuart Hickinbottom Jul 26 '15 at 16:03
  • @StuartHickinbottom: interesting, I do not. Maybe there is an option that controls it – stsquad Jul 27 '15 at 11:30
  • Hacking around with the temp files org-babel drops it seems the dot tool returns 0 (i.e. success) even when the file has syntax errors. – stsquad Jul 27 '15 at 13:24
  • I'm using GraphViz 2.38.0 on Fedora Linux, if that is relevant, and my dot definitely returns 1 in case of syntax error. That looks to be why I see the error output and you don't, though. – Stuart Hickinbottom Jul 29 '15 at 20:56
  • @StuartHickinbottom: I have 2.36 on my Ubuntu 14.04 LTS so it looks like a version thing. I have since triggered core dumps in dotty with some excessive constraints and they did generate debug output. – stsquad Jul 30 '15 at 10:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.