|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)
- The size attribute specifies
2 days 15 hours ago
- Sorry, no. The code for
3 days 14 hours ago
- Please submit a bug report at
3 days 15 hours ago
- One way is to preprocess the
4 days 12 hours ago
- The label position indicates
4 days 12 hours ago
- The language and layout
4 days 13 hours ago
- Hey, I have the same problem,
4 days 17 hours ago
4 days 20 hours ago
- DOH ! :-) Thanks a lot.
4 days 21 hours ago
- YAY ! Thanks a lot.
4 days 23 hours ago