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

Does not work on Windows #35

Closed
fmfreeze opened this issue Aug 25, 2022 · 4 comments · May be fixed by #39
Closed

Does not work on Windows #35

fmfreeze opened this issue Aug 25, 2022 · 4 comments · May be fixed by #39
Labels
bug Something isn't working

Comments

@fmfreeze
Copy link

Describe the bug

When using on Windows10 with the command rst2myst convert *.rst
it produces:

Usage: rst2myst convert [OPTIONS] [PATHS]...
Try 'rst2myst convert -h' for help.

Error: Invalid value for '[PATHS]...': Path '*.rst' does not exist.

I triple-checked the if I am in the right directory, where my .rst files are stored.
Also tried quoting the path.

Does anybody experienced that issue? On Linux it worked as expected.

Reproduce the bug

  1. in a conda environment install with pip install rst-to-myst[sphinx]
  2. in terminal navigate to the folder where *.rst files are stored
  3. execute the command rst2myst convert *.rst

List your environment

No response

@fmfreeze fmfreeze added the bug Something isn't working label Aug 25, 2022
@welcome
Copy link

welcome bot commented Aug 25, 2022

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

Joinyy added a commit to Joinyy/rst-to-myst that referenced this issue Sep 15, 2022
@chrisjsewell chrisjsewell linked a pull request Sep 15, 2022 that will close this issue
Joinyy added a commit to Joinyy/rst-to-myst that referenced this issue Oct 1, 2022
@Joinyy
Copy link

Joinyy commented Oct 1, 2022

@fmfreeze You can get it working when upgrading your click package to 8.1.3, this works for me on python 3.8 and 3.10 on windows.

@slavakx
Copy link

slavakx commented Dec 2, 2022

@fmfreeze You can get it working when upgrading your click package to 8.1.3, this works for me on python 3.8 and 3.10 on windows.

Yes it works when installed directly with pip. However, when installed via poetry I get the following error:

Because rst-to-myst (0.3.2) depends on click (>=7.1,<8.0)
and no versions of rst-to-myst match >0.3.2,<0.4.0, rst-to-myst (>=0.3.2,<0.4.0) requires click (>=7.1,<8.0)

It would be good to have this issue solved. I spent the whole day trying to understand what is wrong with the path

@chrisjsewell
Copy link
Member

v0.3.3 (just released) now allows click v8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants