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

Unable to download video and already updated. #647

Closed
hfa2010 opened this issue Jan 23, 2013 · 7 comments
Closed

Unable to download video and already updated. #647

hfa2010 opened this issue Jan 23, 2013 · 7 comments

Comments

@hfa2010
Copy link

@hfa2010 hfa2010 commented Jan 23, 2013

This is the output:

sudo youtube-dl -U && youtube-dl --verbose http://www.youtube.com/watch?v=hD3OXFUbcXw
youtube-dl is up-to-date (2013.01.13)
[debug] youtube-dl version 2013.01.13
[debug] Python version 2.7.3 - Linux-3.5.0-22-generic-x86_64-with-Ubuntu-12.10-quantal
[debug] Proxy map: {}
[youtube] Setting language
[youtube] hD3OXFUbcXw: Downloading video webpage
[youtube] hD3OXFUbcXw: Downloading video info webpage
[youtube] hD3OXFUbcXw: Extracting video information

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 <module>
    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())
@phihag
Copy link
Contributor

@phihag phihag commented Jan 23, 2013

Sorry, I cannot reproduce this error; it works fine on my systems. What is your ISP? Can you reproduce the problem with multiple ISPs/machines? Does the error occur with any other videos?

@hfa2010
Copy link
Author

@hfa2010 hfa2010 commented Jan 23, 2013

Yes... I tried even with a link container file( -a option)... Maybe is something with the python version of Ubuntu 12.10..

@hfa2010
Copy link
Author

@hfa2010 hfa2010 commented Jan 23, 2013

Well strange tried it now and get this:
henrique@henrique-Inspiron-N4050:$ cd Vídeos
henrique@henrique-Inspiron-N4050:
/Vídeos$ youtube-dl -a shows.txt
[youtube] Setting language
[youtube] RobAjrR313o: Downloading video webpage
[youtube] RobAjrR313o: Downloading video info webpage
[youtube] RobAjrR313o: Extracting video information

ERROR: unable to download video
henrique@henrique-Inspiron-N4050:~/Vídeos$ youtube-dl --verbose -a shows.txt
[debug] youtube-dl version 2013.01.13
[debug] Python version 2.7.3 - Linux-3.5.0-22-generic-x86_64-with-Ubuntu-12.10-quantal
[debug] Proxy map: {}
[youtube] Setting language
[youtube] RobAjrR313o: Downloading video webpage
[youtube] RobAjrR313o: Downloading video info webpage
[youtube] RobAjrR313o: Extracting video information
[download] Destination: RobAjrR313o.flv
(here the video downloading)
[EDIT]

Almost in the same moment i got this:

youtube-dl --verbose -cl -a shows.txt

[debug] youtube-dl version 2013.01.13
[debug] Python version 2.7.3 - Linux-3.5.0-22-generic-x86_64-with-Ubuntu-12.10-quantal
[debug] Proxy map: {}
[youtube] Setting language
[youtube] RobAjrR313o: Downloading video webpage
[youtube] RobAjrR313o: Downloading video info webpage
[youtube] RobAjrR313o: Extracting video information

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())

@hfa2010
Copy link
Author

@hfa2010 hfa2010 commented Jan 23, 2013

I will try with another ISP later to see if that's the problem...

@shaggytwodope
Copy link

@shaggytwodope shaggytwodope commented Jan 23, 2013

I can not reproduce on debian unstable or arch machines, parhaps its a
ubuntu python thing?

@yasoob
Copy link
Contributor

@yasoob yasoob commented Jul 9, 2013

@hfa2010 have you checked it again ? If so then what was the output ?

@hfa2010
Copy link
Author

@hfa2010 hfa2010 commented Jul 11, 2013

The actual version is okay. But i was having problems this time again(i'm under the same ISP that i was that time) and this time i could resolve it by chaning the DNS servers to Google DNS(8.8.8.8). Can't say if it was the same problem the other moment. Anyway thanks! And sorry for not coming back to this thread.

@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
5 participants
You can’t perform that action at this time.