{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2990","repository_url":"https://api.github.com/repos/sphinx-doc/sphinx","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2990/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2990/comments","events_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2990/events","html_url":"https://github.com/sphinx-doc/sphinx/issues/2990","id":180363935,"number":2990,"title":"linkcheck.py is broken?","user":{"login":"hhsprings","id":2637305,"avatar_url":"https://avatars.githubusercontent.com/u/2637305?v=3","gravatar_id":"","url":"https://api.github.com/users/hhsprings","html_url":"https://github.com/hhsprings","followers_url":"https://api.github.com/users/hhsprings/followers","following_url":"https://api.github.com/users/hhsprings/following{/other_user}","gists_url":"https://api.github.com/users/hhsprings/gists{/gist_id}","starred_url":"https://api.github.com/users/hhsprings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhsprings/subscriptions","organizations_url":"https://api.github.com/users/hhsprings/orgs","repos_url":"https://api.github.com/users/hhsprings/repos","events_url":"https://api.github.com/users/hhsprings/events{/privacy}","received_events_url":"https://api.github.com/users/hhsprings/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sphinx-doc/sphinx/labels/builder","name":"builder","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/milestones/16","html_url":"https://github.com/sphinx-doc/sphinx/milestones/1.5","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/milestones/16/labels","id":1554808,"number":16,"title":"1.5","description":"Rough release plan\r\n* Sphinx-1.5a1: middle of Sept.\r\n* Sphinx-1.5a2: end of Sept.\r\n* Sphinx-1.5b1: middle of Oct.\r\n* Sphinx-1.5-final: end of Oct. or middle of Nov.\r\n\r\nhttps://groups.google.com/forum/#!topic/sphinx-dev/QikqSL0anqo\r\n\r\nNote::\r\n* Drop python-2.6, 3.3","creator":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":120,"state":"open","created_at":"2016-02-01T07:37:34Z","updated_at":"2016-10-04T03:53:10Z","due_on":"2016-10-31T00:00:00Z","closed_at":null},"comments":5,"created_at":"2016-09-30T17:53:16Z","updated_at":"2016-10-04T05:43:52Z","closed_at":null,"body":"Regarding to #2988: in the first place, linkcheck.py is broken now?\r\n\r\nThere are at least two problems.\r\n\r\n1. for Python 3.x (for me, it is 3.5.2), linkcheck.py is likely to have a unicode problem.\r\n2. for both 3.x and 2.7, [#L167](https://github.com/sphinx-doc/sphinx/blob/master/sphinx/builders/linkcheck.py#L167) may raise `UnboundLocalError` (`local variable 'code' referenced before assignment`).\r\n\r\nFor now, running `make linkcheck` in CPython documentation fails, because the UnboundLocalError occurs.\r\n\r\nFormer is like this:\r\n```\r\ndistributing\\index.rst:123: [broken] https://packaging.python.org/en/latest/distributing/#packaging-your-project: Can't convert 'bytes' object to str implicitly\r\ndistributing\\index.rst:124: [broken] https://packaging.python.org/en/latest/distributing/#uploading-your-project-to-pypi: Can't convert 'bytes' object to str implicitly\r\ndistributing\\index.rst:111: [broken] https://packaging.python.org/en/latest/current/#packaging-tool-recommendations: Can't convert 'bytes' object to str implicitly\r\ndistutils\\apiref.rst:1002: [broken] http://nfs.sourceforge.net/#section_d: Can't convert 'bytes' object to str implicitly\r\nhowto\\descriptor.rst:126: [broken] https://www.python.org/download/releases/2.2.3/descrintro/#cooperation: Can't convert 'bytes' object to str implicitly\r\nhowto\\logging-cookbook.rst:1639: [broken] https://tools.ietf.org/html/rfc5424#section-6: Can't convert 'bytes' object to str implicitly\r\nhowto\\logging-cookbook.rst:1376: [broken] https://docs.djangoproject.com/en/1.9/topics/logging/#configuring-logging: Can't convert 'bytes' object to str implicitly\r\nhowto\\logging-cookbook.rst:1320: [broken] https://docs.djangoproject.com/en/1.9/topics/logging/#configuring-logging: Can't convert 'bytes' object to str implicitly\r\n...\r\n```\r\nIt is likely that all of these has a fragment...\r\n"},"comment":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/comments/251301225","html_url":"https://github.com/sphinx-doc/sphinx/issues/2990#issuecomment-251301225","issue_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2990","id":251301225,"user":{"login":"hhsprings","id":2637305,"avatar_url":"https://avatars.githubusercontent.com/u/2637305?v=3","gravatar_id":"","url":"https://api.github.com/users/hhsprings","html_url":"https://github.com/hhsprings","followers_url":"https://api.github.com/users/hhsprings/followers","following_url":"https://api.github.com/users/hhsprings/following{/other_user}","gists_url":"https://api.github.com/users/hhsprings/gists{/gist_id}","starred_url":"https://api.github.com/users/hhsprings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhsprings/subscriptions","organizations_url":"https://api.github.com/users/hhsprings/orgs","repos_url":"https://api.github.com/users/hhsprings/repos","events_url":"https://api.github.com/users/hhsprings/events{/privacy}","received_events_url":"https://api.github.com/users/hhsprings/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T05:43:52Z","updated_at":"2016-10-04T05:43:52Z","body":"Please clone [CPython repo (mirror)](https://github.com/python/cpython), and run `make linkcheck`. This will reproduce this case immediately.\r\n"}}
{"actor":{"display_login":"hhsprings"}}