[ create a new paste ] login | about

Link: http://codepad.org/ICMgxZnY    [ raw code | fork ]

Python, pasted on Dec 18:
1
2
3
4
5
6
7
8
$ python test_timeout.py 
ERROR <handler[*.error] (FallBackErrorHandler._on_error)> (<error[*] (<type 'exceptions.KeyError'>, KeyError('generate_events',), ['  File "/home/prologic/work/circuits-dev/circuits/core/manager.py", line 690, in processTask\n    value = next(task)\n', '  File "/home/prologic/work/circuits-dev/circuits/core/manager.py", line 473, in callEvent\n    for r in self.waitEvent(event.name, *event.channels, **kwargs):\n', '  File "/home/prologic/work/circuits-dev/circuits/core/manager.py", line 455, in waitEvent\n    self.removeHandler(_on_tick_handler, "generate_events")\n', '  File "/home/prologic/work/circuits-dev/circuits/core/manager.py", line 311, in removeHandler\n    self._handlers[name].remove(method)\n'] handler=<function handler at 0x7f7be6f33848>, fevent=<started[*] (<App/* 30352:MainThread (queued=1) [R]> )>)>) {<type 'exceptions.AttributeError'>}: 'function' object has no attribute 'channel'
  File "/home/prologic/work/circuits-dev/circuits/core/manager.py", line 556, in _dispatcher
    value = handler(*eargs, **ekwargs)
  File "/home/prologic/work/circuits-dev/circuits/core/helpers.py", line 84, in _on_error
    handler = reprhandler(handler)
  File "/home/prologic/work/circuits-dev/circuits/core/handlers.py", line 99, in reprhandler
    channel = handler.channel if handler.channel is not None else "*"


Create a new paste based on this one


Comments: