{"action":"created","issue":{"url":"https://api.github.com/repos/celery/django-celery/issues/258","repository_url":"https://api.github.com/repos/celery/django-celery","labels_url":"https://api.github.com/repos/celery/django-celery/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/celery/django-celery/issues/258/comments","events_url":"https://api.github.com/repos/celery/django-celery/issues/258/events","html_url":"https://github.com/celery/django-celery/issues/258","id":16793826,"number":258,"title":"Running class based tasks does not pass 'self'","user":{"login":"dbajpeyi","id":3018923,"avatar_url":"https://avatars3.githubusercontent.com/u/3018923?v=3","gravatar_id":"","url":"https://api.github.com/users/dbajpeyi","html_url":"https://github.com/dbajpeyi","followers_url":"https://api.github.com/users/dbajpeyi/followers","following_url":"https://api.github.com/users/dbajpeyi/following{/other_user}","gists_url":"https://api.github.com/users/dbajpeyi/gists{/gist_id}","starred_url":"https://api.github.com/users/dbajpeyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbajpeyi/subscriptions","organizations_url":"https://api.github.com/users/dbajpeyi/orgs","repos_url":"https://api.github.com/users/dbajpeyi/repos","events_url":"https://api.github.com/users/dbajpeyi/events{/privacy}","received_events_url":"https://api.github.com/users/dbajpeyi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2013-07-16T05:55:21Z","updated_at":"2017-06-22T12:05:03Z","closed_at":"2016-12-14T09:51:59Z","body":"http://docs.celeryproject.org/en/latest/reference/celery.contrib.methods.html\n\nRunning any of the above examples throws a type error : \n        TypeError('add() takes exactly 3 arguments (2 given)',)\n\nI use the command : \n        python manage.py celery -B -l INFO\n\nAlthough this doesn't throw an error if I run it from the shell ,say : \nfrom app.tasks import *\n        x = X()\n        x.add.delay(2,2)\n\nworks fine.\n\nHere is the full stack trace : \n\n[2013-07-14 14:38:21,000: ERROR/MainProcess] Task report.tasks.add[6b79e113-8f65-4d27-bded-9b2978672a65] raised exception: TypeError('add() takes exactly 3 arguments (2 given)',)\nTraceback (most recent call last):\nFile \"/usr/local/lib/python2.7/dist-packages/celery/task/trace.py\", line 233, in trace_task\nR = retval = fun(_args, *_kwargs)\nFile \"/usr/local/lib/python2.7/dist-packages/celery/task/trace.py\", line 420, in protected_call\nreturn self.run(_args, *_kwargs)\nNone: add() takes exactly 3 arguments (2 given)\n"},"comment":{"url":"https://api.github.com/repos/celery/django-celery/issues/comments/310360389","html_url":"https://github.com/celery/django-celery/issues/258#issuecomment-310360389","issue_url":"https://api.github.com/repos/celery/django-celery/issues/258","id":310360389,"user":{"login":"hustlibraco","id":5344453,"avatar_url":"https://avatars3.githubusercontent.com/u/5344453?v=3","gravatar_id":"","url":"https://api.github.com/users/hustlibraco","html_url":"https://github.com/hustlibraco","followers_url":"https://api.github.com/users/hustlibraco/followers","following_url":"https://api.github.com/users/hustlibraco/following{/other_user}","gists_url":"https://api.github.com/users/hustlibraco/gists{/gist_id}","starred_url":"https://api.github.com/users/hustlibraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hustlibraco/subscriptions","organizations_url":"https://api.github.com/users/hustlibraco/orgs","repos_url":"https://api.github.com/users/hustlibraco/repos","events_url":"https://api.github.com/users/hustlibraco/events{/privacy}","received_events_url":"https://api.github.com/users/hustlibraco/received_events","type":"User","site_admin":false},"created_at":"2017-06-22T12:05:03Z","updated_at":"2017-06-22T12:05:03Z","body":"celery4 doesn't support task_method, how to solve thie problem with CELERY 4.0?"}}
{"actor":{"display_login":"hustlibraco"}}