Closed to7m closed 3 years ago
Sorry, I restarted the computer and the problem stopped.
Restarting fixed it for me too!
I am using the version installed by "apt install python3-inotify" (so as not to "break" system packages...)
[I am guessing that maybe the activation of a kernel module could save one the trouble of a reboot?]
OS: Arch Linux Python version: 3.9.1
For some reason, the package seems to have broken on my end. I tried uninstalling, deleting, and reinstalling, but this had no effect.
The code
now exits with this:
Before this started happening, I found that
Inotify(block_duration_s=-1).add_watch("/folder_that_does_not_exist")
would give the sameinotify.calls.InotifyError: Call failed (should not be -1) error
instead of an error explicitly saying the folder doesn't exist, but now I can't reproduce this.