FaqDottySyntaxError

 

Why does dotty report a syntax error on a legal dot file?

Typically this error is reported as:

  • >> graph parser: syntax error near line 14
    >> context: >>> <<< digraph G {
    >> dotty.lefty: giving up on dot
    >> dotty.lefty: graph that causes dot
    >> dotty.lefty: to fail has been saved in file dottybug.dot

Probably there is a command in your shell environment (such as .alias or .profile) that does output even for non-interactive shells. When this occurs, those characters go in the pipe to the dot parser and cause this problem. An easy check is whether other users have the same problem.

GraphvizWiki: FaqDottySyntaxError (last edited 2008-01-17 18:08:35 by H-135-207-131-158)

Recent comments