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

Cutlet CLI does not work on windows #41

Closed
stephenpope opened this issue Nov 23, 2023 · 2 comments
Closed

Cutlet CLI does not work on windows #41

stephenpope opened this issue Nov 23, 2023 · 2 comments
Labels

Comments

@stephenpope
Copy link

stephenpope commented Nov 23, 2023

I know its a demo program but I find it very useful and was surprised when I tried running on windows !

On windows 10 it fails with:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\XXX\AppData\Local\Programs\Python\Python311\Scripts\cutlet.exe\__main__.py", line 4, in <module>
  File "C:\Users\XXX\AppData\Local\Programs\Python\Python311\Lib\site-packages\cutlet\cli.py", line 6, in <module>
    from signal import signal, SIGPIPE, SIG_DFL
ImportError: cannot import name 'SIGPIPE' from 'signal' (C:\Users\XXX\AppData\Local\Programs\Python\Python311\Lib\signal.py)

Its seems SIGPIPE is not supported on Windows : https://stackoverflow.com/questions/58718659/cannot-import-name-sigpipe-from-signal-in-windows-10

Thanks!

@polm polm added the windows label Nov 24, 2023
@polm
Copy link
Owner

polm commented Nov 24, 2023

Thanks for the report with details! I don't program on Windows, but if someone wants to submit a PR to fix this I'd be glad to take a look at it.

@polm
Copy link
Owner

polm commented Mar 24, 2024

This should be resolved by #43. I just pushed a new version, 0.4.0, that incorporates the fix.

I'll close this, but if it doesn't work let me know and I can reopen it.

@polm polm closed this as completed Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants