{"action":"closed","issue":{"url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/261","repository_url":"https://api.github.com/repos/Kozea/WeasyPrint","labels_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/261/comments","events_url":"https://api.github.com/repos/Kozea/WeasyPrint/issues/261/events","html_url":"https://github.com/Kozea/WeasyPrint/issues/261","id":97737345,"number":261,"title":"Under Windows pathname2url.pathname2url raises \"TypeError: 'str' does not support the buffer interface\"","user":{"login":"marangonico","id":3797790,"avatar_url":"https://avatars.githubusercontent.com/u/3797790?v=3","gravatar_id":"","url":"https://api.github.com/users/marangonico","html_url":"https://github.com/marangonico","followers_url":"https://api.github.com/users/marangonico/followers","following_url":"https://api.github.com/users/marangonico/following{/other_user}","gists_url":"https://api.github.com/users/marangonico/gists{/gist_id}","starred_url":"https://api.github.com/users/marangonico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marangonico/subscriptions","organizations_url":"https://api.github.com/users/marangonico/orgs","repos_url":"https://api.github.com/users/marangonico/repos","events_url":"https://api.github.com/users/marangonico/events{/privacy}","received_events_url":"https://api.github.com/users/marangonico/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Kozea/WeasyPrint/labels/bug","name":"bug","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-07-28T15:37:16Z","updated_at":"2016-08-17T14:52:31Z","closed_at":"2016-08-17T14:52:31Z","body":"Under Windows, the function path2url defined in urls.py encodes the path using 'mbcs'\r\n\r\n    if isinstance(path, unicode):\r\n        path = path.encode(FILESYSTEM_ENCODING)\r\n\r\nThe subsequent call to pathname2url raises *TypeError: 'str' does not support the buffer interface*\r\n\r\n    File \"c:\\Python34\\Lib\\nturl2path.py\", line 46, in pathname2url\r\n        if not ':' in p:\r\n    TypeError: 'str' does not support the buffer interface"}}
{"actor":{"display_login":"liZe"}}