- sh: /usr/neato: not found
this was my mistake... I pointed the paths in config_inc.php to the usr path:
Code: Select all
$g_dot_tool = '/usr/dot';
$g_neato_tool = '/usr/neato';
Code: Select all
$g_dot_tool = '/bin/dot';
$g_neato_tool = '/bin/neato';

Moderators: Developer, Contributor
Code: Select all
$g_dot_tool = '/usr/dot';
$g_neato_tool = '/usr/neato';
Code: Select all
$g_dot_tool = '/bin/dot';
$g_neato_tool = '/bin/neato';
Code: Select all
<table class="width100" cellspacing="1">
<tr>
<!-- Title -->
<td class="form-title">
Relationship Graph </td>
<!-- Links -->
<td class="right">
<!-- View Issue -->
<span class="small"><span class="bracket-link">[ <a href="view.php?id=7">View Issue</a> ]</span> </span>
<!-- Relation/Dependency Graph Switch -->
<span class="small">
<span class="bracket-link">[ <a href="bug_relationship_graph.php?bug_id=7&graph=dependency">Dependency Graph</a> ]</span> </span>
</td>
</tr>
<tr>
<!-- Graph -->
<td colspan="2">
<map name="relationship_graph_map">
<area shape="rect" href="bug_relationship_graph.php?bug_id=7&graph=relation" title="[resolved] Issue 7" alt="" coords="7,7,71,31">
<area shape="rect" href="bug_relationship_graph.php?bug_id=18&graph=relation" title="[assigned] Issue 18" alt="" coords="103,20,167,44">
</map>
<div class="center relationship-graph">
<img src="bug_relationship_graph_img.php?bug_id=7&graph=relation&orientation=horizontal"
border="0" usemap="#relationship_graph_map" />
</div>
</td>
</tr>
<tr>
<!-- Legend -->
<td colspan="2">
<table class="hide">
<tr>
<td class="center">
<img alt="" src="images/rel_related.png" />
related to </td>
<td class="center">
<img alt="" src="images/rel_dependant.png" />
child of </td>
<td class="center">
<img alt="" src="images/rel_duplicate.png" />
duplicate of </td>
</tr>
</table>
</td>
</tr>
</table>
Code: Select all
root@prod:~# dot -V
dot - Graphviz version 2.20.2 (Mon Mar 30 10:11:53 UTC 2009)
Code: Select all
digraph G
{
node [shape = record];
node0 [ label ="<f0> | <f1> J | <f2> "];
node1 [ label ="<f0> | <f1> E | <f2> "];
node4 [ label ="<f0> | <f1> C | <f2> "];
node6 [ label ="<f0> | <f1> I | <f2> "];
node2 [ label ="<f0> | <f1> U | <f2> "];
node5 [ label ="<f0> | <f1> N | <f2> "];
node9 [ label ="<f0> | <f1> Y | <f2> "];
node8 [ label ="<f0> | <f1> W | <f2> "];
node10 [ label ="<f0> | <f1> Z | <f2> "];
node7 [ label ="<f0> | <f1> A | <f2> "];
node3 [ label ="<f0> | <f1> G | <f2> "];
"node0":f0 -> "node1":f1;
"node0":f2 -> "node2":f1;
"node1":f0 -> "node4":f1;
"node1":f2 -> "node6":f1;
"node4":f0 -> "node7":f1;
"node4":f2 -> "node3":f1;
"node2":f0 -> "node5":f1;
"node2":f2 -> "node9":f1;
"node9":f0 -> "node8":f1;
"node9":f2 -> "node10":f1;
}
Code: Select all
dot -Tpng -o dottest.png dottest.txt
Code: Select all
dot -Tpng -v
Code: Select all
$t_descriptors = array(
0 => array(
'pipe',
'r',
),
1 => array(
'pipe',
'w',
),
2 => array(
'file',
'php://stderr',
'w',
),
)
Code: Select all
$t_descriptors = array(
0 => array("pipe", "r"),
1 => array("file", "/tmp/dot_file.png", "a"),
2 => array("file", "/tmp/error-output.txt", "a")
)