|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 short answer is no; we
33 min 24 sec ago
- The problem is that loader on
23 hours 34 min ago
- Still not working
1 day 1 hour ago
- I see, another case of Debian
1 day 12 hours ago
- So you are running
1 day 17 hours ago
- I have already tried replacing pkg-config in the makefile
1 day 20 hours ago
- Your understanding is
1 day 22 hours ago
1 day 23 hours ago
- I believe pygraphviz uses the
4 days 3 hours ago
- Thanks. It helped a lot. I
5 days 27 min ago