Bug 1079290

Summary: [abrt] dnf: exceptions.py:84:errmap2str:TypeError: '_DownloadErrors' object is not iterable
Product: [Fedora] Fedora Reporter: Elad Alfassa <elad>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akozumpl, ilmostro7, packaging-team-maint, pnemade, rholy
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/71b1b6bbcc62ecb894c76714ac130f452f9cf03f
Whiteboard: abrt_hash:adf503e6de1eed75e3bac451a24e050a945e25fd
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-21 12:58:54 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 Elad Alfassa 2014-03-21 11:16:04 UTC
Description of problem:
dnf update

Version-Release number of selected component:
dnf-0.4.18-1.fc21

Additional info:
reporter:       libreport-2.2.0
cmdline:        /usr/bin/python /bin/dnf update -x kernel*
executable:     /bin/dnf
kernel:         3.14.0-0.rc7.git0.1.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
exceptions.py:84:errmap2str:TypeError: '_DownloadErrors' object is not iterable

Traceback (most recent call last):
  File "/bin/dnf", line 35, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 242, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 64, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 156, in _main
    return_code, resultmsgs = base.do_transaction()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 215, in do_transaction
    specific = dnf.cli.format.indent_block(str(e))
  File "/usr/lib/python2.7/site-packages/dnf/exceptions.py", line 91, in __str__
    return self.errmap2str(self.errmap)
  File "/usr/lib/python2.7/site-packages/dnf/exceptions.py", line 84, in errmap2str
    for key in errmap:
TypeError: '_DownloadErrors' object is not iterable

Local variables in innermost frame:
errmap: <dnf.repo._DownloadErrors object at 0x7fb2fa03c190>
errstrings: []

Comment 1 Elad Alfassa 2014-03-21 11:16:14 UTC
Created attachment 877230 [details]
File: backtrace

Comment 2 Elad Alfassa 2014-03-21 11:16:18 UTC
Created attachment 877231 [details]
File: environ

Comment 3 Ales Kozumplik 2014-03-21 12:58:54 UTC
Hi Elad this has been reported earlier today in bug 1078832.

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