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

halts on error when downloading batch from user page and ignoring errors #807

Closed
trevor opened this issue Apr 26, 2013 · 3 comments
Closed

halts on error when downloading batch from user page and ignoring errors #807

trevor opened this issue Apr 26, 2013 · 3 comments

Comments

@trevor
Copy link

@trevor trevor commented Apr 26, 2013

Note, this isn't an issue in earlier versions such as 2012.12.11

% ./youtube-dl --verbose --ignore-errors --match-title xyznomatch http://www.youtube.com/user/laylamini
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--ignore-errors', '--match-title', 'xyznomatch', 'http://www.youtube.com/user/laylamini']
[debug] youtube-dl version 2013.04.22
[debug] Python version 2.7.4 - Darwin-12.3.0-x86_64-i386-64bit
[debug] Proxy map: {}
[youtube] user laylamini: Downloading video ids from 1 to 51
[download] Downloading playlist: laylamini
[youtube:user] playlist 'laylamini': Collected 24 video ids (downloading 24 of them)
[download] Downloading video #1 of 24
[youtube] Setting language
[youtube] Wd3JWYzbJ7A: Downloading video webpage
[youtube] Wd3JWYzbJ7A: Downloading video info webpage
[youtube] Wd3JWYzbJ7A: Extracting video information
[download] [download] "Dave Gahan - Live Monsters" title did not match pattern "xyznomatch"
[download] Downloading video #2 of 24
[youtube] Setting language
[youtube] _gjATOKzb_A: Downloading video webpage
[youtube] _gjATOKzb_A: Downloading video info webpage
[youtube] _gjATOKzb_A: Extracting video information
[download] [download] "Depeche Mode - 101" title did not match pattern "xyznomatch"
[download] Downloading video #3 of 24
[youtube] Setting language
[youtube] ATH5hlJK6lw: Downloading video webpage
[youtube] ATH5hlJK6lw: Downloading video info webpage
ERROR: YouTube said: This video contains content from WMG, who has blocked it in your country on copyright grounds.
Traceback (most recent call last):
  File "./youtube-dl/youtube_dl/__init__.py", line 511, in _real_main
    cwd=os.path.dirname(os.path.abspath(__file__)))
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1308, in _execute_child
    raise child_exception
OSError: [Errno 20] Not a directory: '/private/tmp/youtube-dl/youtube_dl'

ERROR: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
  File "./youtube-dl/youtube_dl/FileDownloader.py", line 468, in extract_info
    results.append(self.process_ie_result(ie_result, download))
  File "./youtube-dl/youtube_dl/FileDownloader.py", line 527, in process_ie_result
    entry_result = self.process_ie_result(entry, False)
  File "./youtube-dl/youtube_dl/FileDownloader.py", line 502, in process_ie_result
    result = self.extract_info(ie_result['url'], download, ie_name = ie_result['ie_key'])[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Aug 2, 2013

Could you check if this is still failing with a more recent version?
Now it shouldn't crash if the result is None.

@trevor
Copy link
Author

@trevor trevor commented Aug 3, 2013

Looks good, thanks.

@trevor trevor closed this Aug 3, 2013
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Aug 3, 2013

Thanks for checking it, if you found the same problem or any other, fee free to open a new issue.

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.