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

Update README to include GraphViz installation requirement #272

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

sarina
Copy link
Contributor

@sarina sarina commented Dec 17, 2021

I'm working with a fresh environment and found I would repeatedly run into this error:

Warning, treated as error:
dot command 'dot' cannot be run (needed for graphviz output), check the graphviz_dot setting
make: *** [html] Error 2

You must install GraphViz (because the warning errors out the build). I got assistance on this issue from IQSS/dataverse#7230 and borrowed the language they used because I felt it was clear.

@sarina sarina force-pushed the update-install-instructions branch from 2923947 to 95aff5c Compare December 17, 2021 00:33
Copy link
Member

@kdmccormick kdmccormick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this missing info!

README.rst Outdated
To test locally in a Python virtual env, you will first need to install `GraphViz <http://graphviz.org/>`_
and either ``dot`` on the path or
`adding options to the make call <https://groups.google.com/forum/#!topic/sphinx-users/yXgNey_0M3I>`_.
On a Mac, this can be done via `brew install graphviz`. Next run the following commands::
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you don't mind adding it: on Ubuntu, it can be installed with sudo apt install graphviz

README.rst Outdated
Comment on lines 19 to 21
To test locally in a Python virtual env, you will first need to install `GraphViz <http://graphviz.org/>`_
and either ``dot`` on the path or
`adding options to the make call <https://groups.google.com/forum/#!topic/sphinx-users/yXgNey_0M3I>`_.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wording is a little funny here - consider splitting this into two sentences and making the tense consistent.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realized this is actually really only for Windows, and since generally our ecosystem doesn't support windows users I took this out. I did add in the Ubuntu command, thank you.

@sarina sarina force-pushed the update-install-instructions branch from 95aff5c to 6578481 Compare December 21, 2021 02:46
@sarina sarina merged commit 44c2241 into master Dec 21, 2021
@sarina sarina deleted the update-install-instructions branch December 21, 2021 02:48
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

Successfully merging this pull request may close these issues.

3 participants