Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1130757

Summary: [abrt] youtube-dl: vimeo.py:266:<genexpr>:ValueError: invalid literal for int() with base 10: 'base'
Product: [Fedora] Fedora Reporter: Richard Z. <rz>
Component: youtube-dlAssignee: Christopher Meng <i>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: i, metherid, opensource
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/fe3fdc545423e101bc06bec76e927d9f107ee9d9
Whiteboard: abrt_hash:6dddc97066777f9d2dc8340380c49e71a3f814cb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-07 10:41:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Richard Z. 2014-08-17 12:21:02 UTC
Description of problem:
youtube-dl http://www.whoi.edu/main/remus-sharkcam

[generic] remus-sharkcam: Requesting header
WARNING: Falling back on generic information extractor.
[generic] remus-sharkcam: Downloading webpage
[generic] remus-sharkcam: Extracting information
[vimeo] 101165012: Downloading webpage
[vimeo] 101165012: Extracting information
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/bin/youtube-dl/__main__.py", line 18, in <module>
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 889, in main
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 879, in _real_main
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1052, in download
...
...
...

Version-Release number of selected component:
youtube-dl-2014.07.25.1-1.fc19

Additional info:
reporter:       libreport-2.2.2
cmdline:        python /usr/bin/youtube-dl http://www.whoi.edu/main/remus-sharkcam
dso_list:       python-libs-2.7.5-13.fc19.i686
executable:     /usr/bin/youtube-dl
kernel:         3.14.15-100.fc19.i686.PAE
runlevel:       unknown
type:           Python
uid:            1000

Truncated backtrace:
vimeo.py:266:<genexpr>:ValueError: invalid literal for int() with base 10: 'base'

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/bin/youtube-dl/__main__.py", line 18, in <module>
    youtube_dl.main()
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 889, in main
    _real_main(argv)
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 879, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1052, in download
    self.extract_info(url)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 527, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 571, in process_ie_result
    extra_info=extra_info)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 169, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/vimeo.py", line 266, in _real_extract
    _, video_thumbnail = sorted((int(width), t_url) for (width, t_url) in video_thumbs.items())[-1]
  File "/usr/bin/youtube-dl/youtube_dl/extractor/vimeo.py", line 266, in <genexpr>
    _, video_thumbnail = sorted((int(width), t_url) for (width, t_url) in video_thumbs.items())[-1]
ValueError: invalid literal for int() with base 10: 'base'

Local variables in innermost frame:
.0: <listiterator object at 0x8b7d10c>
width: u'base'
t_url: u'http://i.vimeocdn.com/video/483988416'

Potential duplicate: bug 1128438

Comment 1 Richard Z. 2014-08-17 12:21:06 UTC
Created attachment 927453 [details]
File: backtrace

Comment 2 Richard Z. 2014-08-17 12:21:08 UTC
Created attachment 927454 [details]
File: environ

Comment 3 Till Maas 2014-09-07 10:41:15 UTC

*** This bug has been marked as a duplicate of bug 1128438 ***