Page MenuHomePhabricator

Quiet result.get Warning in tasks
Closed, ResolvedPublicPRODUCTION ERROR


Sep 25 16:34:18 scb1001 celery[30747]: [2016-09-25 16:34:18,198: WARNING/Worker-14] /srv/deployment/ores/venv/lib/python3.4/site-packages/celery/ 
RuntimeWarning: Never call result.get() within a task!

Event Timeline

Halfak renamed this task from Quiet re. result.get in tasks to Quiet result.get Warning in tasks.Sep 26 2016, 5:45 PM
Halfak triaged this task as Medium priority.
Halfak moved this task from Unsorted to Maintenance/cleanup on the Machine-Learning-Team board.

Change 314843 had a related patch set uploaded (by Ladsgroup):
Log only errors

Here's an example of the full warning

[2016-10-10 11:43:07,262: WARNING/Worker-8] /home/halfak/venv/3.5/lib/python3.5/site-packages/celery/ RuntimeWarning: Never call result.get() within a task!

In Celery 3.2 this will result in an exception being
raised instead of just being a warning.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:11 PM