Graphviz has not been found on your system
See original GitHub issueDescribe the bug
Whenever I try to generate graphical context map, I get the message “Graphviz has not been found on your system”. Although graphviz is installed on my Debian Linux host - this what I obtain when I run apt-file list graphviz
:
graphviz: /usr/bin/acyclic
graphviz: /usr/bin/bcomps graphviz: /usr/bin/ccomps graphviz: /usr/bin/circo graphviz: /usr/bin/cluster graphviz: /usr/bin/diffimg graphviz: /usr/bin/dijkstra graphviz: /usr/bin/dot graphviz: /usr/bin/dot2gxl graphviz: /usr/bin/dot_builtins graphviz: /usr/bin/dotty graphviz: /usr/bin/edgepaint graphviz: /usr/bin/fdp graphviz: /usr/bin/gc graphviz: /usr/bin/gml2gv graphviz: /usr/bin/graphml2gv graphviz: /usr/bin/gv2gml graphviz: /usr/bin/gv2gxl graphviz: /usr/bin/gvcolor graphviz: /usr/bin/gvgen graphviz: /usr/bin/gvmap graphviz: /usr/bin/gvmap.sh graphviz: /usr/bin/gvpack graphviz: /usr/bin/gvpr graphviz: /usr/bin/gxl2dot graphviz: /usr/bin/gxl2gv graphviz: /usr/bin/lefty graphviz: /usr/bin/lneato graphviz: /usr/bin/mm2gv graphviz: /usr/bin/neato graphviz: /usr/bin/nop graphviz: /usr/bin/osage graphviz: /usr/bin/patchwork graphviz: /usr/bin/prune graphviz: /usr/bin/sccmap graphviz: /usr/bin/sfdp graphviz: /usr/bin/tred graphviz: /usr/bin/twopi graphviz: /usr/bin/unflatten graphviz: /usr/bin/vimdot graphviz: /usr/share/doc/graphviz/README.Debian graphviz: /usr/share/doc/graphviz/TODO.Debian graphviz: /usr/share/doc/graphviz/changelog.Debian.gz graphviz: /usr/share/doc/graphviz/changelog.gz graphviz: /usr/share/doc/graphviz/copyright graphviz: /usr/share/graphviz/lefty/box.lefty graphviz: /usr/share/graphviz/lefty/def.lefty graphviz: /usr/share/graphviz/lefty/dotty.lefty graphviz: /usr/share/graphviz/lefty/dotty_draw.lefty graphviz: /usr/share/graphviz/lefty/dotty_edit.lefty graphviz: /usr/share/graphviz/lefty/dotty_layout.lefty graphviz: /usr/share/graphviz/lefty/dotty_ui.lefty graphviz: /usr/share/graphviz/lefty/fractal.lefty graphviz: /usr/share/graphviz/lefty/fractal2.lefty graphviz: /usr/share/graphviz/lefty/lefty.psp graphviz: /usr/share/graphviz/lefty/slides.lefty graphviz: /usr/share/graphviz/lefty/tree.lefty graphviz: /usr/share/man/man1/acyclic.1.gz graphviz: /usr/share/man/man1/bcomps.1.gz graphviz: /usr/share/man/man1/ccomps.1.gz graphviz: /usr/share/man/man1/circo.1.gz graphviz: /usr/share/man/man1/cluster.1.gz graphviz: /usr/share/man/man1/diffimg.1.gz graphviz: /usr/share/man/man1/dijkstra.1.gz graphviz: /usr/share/man/man1/dot.1.gz graphviz: /usr/share/man/man1/dotty.1.gz graphviz: /usr/share/man/man1/edgepaint.1.gz graphviz: /usr/share/man/man1/fdp.1.gz graphviz: /usr/share/man/man1/gc.1.gz graphviz: /usr/share/man/man1/gml2gv.1.gz graphviz: /usr/share/man/man1/graphml2gv.1.gz graphviz: /usr/share/man/man1/gv2gml.1.gz graphviz: /usr/share/man/man1/gv2gxl.1.gz graphviz: /usr/share/man/man1/gvcolor.1.gz graphviz: /usr/share/man/man1/gvgen.1.gz graphviz: /usr/share/man/man1/gvmap.1.gz graphviz: /usr/share/man/man1/gvmap.sh.1.gz graphviz: /usr/share/man/man1/gvpack.1.gz graphviz: /usr/share/man/man1/gvpr.1.gz graphviz: /usr/share/man/man1/gxl2gv.1.gz graphviz: /usr/share/man/man1/lefty.1.gz graphviz: /usr/share/man/man1/lneato.1.gz graphviz: /usr/share/man/man1/mingle.1.gz graphviz: /usr/share/man/man1/mm2gv.1.gz graphviz: /usr/share/man/man1/neato.1.gz graphviz: /usr/share/man/man1/nop.1.gz graphviz: /usr/share/man/man1/osage.1.gz graphviz: /usr/share/man/man1/patchwork.1.gz graphviz: /usr/share/man/man1/prune.1.gz graphviz: /usr/share/man/man1/sccmap.1.gz graphviz: /usr/share/man/man1/sfdp.1.gz graphviz: /usr/share/man/man1/smyrna.1.gz graphviz: /usr/share/man/man1/tred.1.gz graphviz: /usr/share/man/man1/twopi.1.gz graphviz: /usr/share/man/man1/unflatten.1.gz graphviz: /usr/share/man/man1/vimdot.1.gz graphviz: /usr/share/man/man7/graphviz.7.gz graphviz: /usr/share/menu/graphviz
To Reproduce Steps to reproduce the behavior:
- Go to CML file
- Click on it
- Scroll down to ‘Generate Graphical Context Map’
- See message “Graphviz has not be found on your system”
Expected behavior Graphical context map gets generated.
IDE and Plugin (please complete the following information):
- Eclipse version: 2019-12 (4.14.0)
- ContextMapper plugin version: latest
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (10 by maintainers)
@kaisbe Sorry, I could not help… I hope you can solve it and find a way to use Context Mapper and the Context Map generator.
You could also try to use the generator as we do it in our “standalone” Java application, outside the Eclipse context: https://github.com/ContextMapper/context-mapper-standalone-example/blob/master/src/main/java/org/contextmapper/standalone/example/ContextMapGeneratorExample.java However, this way you have to write some lines of Java code. Or just clone the repository above and change the path to your CML file in the class linked above. But I really don’t know if this helps, maybe still won’t work if the executable cannot be found out of a Java app.
@kaisbe Exactly the same JDK I used on the Debian test machine… Sorry, this is totally weird, but in this case it looks like some problem on your specific system and not with our code… Don’t know why this file is not found via Java. Maybe just try to remove Graphviz and install it fresh? 😃 Sorry, I’m really running out of ideas what could be wrong 😃