-
Notifications
You must be signed in to change notification settings - Fork 676
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
Failing tests on windows #805
Comments
Hmmm - I bet that this is where the problem is being introduced: https://github.com/executablebooks/jupyter-book/pull/583/files#diff-203e09245c463f220cf61faa8b789f18R17 I wonder if @phaustin has fixes for making Pathlib behave like *nix sometimes, and like windows other times? Maybe this is related to the |
I thought there was more windows bugs but I think I get the same errors on linux (WSL). hrm. |
that should be fixed on my sphix_toc branch here: @choldgraf I was holding off on testing on windows until all the sphix toc moves were completed. Is it time to retry now against current master? |
@phaustin does that also fix the |
yes, and it passes all the tests except for toc_urllink, and headers don't show up in the rendered html. I wanted to let Chris finish turning over the toc creation to sphinx before chasing those last things down. |
I think rather than trying to toggle between windows and unix paths (which pathlib doesn't support) the better approach is to make every string represenation of a path posix (which is what as_posix is for) |
@phaustin I believe that from a |
great, will rebase and see where we're at tomorrow |
the encoding issues are independent, though, right? @phaustin did you work on adding windows to CI? |
Yes, the encoding is seperate, and we're not having any issues, so any more utf8 problems are new bugs. |
Ok, I'm giving it a go at #807. |
I'm trying to make a list, I'll keep editing this.
test_build_book
is failing because of #583:<script src="_static/js/myjs.js">
is_static/js\myjs.js
because the first half is added by sphinx which probably hardcoded the\
and the second part is what pathlib thinks paths should look like on windows.I wonder if we can do a simple replace but that seems hacky.
'charmap' codec can't decode byte 0x9d in position 1589: character maps to <undefined>
intest_build_docs0
fromtest_build_docs
.'charmap' codec can't encode character '\u03b8' in position 196: character maps to <undefined>
intest_clean_html_latex
C:\Users\t3kci\checkout\jupyter-book\tests\books\toc\index.md:7:toctree contains reference to nonexisting document 'subfolder\\index'
intest_toc_startwithlist
andtest_toc_withheaders
andtest_toc_urllink
The text was updated successfully, but these errors were encountered: