{"action":"created","issue":{"url":"https://api.github.com/repos/celery/celery/issues/2504","labels_url":"https://api.github.com/repos/celery/celery/issues/2504/labels{/name}","comments_url":"https://api.github.com/repos/celery/celery/issues/2504/comments","events_url":"https://api.github.com/repos/celery/celery/issues/2504/events","html_url":"https://github.com/celery/celery/issues/2504","id":57646432,"number":2504,"title":"Results returned from group have task_name=None","user":{"login":"keisetsu","id":5448338,"avatar_url":"https://avatars.githubusercontent.com/u/5448338?v=3","gravatar_id":"","url":"https://api.github.com/users/keisetsu","html_url":"https://github.com/keisetsu","followers_url":"https://api.github.com/users/keisetsu/followers","following_url":"https://api.github.com/users/keisetsu/following{/other_user}","gists_url":"https://api.github.com/users/keisetsu/gists{/gist_id}","starred_url":"https://api.github.com/users/keisetsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keisetsu/subscriptions","organizations_url":"https://api.github.com/users/keisetsu/orgs","repos_url":"https://api.github.com/users/keisetsu/repos","events_url":"https://api.github.com/users/keisetsu/events{/privacy}","received_events_url":"https://api.github.com/users/keisetsu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-13T19:59:13Z","updated_at":"2015-05-11T15:37:47Z","closed_at":null,"body":"When I try to access the taskname from a result that has come from group, None is returned\r\n\r\nPython(s): 3.3.6, 3.4.2\r\ncelery: 3.1.17\r\n\r\nproj/celery.py\r\n```python\r\nfrom celery import Celery\r\n\r\napp = Celery('proj',\r\n             broker='amqp://',\r\n             backend='amqp://',\r\n             include=['proj.tasks'])\r\n\r\n# Optional configuration, see the application user guide.\r\napp.conf.update(\r\n    CELERY_TASK_RESULT_EXPIRES=3600,\r\n)\r\n\r\nif __name__ == '__main__':\r\n    app.start()\r\n```\r\nproj/tasks.py\r\n```python\r\nfrom proj.celery import app\r\n\r\n@app.task\r\ndef add(x, y):\r\n    return x + y\r\n\r\n\r\n@app.task\r\ndef mul(x, y):\r\n    return x * y\r\n```\r\nrun_add.py\r\n```python\r\nfrom celery import group\r\n\r\nfrom proj import tasks\r\n\r\nimport logging\r\n\r\nlog = logging.getLogger(__name__)\r\nlogging.basicConfig(level=logging.DEBUG)\r\n\r\nresults = group([\r\n    tasks.mul.s(4,4),\r\n    tasks.add.s(3,3)\r\n]).delay()\r\n\r\nwhile results.waiting():\r\n    pass\r\n\r\nif results.successful():\r\n    for result in results:\r\n        log.info('ID: {}, name: {}'.format(result.task_id, result.task_name))\r\n```\r\nResult:\r\n```\r\nINFO:__main__:ID: c2fa4f30-0691-41ee-8f7b-e7dcbf32d09a, name: None\r\nINFO:__main__:ID: f545bfa0-2ad7-40b3-9d05-561d4c1eba7e, name: None\r\n```"},"comment":{"url":"https://api.github.com/repos/celery/celery/issues/comments/100949101","html_url":"https://github.com/celery/celery/issues/2504#issuecomment-100949101","issue_url":"https://api.github.com/repos/celery/celery/issues/2504","id":100949101,"user":{"login":"konos5","id":1859806,"avatar_url":"https://avatars.githubusercontent.com/u/1859806?v=3","gravatar_id":"","url":"https://api.github.com/users/konos5","html_url":"https://github.com/konos5","followers_url":"https://api.github.com/users/konos5/followers","following_url":"https://api.github.com/users/konos5/following{/other_user}","gists_url":"https://api.github.com/users/konos5/gists{/gist_id}","starred_url":"https://api.github.com/users/konos5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konos5/subscriptions","organizations_url":"https://api.github.com/users/konos5/orgs","repos_url":"https://api.github.com/users/konos5/repos","events_url":"https://api.github.com/users/konos5/events{/privacy}","received_events_url":"https://api.github.com/users/konos5/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T15:37:47Z","updated_at":"2015-05-11T15:37:47Z","body":"Same thing seems to also be happening with chains too.\r\nThere's also a stackoverflow post about it:\r\n\r\n[Get the task_name from AsyncResult when submitting chains in celery][1] \r\n[1]: http://stackoverflow.com/q/30153095/178728 \r\n"}}