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

[FIX] Issue #137 Errors when running on Windows #187

Merged
merged 1 commit into from
May 2, 2019
Merged

[FIX] Issue #137 Errors when running on Windows #187

merged 1 commit into from
May 2, 2019

Conversation

stafforddavidj
Copy link
Contributor

Adding the 'encoding' parameter to the open() function in the file handler allowed for proper book building as expected in a Windows 10 environment.

I went through the code base and found a few other file handle operations that do not declare the encoding when reading. While this is unlikely to be an issue when writing (especially since the output is formatted using the yaml library), this type of bug may be possible on the other read operations.

@choldgraf
Copy link
Collaborator

very nice! thanks! I don't think we can really test this specifically since it's windows-specific and we don't have access to those build environments, so I'll give this a few hours to see if anyone has thoughts and, if not, will give it a merge!

@choldgraf choldgraf merged commit cbc512d into jupyter-book:master May 2, 2019
@choldgraf
Copy link
Collaborator

merge! thanks :-)

@emdupre
Copy link
Collaborator

emdupre commented May 2, 2019

@KirstieJane this might solve some of your local build problems ! If you don't feel like using containers 😸

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.

None yet

3 participants