Comments (6)
Hey @elementallos, thanks for bringing this up 👍
Like @clue described in graphp/graphviz#31, the Unable to invoke "dot" to create image file (code 127)...
error message means you do not have GraphViz installed (the dot
executable is part of the GraphViz package). On Debian/Ubuntu-based system you may simply install it like this:
$ sudo apt install graphviz
This has been answered in #4 as well and is also mentioned inside the documentation.
Ref: #43
I believe this should answer your question, so I will close this ticket for now. We can reopen this if you encounter the same issues again after trying out the solutions mentioned in here.
from graph-composer.
But is not working anyway for me...
As I said already, in the first message, I have already tried to do:
$ sudo apt install graphviz
but is still not working. It's like the installation is not successful, even though I have no errors.
from graph-composer.
As I said already, in the first message, I have already tried to do:
$ sudo apt install graphviz
You're right, so this would mean you can't even try dot -v
to check the GraphViz version, right?
from graph-composer.
Yes, I can do dot -v
, it is only on the PHP code, when I try to generate the .svg
The installation with sudo apt install
is successful: I don't get any error messages. But when I try to use the command, it looks like this (var_dump):
'dot' -T 'svg' '/tmp/graphvizDEdKjJ' -o '/tmp/graphvizDEdKjJ.svg'
Edit: I have also tried to paste the command in the terminal to see what could possibly happen. This is the result:
gabriel@HP:~ dot -T 'svg' '/tmp/graphvizDEdKjJ' -o '/tmp/graphvizDEdKjJ.svg'
Error: dot: can't open /tmp/graphvizDEdKjJ
from graph-composer.
@SimonFrings any updates?
from graph-composer.
[…] But when I try to use the command, it looks like this (var_dump):
@sardjn You're trying to access some temporary files that are created and also removed by the project itself, this is why the message tells you that dot can't open /tmp/graphvizDEdKjJ
(the file doesn't exist). It seems like you have graphviz successfully installed, otherwise the message would tell you that it doesn't know the dot command, you just can't access these unknown files.
from graph-composer.
Related Issues (20)
- Invalid handling of not lowercase package names. HOT 1
- Support running on MS Windows
- Add option to write exported image to STDOUT instead of file HOT 2
- Improve GraphViz support for MS Windows HOT 2
- Unable to run "graph-composer" (installed as a global composer package) HOT 3
- Does not work after 'composer global require clue/graph-composer' HOT 1
- Export graph with links HOT 1
- composer install doesn't work HOT 5
- Release 1.0.0 is missing version HOT 1
- Update symfony/console HOT 4
- Add option to limit depth of the graph HOT 4
- What about left to right direction? (horizontal layout) HOT 1
- What about only draw the dependencies of a sub package in a project? HOT 2
- Add support for imagemap output HOT 1
- add dockerfile/example to ease usage HOT 3
- Compatibility with composer v2 HOT 1
- Highlight outdated packages (`--outdated`)
- Unable to invoke "dot" to create image file HOT 1
- PHP 8+ support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graph-composer.