See enclosed sample code. Works with multitask-0.2.0. Breaks with
multitask-0.3.0:
Traceback (most recent call last):
File "E:\eclipse\web2py\sandbox\src\prc_publish\coop_multitask.py", line 133, in <module>
main()
File "E:\eclipse\web2py\sandbox\src\prc_publish\coop_multitask.py", line 45, in main
multitask.run()
File "C:\Apps\Python27\lib\site-packages\multitask.py", line 1280, in run
get_default_task_manager().run()
File "C:\Apps\Python27\lib\site-packages\multitask.py", line 1122, in run
self._run_next_task()
File "C:\Apps\Python27\lib\site-packages\multitask.py", line 1218, in _run_next_task
output._handle(self)
File "C:\Apps\Python27\lib\site-packages\multitask.py", line 917, in _handle
self._reenqueue(tm, input=item)
File "C:\Apps\Python27\lib\site-packages\multitask.py", line 307, in _reenqueue
tm._remove_timeout(self)
File "C:\Apps\Python27\lib\site-packages\multitask.py", line 1173, in _remove_timeout
self._timeouts.remove((item.expiration, item))
ValueError: list.remove(x): x not in list
Exception AttributeError: AttributeError("'NoneType' object has no attribute
'Timeout'",) in <generator object publisher at 0x00C94A08> ignored
Original issue reported on code.google.com by bal...@gmx.de on 12 Mar 2011 at 6:08
Original issue reported on code.google.com by
bal...@gmx.de
on 12 Mar 2011 at 6:08Attachments: