|Join the Graphviz open source team!|
|With the explosion of graph-based data, the Graphviz project offers new contributors excellent opportunities to explore new concepts, or enhance tools that thousands of projects already use. We're looking for programmers and technical experts in core algorithms, interactive and command line programs, and rendering. This page provides a list of possible open work. And, of course, we are open to your suggestions. If you are interested, please contact us.|
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)
- John Ellson writes:
2 days 17 hours ago
- You are doing everything
2 days 18 hours ago
3 days 18 hours ago
- Sorry, the full graph
4 days 14 hours ago
- Agreed. Could I ask you to
4 days 15 hours ago
- problem with makefile visualization with graphviz
4 days 19 hours ago
- What do you mean by
4 days 20 hours ago
- Graphviz is mostly a
5 days 20 hours ago
- Use the fontcolor
5 days 20 hours ago
- I tried your suggestions but
6 days 10 hours ago