-
Notifications
You must be signed in to change notification settings - Fork 55
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
Improve compatibility with windows (e.g. can't init) #115
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
So glad you are jumping in. :) Can you try running with Most of our testing is on mac and Linux so would love your help getting up and started with some more windows usage! |
Here is the output of
|
We have tracked down that specific error -- path replacement for nicer logging was using a regular expression, which isn't a great idea in retrospect. That has been replaced! I am going to rename this issue to capture more compatibility issues with windows. We will do a bit more testing and then do a patch release early next week -- hopefully you can try it out then! |
@riziles the specific issue that you ran into has been released as myst-cli 0.1.4 @stevejpurves was going to do a bit more exploratory testing on Windows later today and might run into some similar issues if you want to wain a few more days. :) Leaving this open until then. |
Seems to work now. Ran into an issue trying to export PDF that might be related to Windows vs POSIX command line conventions. |
some notes from testing on windows with 0.1.4:
the issue is the pipe to the log file. The equivalent syntax for windows systems is:
which will pipe stdout and stderr to the file which we should use when
Note the full filepath on disk for this example in the error message is
are we missing an escape on the backslash in the filepath? @riziles any of that look familiar in terms of the export issues you were hitting |
Also as I've not reached the point of building a pdf successfully yet, I cannot be sure that the pdf will end up in the folder specified in |
Also, I tried exporting a different, simpler article
and hit the same error as expected, but given a clean |
great! I realised that the issue with the temp folders I mentioned in the comment above was a red herring! (i had a file open and the folder wasn't being deleted) so the cli build command is sound and working as expected. |
Sorry... didn't mean to hit the close button.... @stevejpurves , the |
just tested v0.1.5 and the build problem is now resolved! thanks for reporting the issue @riziles ! |
@rowanc1 , A few additional questions:
|
You can build the notebooks, add an Note that the images (e.g. of dynamic figures) as well as code highlighting leaves some stuff to be desired. Should be improved a lot in the coming few weeks though! As well as some docs. For the website, I hope that you have found the I would love to do search, agree it is a big missing piece, see #100 if you have other thoughts there. Please keep the requests coming (here or new issues), will get to them as fast as we can!! |
Yes, |
Awesome to know, I will aim to spend some time on the static HTML export next week. I know it is possible, just not quite sure how hard. Thanks again for the feedback! |
Describe the bug
context
When I run
myst init
, I get an error message:problem
I realize this project is still in beta, but it looks awesome. I'm a big JupyterBook user and love this idea. Maybe my bug is specific to Windows?
Reproduce the bug
run
myst init
from Windows command line. Same error in Powershell and Git Bash as well. Also tried manually typing in the path.List your environment
node 18.12.1
Windows 10
The text was updated successfully, but these errors were encountered: