{"action":"created","issue":{"url":"https://api.github.com/repos/rq/django-rq/issues/276","repository_url":"https://api.github.com/repos/rq/django-rq","labels_url":"https://api.github.com/repos/rq/django-rq/issues/276/labels{/name}","comments_url":"https://api.github.com/repos/rq/django-rq/issues/276/comments","events_url":"https://api.github.com/repos/rq/django-rq/issues/276/events","html_url":"https://github.com/rq/django-rq/pull/276","id":300766932,"node_id":"MDExOlB1bGxSZXF1ZXN0MTcxNzY0OTYz","number":276,"title":"Adding scheduled jobs to UI","user":{"login":"quantumlink","id":13817136,"node_id":"MDQ6VXNlcjEzODE3MTM2","avatar_url":"https://avatars2.githubusercontent.com/u/13817136?v=4","gravatar_id":"","url":"https://api.github.com/users/quantumlink","html_url":"https://github.com/quantumlink","followers_url":"https://api.github.com/users/quantumlink/followers","following_url":"https://api.github.com/users/quantumlink/following{/other_user}","gists_url":"https://api.github.com/users/quantumlink/gists{/gist_id}","starred_url":"https://api.github.com/users/quantumlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantumlink/subscriptions","organizations_url":"https://api.github.com/users/quantumlink/orgs","repos_url":"https://api.github.com/users/quantumlink/repos","events_url":"https://api.github.com/users/quantumlink/events{/privacy}","received_events_url":"https://api.github.com/users/quantumlink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-02-27T19:44:19Z","updated_at":"2018-08-30T08:58:12Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/rq/django-rq/pulls/276","html_url":"https://github.com/rq/django-rq/pull/276","diff_url":"https://github.com/rq/django-rq/pull/276.diff","patch_url":"https://github.com/rq/django-rq/pull/276.patch"},"body":"Adds Scheduled Jobs\r\n![image](https://user-images.githubusercontent.com/13817136/38224855-eac22f2a-36bf-11e8-8d80-cbadb183043f.png)\r\n\r\nand associated page to show scheduled jobs\r\n\r\nMost of the work was already done in: https://github.com/rq/django-rq/pull/162 so thank you to @sburns\r\n"},"comment":{"url":"https://api.github.com/repos/rq/django-rq/issues/comments/417243910","html_url":"https://github.com/rq/django-rq/pull/276#issuecomment-417243910","issue_url":"https://api.github.com/repos/rq/django-rq/issues/276","id":417243910,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzI0MzkxMA==","user":{"login":"eriktelepovsky","id":2685808,"node_id":"MDQ6VXNlcjI2ODU4MDg=","avatar_url":"https://avatars3.githubusercontent.com/u/2685808?v=4","gravatar_id":"","url":"https://api.github.com/users/eriktelepovsky","html_url":"https://github.com/eriktelepovsky","followers_url":"https://api.github.com/users/eriktelepovsky/followers","following_url":"https://api.github.com/users/eriktelepovsky/following{/other_user}","gists_url":"https://api.github.com/users/eriktelepovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/eriktelepovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eriktelepovsky/subscriptions","organizations_url":"https://api.github.com/users/eriktelepovsky/orgs","repos_url":"https://api.github.com/users/eriktelepovsky/repos","events_url":"https://api.github.com/users/eriktelepovsky/events{/privacy}","received_events_url":"https://api.github.com/users/eriktelepovsky/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T08:58:12Z","updated_at":"2018-08-30T08:58:12Z","author_association":"NONE","body":"Hi. I'd like to test this PR but I get the following error using master branch of @quantumlink repo:\r\n\r\n```\r\nUnhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x115660b70>\r\nTraceback (most recent call last):\r\n  File \"/Users/erik/env/swida/lib/python3.6/site-packages/django/utils/autoreload.py\", line 225, in wrapper\r\n    fn(*args, **kwargs)\r\n  File \"/Users/erik/env/swida/lib/python3.6/site-packages/django/core/management/commands/runserver.py\", line 112, in inner_run\r\n    autoreload.raise_last_exception()\r\n  File \"/Users/erik/env/swida/lib/python3.6/site-packages/django/utils/autoreload.py\", line 248, in raise_last_exception\r\n    raise _exception[1]\r\n  File \"/Users/erik/env/swida/lib/python3.6/site-packages/django/core/management/__init__.py\", line 327, in execute\r\n    autoreload.check_errors(django.setup)()\r\n  File \"/Users/erik/env/swida/lib/python3.6/site-packages/django/utils/autoreload.py\", line 225, in wrapper\r\n    fn(*args, **kwargs)\r\n  File \"/Users/erik/env/swida/lib/python3.6/site-packages/django/__init__.py\", line 24, in setup\r\n    apps.populate(settings.INSTALLED_APPS)\r\n  File \"/Users/erik/env/swida/lib/python3.6/site-packages/django/apps/registry.py\", line 120, in populate\r\n    app_config.ready()\r\n  File \"/Users/erik/src/django/swida/source/swida/apps.py\", line 10, in ready\r\n    self.delete_scheduled_jobs()\r\n  File \"/Users/erik/src/django/swida/source/swida/apps.py\", line 14, in delete_scheduled_jobs\r\n    scheduler = django_rq.get_scheduler('cron')\r\n  File \"/Users/erik/env/swida/src/django-rq/django_rq/queues.py\", line 266, in get_scheduler\r\n    connection=connection)\r\n  File \"/Users/erik/env/swida/lib/python3.6/site-packages/rq_scheduler/scheduler.py\", line 29, in __init__\r\n    self.connection = resolve_connection(connection)\r\n  File \"/Users/erik/env/swida/lib/python3.6/site-packages/rq/connections.py\", line 66, in resolve_connection\r\n    return patch_connection(connection)\r\n  File \"/Users/erik/env/swida/lib/python3.6/site-packages/rq/compat/connections.py\", line 35, in patch_connection\r\n    connection._hset = partial(_hset, connection)\r\nAttributeError: 'str' object has no attribute '_hset'\r\n```\r\n\r\nAny ideas?"}}
{"actor":{"display_login":"eriktelepovsky"}}