question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some twitch VOD downloads fail with "Did not get any data blocks" after a certain %

See original GitHub issue

Both stop with ERROR: Did not get any data blocks and freeze the machine for a while.

Reproduced on two different machines.


  • I’ve verified and I assure that I’m running youtube-dl 2016.07.09.2
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

  • Bug report (encountered problems with youtube-dl)
$ youtube-dl --continue --verbose https://www.twitch.tv/annemunition/v/56397653
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--continue', '--verbose', 'https://www.twitch.tv/annemunition/v/56397653']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.07.09.2
[debug] Python version 3.5.2 - Linux-4.5.0-2-amd64-x86_64-with-debian-stretch-sid
[debug] exe versions: ffmpeg 3.0.2-4, ffprobe 3.0.2-4, rtmpdump 2.4
[debug] Proxy map: {}
[twitch:vod] 56397653: Downloading vod info JSON
[twitch:vod] 56397653: Downloading vod access token
[twitch:vod] 56397653: Downloading m3u8 information
[debug] Invoking downloader on 'http://vod.cf.hls.ttvnw.net/0e6317af1a_annemunition_20412075200_423860408/chunked/index-muted-RMAMSBLV41.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 11473
[download] Destination: One order of JUSTICE, please.-v56397653.mp4
[download]  40.8% of ~9.51GiB at Unknown speed ETA Unknown ETA

ERROR: Did not get any data blocks
  File "/home/admin/hs/bin/youtube-dl", line 11, in <module>
    sys.exit(main())
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/__init__.py", line 422, in main
    _real_main(argv)
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/__init__.py", line 412, in _real_main
    retcode = ydl.download(all_urls)
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 1745, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 692, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 738, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 1391, in process_video_result
    self.process_info(new_info)
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 1653, in process_info
    success = dl(filename, info_dict)
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 1595, in dl
    return fd.download(name, info)
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/downloader/common.py", line 350, in download
    return self.real_download(filename, info_dict)
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/downloader/hls.py", line 98, in real_download
    success = ctx['dl'].download(frag_filename, {'url': frag_url})
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/downloader/common.py", line 350, in download
    return self.real_download(filename, info_dict)
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/downloader/http.py", line 230, in real_download
    self.report_error('Did not get any data blocks')
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/downloader/common.py", line 161, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 555, in report_error
    self.trouble(error_message, tb)
  File "/home/admin/hs/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 517, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())
<end of log>

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:9

github_iconTop GitHub Comments

3reactions
yan12125commented, Jul 11, 2016

Seems a bug in youtube-dl’s HLS downloader. The following command works:

youtube-dl --continue --verbose https://www.twitch.tv/annemunition/v/56397653 --hls-prefer-ffmpeg

The Twitch server provides empty files. Maybe youtube-dl should tolerate and just skip empty files.

0reactions
3id0commented, Oct 13, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Download fails "did not get any data blocks", : r/StacherIO
Hello, I keep getting this error trying to download this video: https://www.youtube.com/watch?v=ChL9R2r0N9Y Thanks for any help.
Read more >
Back to downloading content: 2 tips to fix Twitch Leecher errors
If you encounter a Twitch Leecher error, you need to download the latest version available of it as it will have adressed the...
Read more >
4 Ways to Download Twitch VOD Videos and Clips on All ...
In this article, we will introduce how to download Twitch videos, both VOD videos and clips videos are included. So you will never...
Read more >
Basic Troubleshooting Tips - Twitch Help
This article are steps support may ask while troubleshooting issue with the Twitch Studio or Soundtrack by Twitch with you.
Read more >
Twitch Network Error 2000 – Causes and Fixes - StreamScheme
This post will go over the various ways that you can try to fix the Twitch 2000: Network Error. Several possible fixes to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found