gorakhargosh/watchdog — Issue #84: Problem on windows xp / python 2.5.4
Author: AndreaCrotti
Created: 2011-12-05 10:19:09+00:00
State: open

I installed watchdog because I think I will use on a multi-platform project., and it looks great.
On Linux everything works but on windows trying the simple watchmedo script I get this:

watchmedo.exe log --recursive .
Traceback (most recent call last):
File "c:\python25\scripts\watchmedo-script.py", line 8, in
load_entry_point('watchdog==0.5.4', 'console_scripts', 'watchmedo')()
File "c:\python25\lib\site-packages\watchdog-0.5.4-py2.5.egg\watchdog\watchmedo.py", line 453, in main
parser.dispatch()
File "build\bdist.win32\egg\argh\helpers.py", line 300, in dispatch
File "build\bdist.win32\egg\argh\helpers.py", line 200, in dispatch
File "build\bdist.win32\egg\argh\helpers.py", line 277, in _execute_command
File "build\bdist.win32\egg\argh\helpers.py", line 260, in _call
File "c:\python25\lib\site-packages\watchdog-0.5.4-py2.5.egg\watchdog\watchmedo.py", line 356, in log
observer = Observer(timeout=args.timeout)
File "c:\python25\lib\site-packages\watchdog-0.5.4-py2.5.egg\watchdog\observers\read_directory_changes.py", line 129, in __init__
timeout=timeout)
File "c:\python25\lib\site-packages\watchdog-0.5.4-py2.5.egg\watchdog\observers\api.py", line 277, in __init__
EventDispatcher.__init__(self, timeout)
File "c:\python25\lib\site-packages\watchdog-0.5.4-py2.5.egg\watchdog\observers\api.py", line 208, in __init__
DaemonThread.__init__(self)
File "c:\python25\lib\site-packages\watchdog-0.5.4-py2.5.egg\watchdog\utils\__init__.py", line 94, in __init__
if not has_attribute(self._stopped_event.is_set, 'is_set'):
AttributeError: '_Event' object has no attribute 'is_set'