dsoprea / PyInotify

An efficient and elegant inotify (Linux filesystem activity monitor) library for Python. Python 2 and 3 compatible.
GNU General Public License v2.0
242 stars 73 forks source link

Crash when directory created over SSH. #67

Open karlgeorgehunt opened 5 years ago

karlgeorgehunt commented 5 years ago

I am watching a directory tree "sync", when a file changes in that directory I trigger a HTTP request to 2 other machines that then perform a unison/rsync from that directory. This all works fine unless a directory is created on the remote. When the sync happens Inotify crashes with "2019-01-31 08:41:55,529 - root - Event Error 2019-01-31 08:41:55,529 - root - Call failed (should not be -1): (-1) ERRNO=(0)"

This only happens when new directory's are created by unison over SSH.