sniffer
sniffer copied to clipboard
(Pyinotify) Stacktrace on exit
The following stacktrace is printed for every time the the file system fires modified event (and nose re-runs): Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs func(_targs, *_kargs) File "/usr/lib/python2.6/logging/init.py", line 1509, in shutdown h.close() File "/usr/lib/python2.6/logging/handlers.py", line 1094, in close logging.Handler.close(self) AttributeError: 'NoneType' object has no attribute 'Handler' Steps to reproduce:
- Run sniffer (with pyinotify installed)
- Modify a file that sniffer is watching
- Invoke KeyboardInterrupt (via ctrl+c)