Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
problem #4872
problem #4872
Comments
|
I might mention that stdin & stdout are being redirected and this seems to be the root of the problem. C:>echo /usr/bin/youtube-dl https://www.youtube.com/watch?v=Bb4TPuXCd8U | ncat -vvv 192.168.0.33 65432 On the other end is :- This arrangement works for many things but unfortunately not for youtube-dl. Is there a cure? |
|
After reading http://stackoverflow.com/questions/15793886/how-to-avoid-a-broken-pipe-error-when-printing-a-large-amount-of-formatted-data I added a -q to the command line and it provided a work-around. |
I encountered this error using youtube-dl version 2015.02.04
/usr/bin/youtube-dl https://www.youtube.com/watch?v=Bb4TPuXCd8U
Traceback (most recent call last):
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 19, in
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 382, in main
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 372, in _real_main
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1352, in download
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 619, in extract_info
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 268, in extract
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 802, in _real_extract
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 396, in _download_webpage
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 320, in _download_webpage_handle
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 294, in _request_webpage
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 460, in report_download_webpage
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 452, in to_screen
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 388, in to_screen
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 402, in to_stdout
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 391, in _write_string
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 943, in write_string
IOError: [Errno 32] Broken pipe
It has done it several times with any youtube video
I tried to look at the files mentioned in the error message but I can't find them.
Sorry I'm a bit of a n00b at this.