AttributeError: type object 'EventsCodes' has no attribute 'IN_DELETE_SELF' #286

Closed
gekitsuu opened this Issue Jul 26, 2011 · 2 comments

Projects

None yet

2 participants

@gekitsuu

It only happens when I try to enable debugging but this is the traceback I get

Traceback (most recent call last):
File "niftysite.py", line 33, in
main()
File "niftysite.py", line 30, in main
app.run(host='0.0.0.0')
File "/home/aglenn/.virtualenvs/niftysite/local/lib/python2.7/site-packages/flask/app.py", line 553, in run
return run_simple(host, port, self, **options)
File "/home/aglenn/.virtualenvs/niftysite/local/lib/python2.7/site-packages/werkzeug/serving.py", line 609, in run_simple
run_with_reloader(inner, extra_files, reloader_interval)
File "/home/aglenn/.virtualenvs/niftysite/local/lib/python2.7/site-packages/werkzeug/serving.py", line 528, in run_with_reloader
reloader_loop(extra_files, interval)
File "/home/aglenn/.virtualenvs/niftysite/local/lib/python2.7/site-packages/werkzeug/serving.py", line 436, in reloader_loop
reloader(fnames, interval=interval)
File "/home/aglenn/.virtualenvs/niftysite/local/lib/python2.7/site-packages/werkzeug/serving.py", line 464, in _reloader_inotify
mask = reduce(lambda m, a: m | getattr(EventsCodes, a), mask, 0)
File "/home/aglenn/.virtualenvs/niftysite/local/lib/python2.7/site-packages/werkzeug/serving.py", line 464, in
mask = reduce(lambda m, a: m | getattr(EventsCodes, a), mask, 0)
AttributeError: type object 'EventsCodes' has no attribute 'IN_DELETE_SELF'

@gekitsuu

Forgot to mention this is on flask 0.7.2

@gekitsuu gekitsuu closed this Jul 26, 2011
@gekitsuu gekitsuu reopened this Jul 26, 2011
@mitsuhiko
Member

This is a werkzeug bug and fixed in the development version. I will push out a point release momentarily.

@mitsuhiko mitsuhiko closed this Jul 26, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment