{"action":"created","issue":{"url":"https://api.github.com/repos/R4stl1n/allianceauth/issues/299","repository_url":"https://api.github.com/repos/R4stl1n/allianceauth","labels_url":"https://api.github.com/repos/R4stl1n/allianceauth/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/R4stl1n/allianceauth/issues/299/comments","events_url":"https://api.github.com/repos/R4stl1n/allianceauth/issues/299/events","html_url":"https://github.com/R4stl1n/allianceauth/issues/299","id":138682798,"number":299,"title":"Celery task error","user":{"login":"PerMalmberg","id":2729388,"avatar_url":"https://avatars.githubusercontent.com/u/2729388?v=3","gravatar_id":"","url":"https://api.github.com/users/PerMalmberg","html_url":"https://github.com/PerMalmberg","followers_url":"https://api.github.com/users/PerMalmberg/followers","following_url":"https://api.github.com/users/PerMalmberg/following{/other_user}","gists_url":"https://api.github.com/users/PerMalmberg/gists{/gist_id}","starred_url":"https://api.github.com/users/PerMalmberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerMalmberg/subscriptions","organizations_url":"https://api.github.com/users/PerMalmberg/orgs","repos_url":"https://api.github.com/users/PerMalmberg/repos","events_url":"https://api.github.com/users/PerMalmberg/events{/privacy}","received_events_url":"https://api.github.com/users/PerMalmberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-05T14:07:35Z","updated_at":"2016-03-05T21:17:51Z","closed_at":null,"body":"I just upgraded from 278 to current master and when starting the celery tasks via screen, I noticed that one of them exited immediately.\r\n\r\nRunning command\r\n`python allianceauth/manage.py celeryd --verbosity=2 --loglevel=DEBUG --maxtasksperchild=250\r\n`\r\nresults in\r\n<pre>\r\n[2016-03-05 13:21:00,753: WARNING/MainProcess] /usr/local/lib/python2.7/dist-packages/celery/apps/worker.py:161: CDeprecationWarning:\r\nStarting from version 3.2 Celery will refuse to accept pickle by default.\r\n\r\nThe pickle serializer is a security concern as it may give attackers\r\nthe ability to execute any command.  It's important to secure\r\nyour broker from unauthorized access when using pickle, so we think\r\nthat enabling pickle should require a deliberate action and not be\r\nthe default choice.\r\n\r\nIf you depend on pickle then you should set a setting to disable this\r\nwarning and to be sure that everything will continue working\r\nwhen you upgrade to Celery 3.2::\r\n\r\n    CELERY_ACCEPT_CONTENT = ['pickle', 'json', 'msgpack', 'yaml']\r\n\r\nYou must only enable the serializers that you will actually use.\r\n\r\n\r\n  warnings.warn(CDeprecationWarning(W_PICKLE_DEPRECATED))\r\n\r\n[2016-03-05 13:02:55,678: ERROR/MainProcess] Unrecoverable error: AttributeError(\"'NoneType' object has no attribute 'rstrip'\",)\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/celery/worker/__init__.py\", line 206, in start\r\n    self.blueprint.start(self)\r\n  File \"/usr/local/lib/python2.7/dist-packages/celery/bootsteps.py\", line 119, in start\r\n    self.on_start()\r\n  File \"/usr/local/lib/python2.7/dist-packages/celery/apps/worker.py\", line 169, in on_start\r\n    string(self.colored.cyan(' \\n', self.startup_info())),\r\n  File \"/usr/local/lib/python2.7/dist-packages/celery/apps/worker.py\", line 230, in startup_info\r\n    results=self.app.backend.as_uri(),\r\n  File \"/usr/local/lib/python2.7/dist-packages/celery/backends/base.py\", line 117, in as_uri\r\n    else maybe_sanitize_url(self.url).rstrip(\"/\"))\r\nAttributeError: 'NoneType' object has no attribute 'rstrip'\r\n</pre>\r\n\r\nIs AA depending on pickle and any idea about the error?"},"comment":{"url":"https://api.github.com/repos/R4stl1n/allianceauth/issues/comments/192739720","html_url":"https://github.com/R4stl1n/allianceauth/issues/299#issuecomment-192739720","issue_url":"https://api.github.com/repos/R4stl1n/allianceauth/issues/299","id":192739720,"user":{"login":"PerMalmberg","id":2729388,"avatar_url":"https://avatars.githubusercontent.com/u/2729388?v=3","gravatar_id":"","url":"https://api.github.com/users/PerMalmberg","html_url":"https://github.com/PerMalmberg","followers_url":"https://api.github.com/users/PerMalmberg/followers","following_url":"https://api.github.com/users/PerMalmberg/following{/other_user}","gists_url":"https://api.github.com/users/PerMalmberg/gists{/gist_id}","starred_url":"https://api.github.com/users/PerMalmberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerMalmberg/subscriptions","organizations_url":"https://api.github.com/users/PerMalmberg/orgs","repos_url":"https://api.github.com/users/PerMalmberg/repos","events_url":"https://api.github.com/users/PerMalmberg/events{/privacy}","received_events_url":"https://api.github.com/users/PerMalmberg/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T21:17:51Z","updated_at":"2016-03-05T21:17:51Z","body":"Yes, I do. Should I have removed them?"}}