Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

source tip (multitask-0.3.0) queue.get breaks with timeout kwarg #2

Open
GoogleCodeExporter opened this issue May 31, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant