question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Graphviz has not been found on your system

See original GitHub issue

Describe 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:

  1. Go to CML file
  2. Click on it
  3. Scroll down to ‘Generate Graphical Context Map’
  4. 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:closed
  • Created 4 years ago
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
stefan-kacommented, Jan 30, 2020

@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.

1reaction
stefan-kacommented, Jan 30, 2020

@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 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Graphviz's executables are not found (Python 3.4)
1) check if the Graphviz is installed on your system and if not you can download and install it from: https://graphviz.gitlab.io/_pages/Download/ ...
Read more >
GraphViz not working when imported inside PydotPlus ...
In Jupyter Notebooks and in Atom , the system seems to be looking for GraphViz inside pydotplus , as it points to ~\Anaconda3\lib\site-packages\ ......
Read more >
How to Install graphviz // Error fixed : "InvocationException
How to Install graphviz // Error fixed : "InvocationException: GraphViz's executables not found "Find all file in git hub ...
Read more >
Added Graphviz too Path but pydot cannot find dot excuable ...
Even I use anaconda, but I am not install graphviz by conda. And the error info is confusing: FileNotFoundError: [WinError 2] "dot" not...
Read more >
Installing in Windows - advice please - Help - Graphviz
Try to restart R or RStudio or what you are using. If that doesn't help; · Restart the computer. If that doesn't help;...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found