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

AttributeError: 'FFmpegExtractAudioPP' object has no attribute '_exes' #4041

Closed
resmo opened this issue Oct 26, 2014 · 4 comments
Closed

AttributeError: 'FFmpegExtractAudioPP' object has no attribute '_exes' #4041

resmo opened this issue Oct 26, 2014 · 4 comments

Comments

@resmo
Copy link

@resmo resmo commented Oct 26, 2014

$ youtube-dl --extract-audio --audio-quality 0 https://www.youtube.com/watch?v=xxx
[youtube] Confirming age
[youtube] xxx: Downloading webpage
[youtube] xxx: Downloading video info webpage
[youtube] xxx: Extracting video information
[youtube] xxx: Encrypted signatures detected.
[youtube] xxx: Downloading DASH manifest
...
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 437, in main
    _real_main(argv)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 427, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1078, in download
    res = self.extract_info(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 540, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 586, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 854, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1060, in process_info
    self.post_process(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1115, in post_process
    keep_video_wish, new_info = pp.run(info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/postprocessor/ffmpeg.py", line 157, in run
    filecodec = self.get_audio_codec(path)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/postprocessor/ffmpeg.py", line 122, in get_audio_codec
    if not self._exes['ffprobe'] and not self._exes['avprobe']:
AttributeError: 'FFmpegExtractAudioPP' object has no attribute '_exes'
$ youtube-dl --version
2014.10.26
@phihag phihag closed this in 1a253e1 Oct 26, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Oct 26, 2014

Thank you for the report! I introduced this bug in the latest changes; I apologize. Fixed in youtube-dl 2014.10.25.1. Type sudo youtube-dl -U to update.

@resmo
Copy link
Author

@resmo resmo commented Oct 26, 2014

blazing fast! thx!

@resmo
Copy link
Author

@resmo resmo commented Oct 26, 2014

confirm fix works 👍 :)

@StevenCurran
Copy link

@StevenCurran StevenCurran commented Oct 27, 2014

Could this be pushed to the windows exe? I seem to be having the same problem.

File "main.py", line 18, in
File "youtube_dl__init__.pyo", line 437, in main
File "youtube_dl__init__.pyo", line 427, in _real_main
File "youtube_dl\YoutubeDL.pyo", line 1078, in download
File "youtube_dl\YoutubeDL.pyo", line 540, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 586, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 854, in process_video_result
File "youtube_dl\YoutubeDL.pyo", line 1060, in process_info
File "youtube_dl\YoutubeDL.pyo", line 1115, in post_process
File "youtube_dl\postprocessor\ffmpeg.pyo", line 157, in run
File "youtube_dl\postprocessor\ffmpeg.pyo", line 122, in get_audio_codec
AttributeError: 'FFmpegExtractAudioPP' object has no attribute '_exes'

EDIT: Sorry I ran youtube-dl -U and this seems to have fixed things.

Awesome!

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