[ create a new paste ] login | about

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

Python, pasted on Dec 17:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$ python test_timeout.py 
<registered[*] (<Debugger/* 9851:MainThread (queued=0) [S]>, <App/* 9851:MainThread (queued=2) [R]> )>
<started[*] (<App/* 9851:MainThread (queued=1) [R]> )>
<foo[*] ( )>
...
1
<foo_done[*] (None )>
...
0
None
<error[*] (<class 'circuits.core.manager.TimeoutError'>, TimeoutError(<started[*] (<App/* 9851:MainThread (queued=1) [R]> )>,), ['  File "/home/prologic/work/circuits-dev/circuits/core/manager.py", line 548, in _dispatcher\n    value = handler(*eargs, **ekwargs)\n', '  File "/home/prologic/work/circuits-dev/circuits/core/manager.py", line 425, in _on_tick\n    raise TimeoutError(state["task_event"])\n'] handler=<bound method App._on_tick of <App/* 9851:MainThread (queued=1) [R]>>, fevent=<generate_events[*] ( )>)>
ERROR <handler[*.generate_events] (App._on_tick)> (<generate_events[*] ( )>) {<class 'circuits.core.manager.TimeoutError'>}: <started[*] (<App/* 9851:MainThread (queued=1) [R]> )>
  File "/home/prologic/work/circuits-dev/circuits/core/manager.py", line 548, in _dispatcher
    value = handler(*eargs, **ekwargs)
  File "/home/prologic/work/circuits-dev/circuits/core/manager.py", line 425, in _on_tick
    raise TimeoutError(state["task_event"])

^C<signal[*] (2, <frame object at 0x219ba70> )>
<stopped[*] (<App/* 9851:MainThread (queued=0) [S]> )>
(circuits)


Create a new paste based on this one


Comments: