|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)
- So you want to append the
5 hours 22 min ago
- I'm using win7
6 hours 22 min ago
- What system are you running
9 hours 41 min ago
- What is graph_qt.h ?
12 hours 6 min ago
- You can look in config.log to
13 hours 8 min ago
- - I solved my icon's problem.
13 hours 22 min ago
- No warning message that is the problem
19 hours 30 min ago
- How is the result worse with
1 day 10 hours ago
- how to avoid edge overlap?
1 day 11 hours ago
- The overlap parameter only
1 day 14 hours ago