Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message when dot is not available. #43

Open
mdickinson opened this issue Jan 10, 2014 · 3 comments
Open

Improve error message when dot is not available. #43

mdickinson opened this issue Jan 10, 2014 · 3 comments

Comments

@mdickinson
Copy link
Owner

For example,

(Pdb) sources[0].export_image()
*** WindowsError: [Error 2] The system cannot find the file specified

is not terribly helpful.

@ghost
Copy link

ghost commented Aug 5, 2014

I'm having this error. When does it happen? Some missing dependency? Something to do with the site where the file should be written? Or some incompatibility with windows?

@mdickinson
Copy link
Owner Author

@federicoressifei: refcycle expects the dot program from Graphviz to be in the path. So if dot works from your command line, refcycle should be happy. If not, you may need to install Graphviz.

@mdickinson
Copy link
Owner Author

Note that if you have Graphviz installed and the dot executable is not in your path, the export_image method has a keyword argument that allows you to specify where the executable is. See the docs for more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant