Number: 849
Title: dotty doesn't work under rh7.1 OS
Submitter: israel
Date: Thu Dec 29 06:14:21 2005
Subsys: Dot
Version: 96c
System: x86-Linux-rh7.1
Severity: critical
Problem:
When i invoke dotty on a legal dot file, the following error message shows: 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 dotty.lefty: please fill out a bug report at http://www.research.att.com/~erg/graphviz/bugform.html

Now, the dot file has only 13 lines, and other users on the same machine can view this file using dotty, after they login, but i can't. Through Windows OS, i can see this file using dotty.

What file/enviromnet variable in my home directory causes this problem?

Thanks a lot
Comments:
[ellson] Please send the .dot file that causes the problem.

What version info does "dot -V" show?

Where did you get RH7.1 rpms from? Or was graphviz built locally from source?

The parser error above seems to indicate a problem before the keyword "digraph". If your dot is very old it might not recognize the UTF8 BOM character (ByteOrderMark) that later versions of dot can accept at the beginning of the file.

[erg] I don't know if this has been resolved but another possibility, especially as the same dot and file works for others in your machine, is to make sure that when a non-interactive shell is created, no output is produced. Sometimes people have output-producing commands in a startup file like .profile or .alias. The output gets into the pipe to the dot parser, which reports an error message. See, for example,


   http://www.graphviz.org/bugs/b549.html

Owner: *
Status: *