Bug 1095108
| Summary: | ImportError: No module named i18n for plugins | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Igor Gnatenko <ignatenko> |
| Component: | dnf-plugins-core | Assignee: | Ales Kozumplik <akozumpl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 20 | CC: | akozumpl, ignatenko, jzeleny, pnemade, rholy, tim.lauridsen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-05-09 10:12:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
There has been some changes in dnf and some plugins in dnf-plugins-core used non-public API. This is fixed in dnf-plugins-core-0.0.7, but it is only release in rawhide check this comment for install instruction https://bugzilla.redhat.com/show_bug.cgi?id=1094396#c1 Right, we'll need a new plugins build for f20 when 0.5.2 comes out. Thanks for the report. Ah, just realized this is a dupe. *** This bug has been marked as a duplicate of bug 1094396 *** |
Description of problem: Version-Release number of selected component (if applicable): dnf-0.5.1-1.fc20.noarch dnf-plugins-core-0.0.6-1.fc20.noarch How reproducible: 100% Steps to Reproduce: 1. any command with dnf Actual results: May 07 11:34:11 INFO --- logging initialized --- May 07 11:34:11 DEBUG Config time: 0.037 May 07 11:34:11 DEBUG cachedir: /var/cache/dnf/x86_64/20 May 07 11:34:11 ERROR Failed loading plugin: debuginfo-install May 07 11:34:11 SUBDEBUG Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 119, in import_modules module = importlib.import_module(name) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/usr/lib/python2.7/site-packages/dnf-plugins/debuginfo-install.py", line 25, in <module> from dnf.yum.i18n import _ ImportError: No module named i18n May 07 11:34:11 ERROR Failed loading plugin: kickstart May 07 11:34:11 SUBDEBUG Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 119, in import_modules module = importlib.import_module(name) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/usr/lib/python2.7/site-packages/dnf-plugins/kickstart.py", line 20, in <module> from dnf.yum.i18n import _ ImportError: No module named i18n May 07 11:34:11 ERROR Failed loading plugin: copr May 07 11:34:11 SUBDEBUG Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 119, in import_modules module = importlib.import_module(name) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/usr/lib/python2.7/site-packages/dnf-plugins/copr.py", line 25, in <module> from dnf.yum.i18n import _ ImportError: No module named i18n May 07 11:34:11 DEBUG Loaded plugins: noroot, generate_completion_cache, builddep May 07 11:34:11 DEBUG initialized Noroot plugin May 07 11:34:11 DEBUG initialized BuildDep plugin May 07 11:34:11 DEBUG dnf version: 0.5.1 May 07 11:34:11 SUBDEBUG Command: dnf copr search tests May 07 11:34:11 SUBDEBUG Installroot: / May 07 11:34:11 CRITICAL No such command: copr. Please use /bin/dnf --help May 07 11:34:11 DEBUG Cleaning up. Expected results: no trace. plugins loads OK Additional info: