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

[stash-watcher] script broken by watchdog 5.0.0 #425

Open
YonderboyLupus opened this issue Sep 3, 2024 · 2 comments
Open

[stash-watcher] script broken by watchdog 5.0.0 #425

YonderboyLupus opened this issue Sep 3, 2024 · 2 comments

Comments

@YonderboyLupus
Copy link

Starting with version 5.0.0 released last week, the watchdog library enforces passing keywords with keyword arguments:
https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst#500

Now when the script is run with latest requirements an error is thrown by this line:
eventHandler = PatternMatchingEventHandler(patterns, None, False, True)

This could be fixed either by adding the appropriate keywords to each call to watchdog methods, or by pinning watchdog<5 (which worked for me). In any case, it would be good to pin the dependencies to known working versions to prevent it from breaking again in the future.

@DogmaDragon
Copy link
Contributor

@DuctTape42

@David-Maisonave
Copy link
Contributor

David-Maisonave commented Sep 6, 2024

FYI:
Plugin FileMonitor is working with the new watchdog version, and (IMHO) it's easier to use and has more features than [stash-watcher].

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

3 participants