{"action":"closed","issue":{"url":"https://api.github.com/repos/coleifer/huey/issues/135","repository_url":"https://api.github.com/repos/coleifer/huey","labels_url":"https://api.github.com/repos/coleifer/huey/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/coleifer/huey/issues/135/comments","events_url":"https://api.github.com/repos/coleifer/huey/issues/135/events","html_url":"https://github.com/coleifer/huey/issues/135","id":131248406,"number":135,"title":"Erros on executing run_huey (>= 1.0.0) with Django 1.9","user":{"login":"psyonara","id":771840,"avatar_url":"https://avatars.githubusercontent.com/u/771840?v=3","gravatar_id":"","url":"https://api.github.com/users/psyonara","html_url":"https://github.com/psyonara","followers_url":"https://api.github.com/users/psyonara/followers","following_url":"https://api.github.com/users/psyonara/following{/other_user}","gists_url":"https://api.github.com/users/psyonara/gists{/gist_id}","starred_url":"https://api.github.com/users/psyonara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psyonara/subscriptions","organizations_url":"https://api.github.com/users/psyonara/orgs","repos_url":"https://api.github.com/users/psyonara/repos","events_url":"https://api.github.com/users/psyonara/events{/privacy}","received_events_url":"https://api.github.com/users/psyonara/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-04T05:30:51Z","updated_at":"2016-02-05T06:21:35Z","closed_at":"2016-02-05T06:21:35Z","body":"Hi there,\r\n\r\nI'm getting error(s) when using Huey 1.0.0+ with Django (when running run_huey) on a specific setup (will paste errors at the end):\r\nUbuntu 14.04 LTS\r\nPython 2.7.6\r\nDjango 1.9\r\nRedis 2.8.4\r\n\r\nHowever, on another setup the errors don't come up:\r\nUbuntu 15.10\r\nPython 2.7.9\r\nDjango 1.9\r\nRedis 3.0.3\r\n\r\nSo, on the first setup, using Huey version 1.0.0, I get the following error:\r\n```\r\nException in thread Scheduler:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 810, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 763, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/home/somari/Revolution/ve/local/lib/python2.7/site-packages/huey/consumer.py\", line 293, in _run\r\n    consumer_process.loop()\r\n  File \"/home/somari/Revolution/ve/local/lib/python2.7/site-packages/huey/consumer.py\", line 167, in loop\r\n    for task in self.huey.read_schedule(now):\r\n  File \"/home/somari/Revolution/ve/local/lib/python2.7/site-packages/huey/api.py\", line 301, in read_schedule\r\n    for m in self._read_schedule(ts)]\r\n  File \"/home/somari/Revolution/ve/local/lib/python2.7/site-packages/huey/api.py\", line 165, in inner\r\n    wrap_exception(exc_class)\r\n  File \"/home/somari/Revolution/ve/local/lib/python2.7/site-packages/huey/utils.py\", line 18, in wrap_exception\r\n    raise new_exc_class('%s: %s' % (exc_class.__name__, exc))\r\nScheduleReadException: TypeError: __init__() got an unexpected keyword argument 'consumer_options'\r\n```\r\n\r\nWhen using Huey 1.1.0, I get the above error plus the following:\r\n```\r\nException in thread Worker-1:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 810, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/threading.py\", line 763, in run\r\n    self.__target(*self.__args, **self.__kwargs)\r\n  File \"/home/somari/Revolution/ve/local/lib/python2.7/site-packages/huey/consumer.py\", line 359, in _run\r\n    consumer_process.loop()\r\n  File \"/home/somari/Revolution/ve/local/lib/python2.7/site-packages/huey/consumer.py\", line 95, in loop\r\n    self.huey.emit_task(EVENT_ERROR_DEQUEUEING, task, error=True)\r\n  File \"/home/somari/Revolution/ve/local/lib/python2.7/site-packages/huey/api.py\", line 256, in emit_task\r\n    metadata = self._get_task_metadata(task, error)\r\n  File \"/home/somari/Revolution/ve/local/lib/python2.7/site-packages/huey/api.py\", line 236, in _get_task_metadata\r\n    'id': task.task_id,\r\nAttributeError: 'NoneType' object has no attribute 'task_id'\r\n```\r\n\r\nSince my \"newer\" setup doesn't produce the errors, I presume my Huey settings are fine. So then it must be the version difference of python, redis, or both? Some insight would be appreciated! :-)"}}