error: Problems running dot: exit code=-1, command='dot'

Hi folks,

I've just updated graphviz to the latest version and not dot has stopped working. Doxygen (in my case) reports the following:

error: Problems running dot: exit code=-1, command='dot'

With the previous version I was running (2.28) all was well. Any chance of being able to download that?

Does anyone know if there is an easy fix for this, or if there's a setting somewhere which can get me up and running again? Hopefully this is just a matter of installing the the packages in the right order or something trivial like that.

Any help is welcome.

Best wishes,

Rich

solved

I've had the same Problem, but moving the install dir of GraphViz out of "C:\Program Files\" fixed the Problem for me... guess it's the spaces.

2.38 fails with Problems running dot: exit code=-1

Fixing PATH or DOT_PATH does not resolve the problem :-(

No solution, I also encountered such a problem

No solution, I also encountered such a problem

You can find old Windows

You can find old Windows binaries at http://www.graphviz.org/pub/graphviz/stable/windows/

That said, it would be preferable to find out what is wrong. My first guess is that with 2.32, the Graphviz installer no longer adds the path to dot in the registry. So if doxygen just assumes it can call dot, it probably won't find it. If this is the case, you can either modify the PATH variable in the registry or just fix the DOT_PATH used by doxygen.

If this doesn't fix the problem, let us know.

What happens if you run dot

What happens if you run dot outside of doxygen does it work? Can you run it on the file that doxygen is generating? Can you find the command doygen uses to run dot? If you can show us that dot is not working correctly, then we can fix it. If it only fails in the context of doxygen, there is not much we can do unless we know how doxygen is getting the error.

Recent comments