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

Grapvhiz native in Windows: JSON format not supported. #24

Closed
kerkhofsd opened this issue Jun 12, 2017 · 3 comments
Closed

Grapvhiz native in Windows: JSON format not supported. #24

kerkhofsd opened this issue Jun 12, 2017 · 3 comments

Comments

@kerkhofsd
Copy link
Contributor

When using the GraphvizCmdLineEngine on Windows with a JSON as output, the following error appears:
Format: "json" not recognized. Use one of: bmp canon cmap cmapx cmapx_np dot emf emfplus eps fig gd gd2 gif gv imap imap_np ismap jpe jpeg jpg metafile pdf pic plain plain-ext png pov ps ps2 svg svgz tif tiff tk vml vmlz vrml wbmp xdot xdot1.2 xdot1.

=> It seems that the JSON output format is not supported on Windows machines.

@nidi3
Copy link
Owner

nidi3 commented Jun 12, 2017

Maybe updating dot could help.
But otherwise, what should happen other than an exception to be thrown?
Or does this break a test?

@kerkhofsd
Copy link
Contributor Author

Indeed, there are tests that do not run on Windows.
Since now the native dot engine is used first, all the tests that use Format.JSON fail on Windows...

I have Graphviz 2.38 installed, which is the latest stable version if I'm correct :-/

@nidi3
Copy link
Owner

nidi3 commented Jun 12, 2017

For MacOS, there is 2.40.1 available 😁
I'm going to change the tests so that they use JS instead.

@nidi3 nidi3 closed this as completed in 2d2c6ea Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants