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

RuntimeError: maximum recursion depth exceeded in cmp (generic information extractor, peekvids.com) #14435

Closed
ghost opened this issue Oct 7, 2017 · 1 comment
Labels

Comments

@ghost
Copy link

@ghost ghost commented Oct 7, 2017

youtube-dl -v https://www.peekvids.com/watch?v=cAvbo9PSFJC                                                                                                                                                                                                                             [945/1940]
[debug] System config: [u'--recode-video=mp4', u'-f', u'bestvideo+bestaudio/best']                                                                        
[debug] User config: []                                                                                                                                   
[debug] Custom config: []                                                                                                                                 
[debug] Command-line args: [u'-v', u'https://www.peekvids.com/watch?v=cAvbo9PSFJC']                                                                       
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8                                                                                          
[debug] youtube-dl version 2017.10.07                                                                                                                     
[debug] Python version 2.7.10 - Darwin-17.0.0-x86_64-i386-64bit                                                                                           
[debug] exe versions: ffmpeg 3.3.4, ffprobe 3.3.4, rtmpdump 2.4                                                                                           
[debug] Proxy map: {'http': 'http://127.0.0.1:8118', 'https': 'http://127.0.0.1:8118'}                                                                    
[generic] watch?v=cAvbo9PSFJC: Requesting header                                                                                                          
WARNING: Falling back on generic information extractor.                                                                                                   
[generic] watch?v=cAvbo9PSFJC: Downloading webpage                                                                                                        
[generic] watch?v=cAvbo9PSFJC: Extracting information                                                                                                     
[generic] watch?v=cAvbo9PSFJC: Downloading MPD manifest                                                                                                   
Traceback (most recent call last):                                                                                                                        
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main                                
    "__main__", fname, loader, pkg_name)                                                                                                                  
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code                                           
    exec code in run_globals                                                                                                                              
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>                                                                                      
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 465, in main                                                                              
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 455, in _real_main                                                                        
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1980, in download                                                                        
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 784, in extract_info                                                                     
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 434, in extract                                                                   
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2890, in _real_extract                                                           
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 2175, in _parse_html5_media_entries                                               
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 2145, in _media_formats                                                           
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1745, in _extract_mpd_formats                                                     
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 532, in _download_webpage_handle                                                  
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 503, in _request_webpage                                                          
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2190, in urlopen                                                                         
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open                                             
    response = self._open(req, data)                                                                                                                      
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open                                            
    '_open', req)                                                                                                                                         
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain                                      
    result = func(*args)                                                                                                                                  
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1086, in https_open                                                                          
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1194, in do_open                                         
    h.request(req.get_method(), req.get_selector(), req.data, headers)                                                                                    
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 296, in get_selector                                     
    return self.__r_host                                                                                                                                  
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__                                      
    return getattr(self, attr)                                                                                      
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__                                      
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
(...)
    return getattr(self, attr)                                                                                      
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)                                                                                      
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)                                                                                      
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)                                                                                      
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)                                                                                      
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)                                                                                      
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)                                                                                      
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)                                                                                      
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 255, in __getattr__
    return getattr(self, attr)                                                                                      
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 251, in __getattr__
    if attr[:12] == '_Request__r_':                                                                                 
RuntimeError: maximum recursion depth exceeded in cmp  
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 7, 2017

This is a Python bug fixed in 2.7.12 (https://bugs.python.org/issue6500). You may want to use either official Python packages from https://www.python.org or third-party packages like Homebrew or Macports.

@yan12125 yan12125 closed this Oct 7, 2017
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
@yan12125 and others
You can’t perform that action at this time.