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

'YoutubeDL' object has no attribute 'error' #989

Closed
sciunto opened this issue Jul 4, 2013 · 1 comment
Closed

'YoutubeDL' object has no attribute 'error' #989

sciunto opened this issue Jul 4, 2013 · 1 comment

Comments

@sciunto
Copy link

@sciunto sciunto commented Jul 4, 2013

  File "/usr/bin/youtube-dl", line 6, in <module>
    youtube_dl.main()
  File "/usr/lib/python3.3/site-packages/youtube_dl/__init__.py", line 604, in main
    _real_main(argv)
  File "/usr/lib/python3.3/site-packages/youtube_dl/__init__.py", line 588, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 565, in download
    videos = self.extract_info(url)
  File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 318, in extract_info
    return self.process_ie_result(ie_result, download=download)
  File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 400, in process_ie_result
    for r in ie_result['entries']
  File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 400, in <listcomp>
    for r in ie_result['entries']
  File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 347, in process_ie_result
    self.process_info(ie_result)
  File "/usr/lib/python3.3/site-packages/youtube_dl/YoutubeDL.py", line 540, in process_info
    success = self.fd._do_download(filename, info_dict)
  File "/usr/lib/python3.3/site-packages/youtube_dl/FileDownloader.py", line 478, in _do_download
    self.report_error(u'unable to write data: %s' % str(err))
  File "/usr/lib/python3.3/site-packages/youtube_dl/FileDownloader.py", line 140, in report_error
    self.ydl.error(*args, **kargs)
AttributeError: 'YoutubeDL' object has no attribute 'error'

Thanks !

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 4, 2013

This was fixed in 2e32528, it's available in the new versions of youtube-dl.
It seems like you have installed it with pip, for updating run:

sudo pip install --upgrade youtube_dl

Thanks for reporting.

@jaimeMF jaimeMF closed this Jul 4, 2013
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
2 participants
You can’t perform that action at this time.