{"action":"closed","issue":{"url":"https://api.github.com/repos/akrylysov/yozuch/issues/2","labels_url":"https://api.github.com/repos/akrylysov/yozuch/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/akrylysov/yozuch/issues/2/comments","events_url":"https://api.github.com/repos/akrylysov/yozuch/issues/2/events","html_url":"https://github.com/akrylysov/yozuch/issues/2","id":125226045,"number":2,"title":"lots of \"Type str doesn't support the buffer API\" errors","user":{"login":"polycopter","id":4967320,"avatar_url":"https://avatars.githubusercontent.com/u/4967320?v=3","gravatar_id":"","url":"https://api.github.com/users/polycopter","html_url":"https://github.com/polycopter","followers_url":"https://api.github.com/users/polycopter/followers","following_url":"https://api.github.com/users/polycopter/following{/other_user}","gists_url":"https://api.github.com/users/polycopter/gists{/gist_id}","starred_url":"https://api.github.com/users/polycopter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polycopter/subscriptions","organizations_url":"https://api.github.com/users/polycopter/orgs","repos_url":"https://api.github.com/users/polycopter/repos","events_url":"https://api.github.com/users/polycopter/events{/privacy}","received_events_url":"https://api.github.com/users/polycopter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-06T17:42:40Z","updated_at":"2016-01-07T01:19:51Z","closed_at":"2016-01-07T01:19:51Z","body":"e.g.:\r\n\r\nD:\\src\\html>cd devblog\r\n\r\nD:\\src\\html\\devblog>yozuch serve\r\n[   INFO] Loaded 1 posts\r\n[   INFO] Loaded 1 documents\r\n[   INFO] Processing assets directory D:\\src\\html\\devblog\\assets...\r\n[   INFO] Processing assets directory C:\\Python34\\lib\\site-packages\\yozuch\\theme\r\ns\\foundation\\assets...\r\n[   INFO] Found 1 tags\r\n[   INFO] Writing content...\r\n[   INFO] Done!\r\n[   INFO] Watching D:\\src\\html\\devblog\\documents for changes...\r\n[   INFO] Watching D:\\src\\html\\devblog\\posts for changes...\r\n[   INFO] Watching D:\\src\\html\\devblog\\templates for changes...\r\n[   INFO] Watching D:\\src\\html\\devblog\\assets for changes...\r\n[   INFO] Watching config.py for changes...\r\n[   INFO] Serving content at port 8000\r\n[   INFO] Auto reload server at port 8001\r\n[   INFO] Press \"Ctrl+C\" to exit\r\n127.0.0.1 - - [06/Jan/2016 12:37:00] \"GET / HTTP/1.1\" 200 -\r\n127.0.0.1 - - [06/Jan/2016 12:37:00] \"GET /css/foundation.min.css HTTP/1.1\" 200\r\n-\r\n127.0.0.1 - - [06/Jan/2016 12:37:00] \"GET /css/yozuch.css HTTP/1.1\" 200 -\r\n127.0.0.1 - - [06/Jan/2016 12:37:00] \"GET /css/pygments.css HTTP/1.1\" 200 -\r\n127.0.0.1 - - [06/Jan/2016 12:37:01] code 404, message File not found\r\n127.0.0.1 - - [06/Jan/2016 12:37:01] \"GET /favicon.ico HTTP/1.1\" 404 -\r\n127.0.0.1 - - [06/Jan/2016 12:37:01] code 404, message File not found\r\n127.0.0.1 - - [06/Jan/2016 12:37:01] \"GET /favicon.ico HTTP/1.1\" 404 -\r\nException in thread Thread-8:\r\nTraceback (most recent call last):\r\n  File \"C:\\Python34\\lib\\threading.py\", line 920, in _bootstrap_inner\r\n    self.run()\r\n  File \"C:\\Python34\\lib\\threading.py\", line 868, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"C:\\Python34\\lib\\site-packages\\yozuch\\notification_server.py\", line 46, i\r\nn _handle_client\r\n    if self._handshake(client):\r\n  File \"C:\\Python34\\lib\\site-packages\\yozuch\\notification_server.py\", line 36, i\r\nn _handshake\r\n    headers = self._parse_headers(data)\r\n  File \"C:\\Python34\\lib\\site-packages\\yozuch\\notification_server.py\", line 28, i\r\nn _parse_headers\r\n    parts = line.split(': ', 2)\r\nTypeError: Type str doesn't support the buffer API\r\n\r\n127.0.0.1 - - [06/Jan/2016 12:37:10] \"GET /blog/2016/01/06/demo-post/ HTTP/1.1\"\r\n200 -\r\n127.0.0.1 - - [06/Jan/2016 12:37:10] \"GET /css/foundation.min.css HTTP/1.1\" 200\r\n-\r\n127.0.0.1 - - [06/Jan/2016 12:37:10] \"GET /css/yozuch.css HTTP/1.1\" 200 -\r\n127.0.0.1 - - [06/Jan/2016 12:37:10] \"GET /css/pygments.css HTTP/1.1\" 200 -\r\nException in thread Thread-11:\r\nTraceback (most recent call last):\r\n  File \"C:\\Python34\\lib\\threading.py\", line 920, in _bootstrap_inner\r\n    self.run()\r\n  File \"C:\\Python34\\lib\\threading.py\", line 868, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"C:\\Python34\\lib\\site-packages\\yozuch\\notification_server.py\", line 46, i\r\nn _handle_client\r\n    if self._handshake(client):\r\n  File \"C:\\Python34\\lib\\site-packages\\yozuch\\notification_server.py\", line 36, i\r\nn _handshake\r\n    headers = self._parse_headers(data)\r\n  File \"C:\\Python34\\lib\\site-packages\\yozuch\\notification_server.py\", line 28, i\r\nn _parse_headers\r\n    parts = line.split(': ', 2)\r\nTypeError: Type str doesn't support the buffer API"}}