How do I get the web console to see twopi when Graphviz is not installed in the standard location? By default twopi is /usr/bin/twopi but mine is the custom path /eps/products/bin/twopi The result is the error (in the network map): Map could not be generated Apparently something went wrong reading the output. Is twopi (usually part of GraphViz) installed and able to be executed by the webserver? Is /eps/products/opensource/apache/apache2/htdocs/pandora/attachment writeable by the webserver? I'm still looking for a path I can configure somewhere, but someone else must have run into this before. Any good ideas?
Install - Graphviz /twopi in non-standard location
tegulizard13 · 16 jul 2009, 15:14 · 7 mensajes · 61 visitas
- Inicio del debate
Why don't you link your /eps/products/bin/twopi to /usr/bin/twopi ?
I only have write permissions within most of the /eps/ directory structure. Aliasing twopi also does not work.
Also, this is the same for the other graph plugins circo, dot, neato, and fdp
In the installation, there is a check if /usr/bin/twopi exists. You can edit the installation.php file and change this check. In the operation/agentes/networkmap.php file, that binary is called.. maybe you can add /eps/products/bin/ to your PATH and try? Regards,
I changed the check in installation.php, which is how I got it to install in the first place. /eps/products/bin is in my path, but it doesn't seem to help. I just recently found the file networkmap.php, and it seems to generate the code for the image correctly (stored in $cmd), but then fails to create the .map file, which causes my error to be generated.
I fixed it! Around line 230 in networkmap.php there is a switch statement which returns the commands such as dot, twopi, circo, neato, and fdp based upon the network map type chosen. Here I was able to specify the paths to my local commands. Thanks for all your help!
Entra en tu cuenta para publicar.
