-
Notifications
You must be signed in to change notification settings - Fork 512
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
Fixes time format error when compiling under Windows #2228
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@kdschlosser I am still getting an error at 31% through the read step. Here is the exception trace:
|
Time formatting in Python is actually a really sore point for me because the format identifiers are not the same across the different OS's that Python runs on. Why it is like this is a big ?. I don't see how the OS should play any role in what time format specifiers work and which ones don't. Give me a few minutes to hammer out which ones are going to play nice with Windows. I want the output to appear the same but that might not be possible using a simple format specifier. I will have to go about it in a different way if that is the case., |
yeah, that was pretty wild to learn! |
OH no!! I can't push a commit to the PR.. something happened and it's not letting me. did you make a change to the PR? |
I got it sorted.. This will hopefully work now... I wanted to keep the leading zero for the hour stripped off. that is what the |
I concur! Are you able to do the build on your system? There are instructions here in the README how to set it up. The virtual environment makes a lot of sense since it calls for Python3.8 whereas I suspect you are normally using 3.12 as I am.... With the exception trace, does that make it possible to set a stop-point under PyCharm and look at the values being passed? |
Woo hoo!! 🎉 We have lift off! It finished, and generated 149.2 MB of files! Bravo, Kevin! =-=-=-=-=-= The last thing APPEARS to be a warning which I haven't figured out yet. This warning is emitted after the READ phase:
What I don't understand about it is that ./docs/about/learning-resources.rst has a
and according to the Sphinx documentation,
file is present. I thought for a minute that perhaps there might have been a conflict with the And it's NOT happening on the Linux build.... Evidence: the "videos" link works in the on-line version of the website, whereas in the Kevin, do you recognize that at all? Are you able to reproduce it on your system? |
I am pretty sure I know what is causing it. |
you need to set an environment variable
|
Nice work folks! Yep, on the money with the videos, some sketchy docs about it, we turned them off for local builds because it takes forever. |
Merging this, and then updating the Windows CI branch. Exciting times. |
cc: @plaindocs **laughing at self** Silly me. I see in the README it does indeed say that, and it also acknowledges it as "needs documenting and fixing". Thanks to both of you! Well done, Kevin! 😃 Kind regards, |
This should fix the error that occurs at 31% when compiling under Windows.
📚 Documentation preview 📚: https://writethedocs-www--2228.org.readthedocs.build/