CommunityScripts icon indicating copy to clipboard operation
CommunityScripts copied to clipboard

[stash-watcher] script broken by watchdog 5.0.0

Open YonderboyLupus opened this issue 1 year ago • 2 comments

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.

YonderboyLupus avatar Sep 03 '24 02:09 YonderboyLupus

@DuctTape42

DogmaDragon avatar Sep 03 '24 08:09 DogmaDragon

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

David-Maisonave avatar Sep 06 '24 04:09 David-Maisonave