I would like Pyinotify to look at a template directory that has subfolders, but I get this error:
DIRECTORY /home/project/templates
[Pyinotify ERROR] add_watch: cannot watch /home/project/templates WD=-1
[Pyinotify ERROR] add_watch: cannot watch /home/project/templates/dir1 WD=-1
[Pyinotify ERROR] add_watch: cannot watch /home/project/templates/dir2 WD=-1
Waiting for stuff to happen...
I found answers, for example, using the Unicode directory name or other programs that use inotify, but each one is too specific.
What causes this error at all?
source
share