{"action":"created","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/17148","repository_url":"https://api.github.com/repos/rg3/youtube-dl","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/17148/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/17148/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/17148/events","html_url":"https://github.com/rg3/youtube-dl/issues/17148","id":347577793,"node_id":"MDU6SXNzdWUzNDc1Nzc3OTM=","number":17148,"title":"Youtube download stops short then fails to get any data blocks","user":{"login":"sambler","id":149608,"node_id":"MDQ6VXNlcjE0OTYwOA==","avatar_url":"https://avatars1.githubusercontent.com/u/149608?v=4","gravatar_id":"","url":"https://api.github.com/users/sambler","html_url":"https://github.com/sambler","followers_url":"https://api.github.com/users/sambler/followers","following_url":"https://api.github.com/users/sambler/following{/other_user}","gists_url":"https://api.github.com/users/sambler/gists{/gist_id}","starred_url":"https://api.github.com/users/sambler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sambler/subscriptions","organizations_url":"https://api.github.com/users/sambler/orgs","repos_url":"https://api.github.com/users/sambler/repos","events_url":"https://api.github.com/users/sambler/events{/privacy}","received_events_url":"https://api.github.com/users/sambler/received_events","type":"User","site_admin":false},"labels":[{"id":369961685,"node_id":"MDU6TGFiZWwzNjk5NjE2ODU=","url":"https://api.github.com/repos/rg3/youtube-dl/labels/invalid","name":"invalid","color":"ff0000","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-04T02:20:00Z","updated_at":"2018-08-07T08:49:29Z","closed_at":"2018-08-07T02:53:37Z","author_association":"NONE","body":"### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2018.08.04*. If it's not, read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected.\r\n- [x] I've **verified** and **I assure** that I'm running youtube-dl **2018.08.04**\r\n\r\n### Before submitting an *issue* make sure you have:\r\n- [x] At least skimmed through the [README](https://github.com/rg3/youtube-dl/blob/master/README.md), **most notably** the [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections\r\n- [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones\r\n- [x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser\r\n\r\n### What is the purpose of your *issue*?\r\n- [x] Bug report (encountered problems with youtube-dl)\r\n- [ ] Site support request (request for adding support for a new site)\r\n- [ ] Feature request (request for a new functionality)\r\n- [ ] Question\r\n- [ ] Other\r\n\r\n---\r\n\r\n### If the purpose of this *issue* is a *bug report*, *site support request* or you are not completely sure provide the full verbose output as follows:\r\n\r\nAdd the `-v` flag to **your command line** you run youtube-dl with (`youtube-dl -v <your command line>`), copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```):\r\n\r\n---\r\n\r\nThis error is related to settings in my config file which I have not changed for months, this one video fails, all other vids have had no issue. Moving the config allows this video to download with default settings.\r\n\r\nMy format list ends with `best` so I expect it to accept whatever format is available if my desired formats are not there.\r\n\r\nError log is two attempts, one start and one to continue after fail\r\n\r\n```\r\n% youtube-dl -v \"https://www.youtube.com/watch?v=7aeQ8TT859Q\"\r\n[debug] System config: []\r\n[debug] User config: [u'-o', u'%(autonumber)03d_%(playlist_index)s_%(title)s_%(extractor)s_%(id)s.%(ext)s', u'--ignore-errors', u'--restrict-filenames', u'--continue', u'--sub-lang', u'en', u'--embed-subs', u'--ffmpeg-location', u'/usr/local/bin/ffmpeg', u'--format', u'22/136+140/137+140/136+bestaudio[ext=m4a]/137+bestaudio[ext=m4a]/bestvideo[height<=?720][ext=mp4]+bestaudio[ext=m4a]/bestvideo[height<=?1080][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', u'--merge-output-format', u'mp4']\r\n[debug] Custom config: []\r\n[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=7aeQ8TT859Q']\r\n[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8\r\n[debug] youtube-dl version 2018.08.04\r\n[debug] Python version 2.7.15 (CPython) - FreeBSD-11.2-PRERELEASE-amd64-64bit-ELF\r\n[debug] exe versions: ffmpeg 4.0, ffprobe 4.0, rtmpdump 2.4\r\n[debug] Proxy map: {}\r\n[youtube] 7aeQ8TT859Q: Downloading webpage\r\n[youtube] 7aeQ8TT859Q: Downloading video info webpage\r\n[debug] Invoking downloader on u'https://r4---sn-ppoxu-5qaz.googlevideo.com/videoplayback?mv=m&fvip=2&mt=1533347913&ratebypass=yes&ms=au%2Crdu&signature=6FA5B44D1BC94104C2A70A25F20ADCBF64F56C30.D51258D6B32F551CE8F2AABF0453BEC6360D2C0B&source=youtube&c=WEB&initcwndbps=775000&mn=sn-ppoxu-5qaz%2Csn-ntq7yn7l&mm=31%2C29&requiressl=yes&id=o-ANegjijBqaJ_SmMwmy2CtW5IIj0wZs0oBGbQKga6Wkxt&expire=1533369645&ipbits=0&key=yt6&mime=video%2Fmp4&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&dur=492.332&itag=22&ei=zQhlW4fcHYXq4gLZ3oi4Aw&pl=34&lmt=1533338502510130&ip=2001%3A44b8%3A2ae%3A7800%3A92%3A4c4c%3Ae0d5%3Ae9d9'\r\n[download] Destination: 001_NA_DARK_TOWER_Un-Used_Concept_Designs_ADI_youtube_7aeQ8TT859Q.mp4\r\n[download]   0.4% of 53.30MiB at 793.71KiB/s ETA 01:08[download] Got server HTTP error: Downloaded 242145 bytes, expected 55887033 bytes. Retrying (attempt 1 of 10)...\r\n\r\n\r\nERROR: Did not get any data blocks\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py\", line 342, in real_download\r\n    return download()\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py\", line 320, in download\r\n    retry(err)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py\", line 225, in retry\r\n    raise RetryDownload(e)\r\nRetryDownload\r\n\r\n% youtube-dl -v \"https://www.youtube.com/watch?v=7aeQ8TT859Q\"\r\n[debug] System config: []\r\n[debug] User config: [u'-o', u'%(autonumber)03d_%(playlist_index)s_%(title)s_%(extractor)s_%(id)s.%(ext)s', u'--ignore-errors', u'--restrict-filenames', u'--continue', u'--sub-lang', u'en', u'--embed-subs', u'--ffmpeg-location', u'/usr/local/bin/ffmpeg', u'--format', u'22/136+140/137+140/136+bestaudio[ext=m4a]/137+bestaudio[ext=m4a]/bestvideo[height<=?720][ext=mp4]+bestaudio[ext=m4a]/bestvideo[height<=?1080][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', u'--merge-output-format', u'mp4']\r\n[debug] Custom config: []\r\n[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=7aeQ8TT859Q']\r\n[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8\r\n[debug] youtube-dl version 2018.08.04\r\n[debug] Python version 2.7.15 (CPython) - FreeBSD-11.2-PRERELEASE-amd64-64bit-ELF\r\n[debug] exe versions: ffmpeg 4.0, ffprobe 4.0, rtmpdump 2.4\r\n[debug] Proxy map: {}\r\n[youtube] 7aeQ8TT859Q: Downloading webpage\r\n[youtube] 7aeQ8TT859Q: Downloading video info webpage\r\n[debug] Invoking downloader on u'https://r4---sn-ppoxu-5qaz.googlevideo.com/videoplayback?sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&ip=2001%3A44b8%3A2ae%3A7800%3A92%3A4c4c%3Ae0d5%3Ae9d9&itag=22&ei=1QhlW8uFBJzk4ALClJa4BA&requiressl=yes&lmt=1533338502510130&mt=1533347978&expire=1533369653&ratebypass=yes&fvip=2&source=youtube&initcwndbps=775000&ipbits=0&pl=34&mv=m&c=WEB&ms=au%2Crdu&mm=31%2C29&key=yt6&signature=18219264F372B4759F2825CD569A83DDF110F7DF.FD9C989D3FD02E87199F939D261D07FADEAEEC&id=o-AC9hRwiRl5YopesqCWlAly3R3DnhxS2zJX1-NYFgiZn9&dur=492.332&mime=video%2Fmp4&mn=sn-ppoxu-5qaz%2Csn-ntqe7n76'\r\n[download] Resuming download at byte 242145\r\n\r\n\r\nERROR: Did not get any data blocks\r\n  File \"/usr/local/lib/python2.7/runpy.py\", line 174, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"/usr/local/lib/python2.7/runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"/usr/local/bin/youtube-dl/__main__.py\", line 19, in <module>\r\n    youtube_dl.main()\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/__init__.py\", line 467, in main\r\n    _real_main(argv)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/__init__.py\", line 457, in _real_main\r\n    retcode = ydl.download(all_urls)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 2001, in download\r\n    url, force_generic_extractor=self.params.get('force_generic_extractor', False))\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 803, in extract_info\r\n    return self.process_ie_result(ie_result, download, extra_info)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 857, in process_ie_result\r\n    return self.process_video_result(ie_result, download=download)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 1635, in process_video_result\r\n    self.process_info(new_info)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 1908, in process_info\r\n    success = dl(filename, info_dict)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 1847, in dl\r\n    return fd.download(name, info)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py\", line 364, in download\r\n    return self.real_download(filename, info_dict)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py\", line 342, in real_download\r\n    return download()\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py\", line 312, in download\r\n    self.report_error('Did not get any data blocks')\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py\", line 165, in report_error\r\n    self.ydl.report_error(*args, **kargs)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 620, in report_error\r\n    self.trouble(error_message, tb)\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 582, in trouble\r\n    tb_data = traceback.format_list(traceback.extract_stack())\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments/410983149","html_url":"https://github.com/rg3/youtube-dl/issues/17148#issuecomment-410983149","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/17148","id":410983149,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDk4MzE0OQ==","user":{"login":"sambler","id":149608,"node_id":"MDQ6VXNlcjE0OTYwOA==","avatar_url":"https://avatars1.githubusercontent.com/u/149608?v=4","gravatar_id":"","url":"https://api.github.com/users/sambler","html_url":"https://github.com/sambler","followers_url":"https://api.github.com/users/sambler/followers","following_url":"https://api.github.com/users/sambler/following{/other_user}","gists_url":"https://api.github.com/users/sambler/gists{/gist_id}","starred_url":"https://api.github.com/users/sambler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sambler/subscriptions","organizations_url":"https://api.github.com/users/sambler/orgs","repos_url":"https://api.github.com/users/sambler/repos","events_url":"https://api.github.com/users/sambler/events{/privacy}","received_events_url":"https://api.github.com/users/sambler/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T08:49:29Z","updated_at":"2018-08-07T08:49:29Z","author_association":"NONE","body":"@dstftw how is youtube-dl requesting a non-existent format not a youtube-dl issue?\r\n\r\nbest should be the default format but specifying best causes the download to fail, while not specifying a format works."}}
{"actor":{"display_login":"sambler"}}