Bug 1117678

Summary: [py3] proper binary for python3-dnf
Product: [Fedora] Fedora Reporter: Jiří Martínek <jirinek>
Component: dnfAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: akozumpl, jirinek, jzeleny, pnemade, rholy, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c228ccd45b59759258411b620eb011447714538e
Whiteboard: abrt_hash:4aa9e4ee7ac07cf0da0e8a3fec23c40062dff3a7
Fixed In Version: hawkey-0.4.18-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-19 06:03:17 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 Jiří Martínek 2014-07-09 08:06:11 UTC
Description of problem:
I just ran # dnf upgrade and this happened

Version-Release number of selected component:
python3-dnf-0.5.3-1.fc20

Additional info:
reporter:       libreport-2.2.2
cmdline:        /usr/bin/python -OO /bin/dnf upgrade
executable:     /bin/dnf
kernel:         3.14.9-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
dnf:35:<module>:ImportError: No module named dnf.cli

Traceback (most recent call last):
  File "/bin/dnf", line 35, in <module>
    from dnf.cli import main
ImportError: No module named dnf.cli

Local variables in innermost frame:
__builtins__: <module '__builtin__' (built-in)>
__file__: '/bin/dnf'
here: '/usr/bin'
__package__: None
sys: <module 'sys' (built-in)>
unicode_literals: _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 131072)
__name__: '__main__'
os: <module 'os' from '/usr/lib64/python2.7/os.pyo'>
__doc__: None

Comment 1 Jiří Martínek 2014-07-09 08:06:14 UTC
Created attachment 916663 [details]
File: backtrace

Comment 2 Jiří Martínek 2014-07-09 08:06:15 UTC
Created attachment 916664 [details]
File: environ

Comment 3 Ales Kozumplik 2014-07-09 09:14:12 UTC
Will you please run:

$ rpm -q dnf python3-dnf
$ rpm -ql dnf
$ python -c 'import dnf.cli'

and report the output? Thanks!

Comment 4 Jiří Martínek 2014-07-09 17:35:59 UTC
$  rpm -q dnf python3-dnf
balíček dnf není nainstalován
python3-dnf-0.5.3-1.fc20.noarch
$ rpm -ql dnf
balíček dnf není nainstalován
$ python -c 'import dnf.cli'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named dnf.cli

Comment 5 Ales Kozumplik 2014-07-10 06:29:48 UTC
Thank you, I see what's going on now. We will fix this.

Comment 6 Ales Kozumplik 2014-07-16 07:05:55 UTC
Fixed by 41bbf95.

Comment 7 Fedora Update System 2014-07-17 06:42:45 UTC
hawkey-0.4.18-2.fc20, dnf-0.5.4-1.fc20, libsolv-0.6.4-0.git2a5c1c4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/hawkey-0.4.18-2.fc20,dnf-0.5.4-1.fc20,libsolv-0.6.4-0.git2a5c1c4.fc20

Comment 8 Fedora Update System 2014-07-19 06:03:17 UTC
hawkey-0.4.18-2.fc20, dnf-0.5.4-1.fc20, libsolv-0.6.4-0.git2a5c1c4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.