You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying for hours to install this library and get a simple example to load. I installed this using composer using the one-line require statement listed on your main GitHub page. I'm getting an error:
Fatal error: Uncaught exception 'Fhaculty\Graph\Exception\UnexpectedValueException' with message 'Unable to invoke "dot" to create image file (code 127)' in /home/somedirectory/vendor/graphp/graphviz/src/GraphViz.php:207 Stack trace: #0 /home/somedirectory/vendor/graphp/graphviz/src/GraphViz.php(142): Graphp\GraphViz\GraphViz->createImageFile(Object(Fhaculty\Graph\Graph)) #1 /home/somedirectory/graph2.php(18): Graphp\GraphViz\GraphViz->createImageData(Object(Fhaculty\Graph\Graph)) #2 {main} thrown in /home/somedirectory/vendor/graphp/graphviz/src/GraphViz.php on line 207
Fatal error: Uncaught exception 'Fhaculty\Graph\Exception\UnexpectedValueException' with message 'Unable to invoke "dot" to create image file (code 127)'
@codemann8 Thank you for reporting and welcome to GraPHP! 🎉
This error means that you do not have GraphViz installed (the dot executable is part of the GraphViz package). See also the install instructions. On Debian/Ubuntu-based system you may simply install it like this:
I've been trying for hours to install this library and get a simple example to load. I installed this using composer using the one-line require statement listed on your main GitHub page. I'm getting an error:
using this code:
Any ideas what I'm doing wrong?
The text was updated successfully, but these errors were encountered: