Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Did not get any data blocks #644

Closed
tomkatke opened this issue Jan 20, 2013 · 4 comments
Closed

ERROR: Did not get any data blocks #644

tomkatke opened this issue Jan 20, 2013 · 4 comments

Comments

@tomkatke
Copy link

@tomkatke tomkatke commented Jan 20, 2013

Here is a youtube video that plays well on youtube, but will not download. Hoping you can figure out why.
Thanks,
Tom Katke

tom@K1204Stud:~/Youtube$ uname -a
Linux K1204Stud 3.2.0-23-lowlatency #31-Ubuntu SMP PREEMPT Wed Apr 11 02:24:03 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

tom@K1204Stud:~/Youtube$ sudo youtube-dl -U
Updating to version 2013.01.13...
Updated youtube-dl. Restart youtube-dl to use the new version.

tom@K1204Stud:~/Youtube$ python --version
Python 2.7.3

tom@K1204Stud:~/Youtube$ youtube-dl --verbose -i -c -w --output="EdSheeran-20121203-GiveMeLove-MSG-fWxS2K9-5j4_2.04_kelly_kapowski.%(ext)s" "http://www.youtube.com/watch?v=fWxS2K9-5j4"
[debug] Proxy map: {}
[youtube] Setting language
[youtube] fWxS2K9-5j4: Downloading video webpage
[youtube] fWxS2K9-5j4: Downloading video info webpage
[youtube] fWxS2K9-5j4: Extracting video information
[download] Resuming download at byte 1093

ERROR: Did not get any data blocks
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/tom/bin/youtube-dl/main.py", line 17, in
youtube_dl.main()
File "/home/tom/bin/youtube-dl/youtube_dl/init.py", line 596, in main
_real_main()
File "/home/tom/bin/youtube-dl/youtube_dl/init.py", line 580, in _real_main
retcode = fd.download(all_urls)
File "/home/tom/bin/youtube-dl/youtube_dl/FileDownloader.py", line 514, in download
self.process_info(video)
File "/home/tom/bin/youtube-dl/youtube_dl/FileDownloader.py", line 471, in process_info
success = self._do_download(filename, info_dict)
File "/home/tom/bin/youtube-dl/youtube_dl/FileDownloader.py", line 716, in _do_download
self.trouble(u'\nERROR: Did not get any data blocks')
File "/home/tom/bin/youtube-dl/youtube_dl/FileDownloader.py", line 222, in trouble
self.to_stderr(u''.join(traceback.format_list(traceback.extract_stack())))

@phihag
Copy link
Contributor

@phihag phihag commented Jan 20, 2013

Most likely a duplicate of #575 . But this report contains lots more of information, thanks!

@hfa2010
Copy link

@hfa2010 hfa2010 commented Jan 23, 2013

Similar here:
ERROR: unable to download video
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/bin/youtube-dl/main.py", line 17, in
youtube_dl.main()
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 494, in main
_real_main()
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 478, in _real_main
retcode = fd.download(all_urls)
File "/usr/bin/youtube-dl/youtube_dl/FileDownloader.py", line 523, in download
self.trouble(u'\nERROR: unable to download video')
File "/usr/bin/youtube-dl/youtube_dl/FileDownloader.py", line 228, in trouble
tb_data = traceback.format_list(traceback.extract_stack())

Can't download any video...

@phihag
Copy link
Contributor

@phihag phihag commented Jan 23, 2013

@HFA Your error message is different, and the error being discussed here is known for being transient. Please open a new issue and include the command-line and full output. Note that as mentioned in the FAQ, your error is indicative of an old version of youtube-dl, so make sure to update with sudo youtube-dl -U.

@hfa2010
Copy link

@hfa2010 hfa2010 commented Jan 23, 2013

Okay, did it:
#647

@dstftw dstftw closed this May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.