[Bug 1121694] New: youtube-dl requires python-xml, but there is no proper dependency
http://bugzilla.suse.com/show_bug.cgi?id=1121694 Bug ID: 1121694 Summary: youtube-dl requires python-xml, but there is no proper dependency Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: gp@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- 1. Install youtube-dl: % zypper in youtube-dl Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: youtube-dl 1 new package to install. Retrieving package youtube-dl-2019.01.10-1.1.noarch Retrieving: youtube-dl-2019.01.10-1.1.noarch.rpm Checking for file conflicts: (1/1) Installing: youtube-dl-2019.01.10-1.1.noarch ... 2. Try to use it, and see it fail: % youtube-dl -h Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/bin/youtube-dl/__main__.py", line 16, in <module> File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 15, in <module> File "/usr/bin/youtube-dl/youtube_dl/options.py", line 8, in <module> File "/usr/bin/youtube-dl/youtube_dl/downloader/__init__.py", line 3, in <module> File "/usr/bin/youtube-dl/youtube_dl/downloader/common.py", line 9, in <module> File "/usr/bin/youtube-dl/youtube_dl/compat.py", line 22, in <module> ImportError: No module named xml.etree.ElementTree 3. Debug a little, and install python-xml as well: % zypper in python-xml Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: python-xml 1 new package to install. Retrieving package python-xml-2.7.15-4.1.x86_64 Retrieving: python-xml-2.7.15-4.1.x86_64.rpm Checking for file conflicts: (1/1) Installing: python-xml-2.7.15-4.1.x86_64 ... 4. Try again, and see it work: % youtube-dl --version 2019.01.10 Now try to remove python-xml which is essential, and notice there is no warning/error regarding youtuble-dl. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1121694
http://bugzilla.suse.com/show_bug.cgi?id=1121694#c1
--- Comment #1 from Gerald Pfeifer
http://bugzilla.suse.com/show_bug.cgi?id=1121694
http://bugzilla.suse.com/show_bug.cgi?id=1121694#c4
--- Comment #4 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1121694
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1121694
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1121694
http://bugzilla.suse.com/show_bug.cgi?id=1121694#c5
--- Comment #5 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1121694
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1121694
http://bugzilla.suse.com/show_bug.cgi?id=1121694#c6
--- Comment #6 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com