{"action":"created","issue":{"url":"https://api.github.com/repos/tianxianbaobao/UCS/issues/5","labels_url":"https://api.github.com/repos/tianxianbaobao/UCS/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/tianxianbaobao/UCS/issues/5/comments","events_url":"https://api.github.com/repos/tianxianbaobao/UCS/issues/5/events","html_url":"https://github.com/tianxianbaobao/UCS/issues/5","id":109236472,"number":5,"title":"TypeError无法下载文件","user":{"login":"4disland","id":6065941,"avatar_url":"https://avatars.githubusercontent.com/u/6065941?v=3","gravatar_id":"","url":"https://api.github.com/users/4disland","html_url":"https://github.com/4disland","followers_url":"https://api.github.com/users/4disland/followers","following_url":"https://api.github.com/users/4disland/following{/other_user}","gists_url":"https://api.github.com/users/4disland/gists{/gist_id}","starred_url":"https://api.github.com/users/4disland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4disland/subscriptions","organizations_url":"https://api.github.com/users/4disland/orgs","repos_url":"https://api.github.com/users/4disland/repos","events_url":"https://api.github.com/users/4disland/events{/privacy}","received_events_url":"https://api.github.com/users/4disland/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-01T06:13:19Z","updated_at":"2015-10-03T04:45:09Z","closed_at":"2015-10-03T04:39:13Z","body":"python 2.7.6\r\nOS: linux\r\n\r\nLinking  计算机算法设计与分析15-16秋季_资源\r\nhttp://course.ucas.ac.cn/access/content/group/117006/http:__bioinfo.ict.ac.cn_~dbu_AlgorithmCourses_CS711008Z_CS711008Z_2015.html\r\nhttp://course.ucas.ac.cn/access/content/group/117006/before_the_first_class.pdf\r\nTraceback (most recent call last):\r\n  File \"syncc.py\", line 185, in <module>\r\n    c.login()\r\n  File \"syncc.py\", line 92, in login\r\n    self.get_resource(test_url)\r\n  File \"syncc.py\", line 123, in get_resource\r\n    self.download(title, res)\r\n  File \"syncc.py\", line 168, in download\r\n    self.req.Download(f, __pwd)\r\n  File \"/home/dl11/github/UCS/HttpClient.py\", line 84, in Download\r\n    output.write(content)\r\nTypeError: must be string or buffer, not None"},"comment":{"url":"https://api.github.com/repos/tianxianbaobao/UCS/issues/comments/145200256","html_url":"https://github.com/tianxianbaobao/UCS/issues/5#issuecomment-145200256","issue_url":"https://api.github.com/repos/tianxianbaobao/UCS/issues/5","id":145200256,"user":{"login":"freemandealer","id":6492193,"avatar_url":"https://avatars.githubusercontent.com/u/6492193?v=3","gravatar_id":"","url":"https://api.github.com/users/freemandealer","html_url":"https://github.com/freemandealer","followers_url":"https://api.github.com/users/freemandealer/followers","following_url":"https://api.github.com/users/freemandealer/following{/other_user}","gists_url":"https://api.github.com/users/freemandealer/gists{/gist_id}","starred_url":"https://api.github.com/users/freemandealer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freemandealer/subscriptions","organizations_url":"https://api.github.com/users/freemandealer/orgs","repos_url":"https://api.github.com/users/freemandealer/repos","events_url":"https://api.github.com/users/freemandealer/events{/privacy}","received_events_url":"https://api.github.com/users/freemandealer/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T04:45:09Z","updated_at":"2015-10-03T04:45:09Z","body":"问题解决啦，你pull最新的版本再试试吧 :)"}}