{"action":"created","issue":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2829","repository_url":"https://api.github.com/repos/OpenSlides/OpenSlides","labels_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2829/labels{/name}","comments_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2829/comments","events_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2829/events","html_url":"https://github.com/OpenSlides/OpenSlides/issues/2829","id":199903274,"number":2829,"title":"Current daphne needs current twisted","user":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"labels":[{"id":33100907,"url":"https://api.github.com/repos/OpenSlides/OpenSlides/labels/blocker","name":"blocker","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"emanuelschuetze","id":2075427,"avatar_url":"https://avatars.githubusercontent.com/u/2075427?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuelschuetze","html_url":"https://github.com/emanuelschuetze","followers_url":"https://api.github.com/users/emanuelschuetze/followers","following_url":"https://api.github.com/users/emanuelschuetze/following{/other_user}","gists_url":"https://api.github.com/users/emanuelschuetze/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuelschuetze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuelschuetze/subscriptions","organizations_url":"https://api.github.com/users/emanuelschuetze/orgs","repos_url":"https://api.github.com/users/emanuelschuetze/repos","events_url":"https://api.github.com/users/emanuelschuetze/events{/privacy}","received_events_url":"https://api.github.com/users/emanuelschuetze/received_events","type":"User","site_admin":false},"assignees":[{"login":"emanuelschuetze","id":2075427,"avatar_url":"https://avatars.githubusercontent.com/u/2075427?v=3","gravatar_id":"","url":"https://api.github.com/users/emanuelschuetze","html_url":"https://github.com/emanuelschuetze","followers_url":"https://api.github.com/users/emanuelschuetze/followers","following_url":"https://api.github.com/users/emanuelschuetze/following{/other_user}","gists_url":"https://api.github.com/users/emanuelschuetze/gists{/gist_id}","starred_url":"https://api.github.com/users/emanuelschuetze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emanuelschuetze/subscriptions","organizations_url":"https://api.github.com/users/emanuelschuetze/orgs","repos_url":"https://api.github.com/users/emanuelschuetze/repos","events_url":"https://api.github.com/users/emanuelschuetze/events{/privacy}","received_events_url":"https://api.github.com/users/emanuelschuetze/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones/21","html_url":"https://github.com/OpenSlides/OpenSlides/milestone/21","labels_url":"https://api.github.com/repos/OpenSlides/OpenSlides/milestones/21/labels","id":1291312,"number":21,"title":"2.1","description":"","creator":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"open_issues":73,"closed_issues":602,"state":"open","created_at":"2015-09-04T21:00:55Z","updated_at":"2017-01-11T20:48:03Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-01-10T18:52:11Z","updated_at":"2017-01-11T20:57:11Z","closed_at":null,"body":"Currently we pin twisted to an older version in the requirements_production.txt: https://github.com/OpenSlides/OpenSlides/blob/master/requirements_production.txt#L9\r\n\r\nBut this does not work with daphne 1.0.1 which is installed with ```pip install -r requirements.txt```\r\n\r\nIf you use daphne 1.0.1 with twisted 16.3.2, then you get the following error and daphne does not start at all (even when the message tells you differently) \r\n```\r\npython manage.py runserver\r\nPerforming system checks...\r\n\r\nSystem check identified no issues (0 silenced).\r\nJanuary 10, 2017 - 19:50:25\r\nDjango version 1.10.5, using settings 'settings'\r\nStarting Channels development server at http://127.0.0.1:8000/\r\nChannel layer default (asgi_redis.core.RedisChannelLayer)\r\nQuit the server with CONTROL-C.\r\n2017-01-10 19:50:25,915 - INFO - worker - Listening on channels autoupdate.send_data, http.request, websocket.connect, websocket.disconnect, websocket.receive\r\n2017-01-10 19:50:25,916 - INFO - worker - Listening on channels autoupdate.send_data, http.request, websocket.connect, websocket.disconnect, websocket.receive\r\n2017-01-10 19:50:25,918 - INFO - worker - Listening on channels autoupdate.send_data, http.request, websocket.connect, websocket.disconnect, websocket.receive\r\n2017-01-10 19:50:25,921 - INFO - worker - Listening on channels autoupdate.send_data, http.request, websocket.connect, websocket.disconnect, websocket.receive\r\nUnhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7f4c761c7950>\r\nTraceback (most recent call last):\r\n  File \"/home/ossi/.virtualenvs/openslides/lib/python3.6/site-packages/django/utils/autoreload.py\", line 226, in wrapper\r\n    fn(*args, **kwargs)\r\n  File \"/home/ossi/.virtualenvs/openslides/lib/python3.6/site-packages/channels/management/commands/runserver.py\", line 84, in inner_run\r\n    ws_protocols=getattr(settings, 'CHANNELS_WS_PROTOCOLS', None),\r\n  File \"/home/ossi/.virtualenvs/openslides/lib/python3.6/site-packages/daphne/server.py\", line 41, in __init__\r\n    ''' % self.__class__.__name__)\r\nDeprecationWarning: \r\n                The host/port/unix_socket/file_descriptor keyword arguments to Server are deprecated.\r\n```\r\n\r\nInstalling the current version of twisted fixes the problem.\r\n\r\nPlease do not solve this problem by fixing the version of daphne. And if you have to, then please also fix the current version of channels, asgi_ref and asgi_redis\r\n"},"comment":{"url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/comments/271992001","html_url":"https://github.com/OpenSlides/OpenSlides/issues/2829#issuecomment-271992001","issue_url":"https://api.github.com/repos/OpenSlides/OpenSlides/issues/2829","id":271992001,"user":{"login":"eknoes","id":3641205,"avatar_url":"https://avatars.githubusercontent.com/u/3641205?v=3","gravatar_id":"","url":"https://api.github.com/users/eknoes","html_url":"https://github.com/eknoes","followers_url":"https://api.github.com/users/eknoes/followers","following_url":"https://api.github.com/users/eknoes/following{/other_user}","gists_url":"https://api.github.com/users/eknoes/gists{/gist_id}","starred_url":"https://api.github.com/users/eknoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eknoes/subscriptions","organizations_url":"https://api.github.com/users/eknoes/orgs","repos_url":"https://api.github.com/users/eknoes/repos","events_url":"https://api.github.com/users/eknoes/events{/privacy}","received_events_url":"https://api.github.com/users/eknoes/received_events","type":"User","site_admin":false},"created_at":"2017-01-11T20:57:11Z","updated_at":"2017-01-11T20:57:11Z","body":"Can confirm the channels update, had the same problem. Update to newest channels version.#2834 fixed it!"}}
{"actor":{"display_login":"eknoes"}}