{"action":"closed","issue":{"url":"https://api.github.com/repos/btubbs/sseclient/issues/13","repository_url":"https://api.github.com/repos/btubbs/sseclient","labels_url":"https://api.github.com/repos/btubbs/sseclient/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/btubbs/sseclient/issues/13/comments","events_url":"https://api.github.com/repos/btubbs/sseclient/issues/13/events","html_url":"https://github.com/btubbs/sseclient/issues/13","id":354361729,"node_id":"MDU6SXNzdWUzNTQzNjE3Mjk=","number":13,"title":"TypeError on Python 3","user":{"login":"jaraco","id":308610,"node_id":"MDQ6VXNlcjMwODYxMA==","avatar_url":"https://avatars2.githubusercontent.com/u/308610?v=4","gravatar_id":"","url":"https://api.github.com/users/jaraco","html_url":"https://github.com/jaraco","followers_url":"https://api.github.com/users/jaraco/followers","following_url":"https://api.github.com/users/jaraco/following{/other_user}","gists_url":"https://api.github.com/users/jaraco/gists{/gist_id}","starred_url":"https://api.github.com/users/jaraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaraco/subscriptions","organizations_url":"https://api.github.com/users/jaraco/orgs","repos_url":"https://api.github.com/users/jaraco/repos","events_url":"https://api.github.com/users/jaraco/events{/privacy}","received_events_url":"https://api.github.com/users/jaraco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-27T15:17:13Z","updated_at":"2018-08-27T15:36:32Z","closed_at":"2018-08-27T15:36:32Z","author_association":"CONTRIBUTOR","body":"When deploying Velociraptor's web proc on Python 3, we see this error in the logs:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/app/.heroku/venv/lib/python3.6/site-packages/gunicorn/workers/base_async.py\", line 56, in handle\r\n    self.handle_request(listener_name, req, client, addr)\r\n  File \"/app/.heroku/venv/lib/python3.6/site-packages/gunicorn/workers/ggevent.py\", line 160, in handle_request\r\n    addr)\r\n  File \"/app/.heroku/venv/lib/python3.6/site-packages/gunicorn/workers/base_async.py\", line 114, in handle_request\r\n    for item in respiter:\r\n  File \"/app/.heroku/venv/lib/python3.6/site-packages/newrelic/api/web_transaction.py\", line 646, in __iter__\r\n    for item in self.generator:\r\n  File \"/app/.heroku/venv/lib/python3.6/site-packages/newrelic/api/web_transaction.py\", line 1053, in __iter__\r\n    for data in self.iterable:\r\n  File \"/app/.heroku/venv/lib/python3.6/site-packages/vr/server/events.py\", line 51, in __iter__\r\n    yield self.next()\r\n  File \"/app/.heroku/venv/lib/python3.6/site-packages/vr/server/events.py\", line 61, in next\r\n    return ev.dump()\r\n  File \"/app/.heroku/venv/lib/python3.6/site-packages/sseclient.py\", line 116, in dump\r\n    lines.extend('data: %s' % d for d in self.data.split('\\n'))\r\nTypeError: a bytes-like object is required, not 'str'\r\n```"}}
{"actor":{"display_login":"jaraco"}}