{"action":"closed","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/6727","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6727/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6727/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/6727/events","html_url":"https://github.com/rg3/youtube-dl/issues/6727","id":104224817,"number":6727,"title":"ERROR: readline() takes exactly 1 argument (2 given)","user":{"login":"Garfield222","id":5839005,"avatar_url":"https://avatars.githubusercontent.com/u/5839005?v=3","gravatar_id":"","url":"https://api.github.com/users/Garfield222","html_url":"https://github.com/Garfield222","followers_url":"https://api.github.com/users/Garfield222/followers","following_url":"https://api.github.com/users/Garfield222/following{/other_user}","gists_url":"https://api.github.com/users/Garfield222/gists{/gist_id}","starred_url":"https://api.github.com/users/Garfield222/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Garfield222/subscriptions","organizations_url":"https://api.github.com/users/Garfield222/orgs","repos_url":"https://api.github.com/users/Garfield222/repos","events_url":"https://api.github.com/users/Garfield222/events{/privacy}","received_events_url":"https://api.github.com/users/Garfield222/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-01T09:27:18Z","updated_at":"2015-09-02T14:23:08Z","closed_at":"2015-09-02T14:23:08Z","body":"I get this error message ONLY WHEN http_proxy variable is set.\r\n\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Command-line args: [u'--verbose', u'-ciw', u'-f', u'bestaudio', u'--write-all-thumbnails', u'--no-mtime', u'--download-archive', u'.archive.txt', u'--playlist-start', u'1', u'https://www.youtube.com/watch?v=tVAI3voBG1E&list=RDtVAI3voBG1E']\r\n[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8\r\n[debug] youtube-dl version 2015.08.28\r\n[debug] Python version 2.7.10 - CYGWIN_NT-6.1-WOW-2.2.0-0.289-5-3-i686-32bit\r\n[debug] exe versions: ffmpeg N-72346-ga838b22, ffprobe N-72346-ga838b22\r\n[debug] Proxy map: {'http': '78.188.251.242:8080', u'https': '78.188.251.242:8080'}\r\n[youtube:playlist] Downloading playlist RDtVAI3voBG1E - add --no-playlist to just download video tVAI3voBG1E\r\n[youtube:playlist] RDtVAI3voBG1E: Downloading Youtube mix\r\nERROR: readline() takes exactly 1 argument (2 given)\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 655, in extract_info\r\n    ie_result = ie.extract(url)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py\", line 287, in extract\r\n    return self._real_extract(url)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 1572, in _real_extract\r\n    return self._extract_mix(playlist_id)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py\", line 1485, in _extract_mix\r\n    url, playlist_id, 'Downloading Youtube mix')\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py\", line 438, in _download_webpage\r\n    res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py\", line 345, in _download_webpage_handle\r\n    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py\", line 326, in _request_webpage\r\n    return self._downloader.urlopen(url_or_request)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 1860, in urlopen\r\n    return self._opener.open(req, timeout=self._socket_timeout)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 431, in open\r\n    response = self._open(req, data)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 449, in _open\r\n    '_open', req)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 409, in _call_chain\r\n    result = func(*args)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/utils.py\", line 749, in https_open\r\n    req, **kwargs)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 1194, in do_open\r\n    h.request(req.get_method(), req.get_selector(), req.data, headers)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 1053, in request\r\n    self._send_request(method, url, body, headers)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 1093, in _send_request\r\n    self.endheaders(body)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 1049, in endheaders\r\n    self._send_output(message_body)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 893, in _send_output\r\n    self.send(msg)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 855, in send\r\n    self.connect()\r\n  File \"/usr/lib/python2.7/httplib.py\", line 1266, in connect\r\n    HTTPConnection.connect(self)\r\n  File \"/usr/lib/python2.7/httplib.py\", line 835, in connect\r\n    self._tunnel()\r\n  File \"/usr/lib/python2.7/httplib.py\", line 819, in _tunnel\r\n    line = response.fp.readline(_MAXLINE + 1)\r\nTypeError: readline() takes exactly 1 argument (2 given)\r\n \r\n"}}