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

'timeout_decorator' library doesn't support Windows #9

Open
jmwhitworth opened this issue Apr 5, 2023 · 2 comments
Open

'timeout_decorator' library doesn't support Windows #9

jmwhitworth opened this issue Apr 5, 2023 · 2 comments

Comments

@jmwhitworth
Copy link
Owner

This is mentioned in the README.md, but I'm listing it here additionally in case anyone has any input on potential alternatives.

The timeout decorator in use causes an error that stops this from being used on Windows. This is due to the underlying timing functions. An alternative version is this fork which might work but I don't have a Windows computer to test this on: https://github.com/bitranox/wrapt_timeout_decorator

Please feel free to open a pull request if you have a Windows computer and want to tackle this.

@xLasttDev
Copy link

Yes i have a windows OS, how to implement this with your module?

@jmwhitworth
Copy link
Owner Author

You could run it through Docker or WSL, both of which will allow you to run your code through the a Linux/Unix environment. Alternatively, the timeout_decorator library could be written out so it's not used, but this would hurt the functionality as it'd no longer handle timeouts nicely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants