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.
error when running without stderr (and/or stdout)? #1861
Comments
|
Duplicate of #1840. Update to youtube-dl 2013.11.28 or newer. You may also want to set the |
hi!
i'm running youtube-dl from cron but recently, it started to fail.
Traceback (most recent call last):
File "/bin/youtube-dl", line 9, in
load_entry_point('youtube-dl==2013.11.26', 'console_scripts', 'youtube-dl')()
File "/usr/lib/python3.3/site-packages/youtube_dl/init.py", line 694, in main
_real_main(argv)
File "/usr/lib/python3.3/site-packages/youtube_dl/init.py", line 657, in _real_main
with YoutubeDL(ydl_opts) as ydl:
File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 164, in init
u'Assuming --restrict-filenames since file system encoding '
File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 301, in report_warning
self.to_stderr(warning_message)
File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 219, in to_stderr
if self.params.get('logger'):
AttributeError: 'NoneType' object has no attribute 'get'
...when run from terminal, everything works fine.