|Due to organizational changes, the Graphviz web site will see some modifications in the near future. In particular, it will probably no longer provide binary packages for Windows and Macs. The latter can be obtained via Macports or Home Brew. If someone wants to set up Appveyor for Windows, we would be grateful.|
I've installed Debian Graphviz and it works just fine on the command line, but when I execute a Perl/CGI script through Apache, no output is generated.
For example, the code system("/usr/local/bin/dot -Tpng /tmp/tree.dot -o /tmp/tree.png"); produces no file /tmp/tree.png.
As best as we can tell, dot dies with no stdout or stderr messages on Debian systems when run from an Apache cgi program with no HOME set. The workaround is to provide a HOME directory in the Apache userid's environment.
Someone has also suggested using the Perl module for Graphviz.
Greg Brauer from Dreamworks pointed out a different possibility: The problem turned out to be that I was not closing the file descriptor on my temporary dot file before running dot. Graphviz would end up getting a newly-created empty file with nothing in it before the write buffer to the file was flushed. Dot would happily run on that and generate an empty output file without any warnings.
GraphvizWiki: FaqApache (last edited 2008-11-06 03:23:59)
- Can we use DOT to plot using the output from VIS model checker?
10 hours 49 min ago
- Re: Unable to Execute Graphviz Script in Spyder
18 hours 58 min ago
- The core PostScript renderer
2 days 2 hours ago
- Text in node labels (by
3 days 2 hours ago
- At present, this is not
4 days 2 hours ago
- When you ran configure, you
4 days 6 hours ago
- If you want to animate
1 week 4 days ago
- GraphParserException from Grappa still not solved
1 week 4 days ago
- Re: subgraph layout in dot
1 week 5 days ago
- Re: Graphviz install on cygwin
2 weeks 3 days ago