Open jstarcher opened 11 years ago
Awesome — thank you!
I will review this PR this weekend :)
Great, sounds good. I just made one more commit (ce0762e) to update the error logging.
All looks great!
The only change I'd like to see: from
probably a file does not exist at '%s'.
to
the file '%s' probably no longer exists. Ignoring this file system event.
What would be even better is if you would test for e.errno == 2
, which means the file indeed no longer exists. Then you can explicitly log
(not warn
) "no longer exists" instead of "probably no longer exists", and then have a separate message that warn
s (not log
s) for all other cases.
I've been having this issue like crazy and it crashes fileconveyor on Ubuntu 10.04 with Python 2.6.5. I tested fringedgentian's suggestion and can confirm this has fixed the issues.