Bug 1303447

Summary: [abrt] dnf: clean.py:85:_clean_filelist:TypeError: not all arguments converted during string formatting
Product: [Fedora] Fedora Reporter: mastaiza <mastaizawfm>
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: 23CC: debugger94, jsilhan, mdomonko, mluscon, packaging-team-maint, pnemade, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/361e53c2e58e633c40dedf0f879b06b6baaba0de
Whiteboard: abrt_hash:130877571e763cb84bcc53db24999cb1deb3a0e7;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-01 13:41:27 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: _var_log_dnf.log
none
File: backtrace
none
File: environ
none
File: dnf-makecache.log none

Description mastaiza 2016-01-31 19:16:23 UTC
Version-Release number of selected component:
dnf-1.1.6-1.fc23

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python3 /bin/dnf clean all
executable:     /bin/dnf
kernel:         4.3.3-303.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
clean.py:85:_clean_filelist:TypeError: not all arguments converted during string formatting

Traceback (most recent call last):
  File "/bin/dnf", line 57, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 174, in user_main
    errcode = main(args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 60, in main
    return _main(base, args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 112, in _main
    cli.run()
  File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 1095, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python3.4/site-packages/dnf/cli/commands/clean.py", line 230, in run
    return self.clean(extcmds)
  File "/usr/lib/python3.4/site-packages/dnf/cli/commands/clean.py", line 184, in clean
    pkgcode, pkgresults = _clean_packages(repos)
  File "/usr/lib/python3.4/site-packages/dnf/cli/commands/clean.py", line 114, in _clean_packages
    return _clean_files(repos, exts, 'pkgdir', 'package')
  File "/usr/lib/python3.4/site-packages/dnf/cli/commands/clean.py", line 98, in _clean_files
    return _clean_filelist(filetype, filelist)
  File "/usr/lib/python3.4/site-packages/dnf/cli/commands/clean.py", line 85, in _clean_filelist
    msg %= (removed, filetype)
TypeError: not all arguments converted during string formatting

Local variables in innermost frame:
removed: 0
filetype: 'package'
filelist: []
msg: ''

Comment 1 mastaiza 2016-01-31 19:16:32 UTC
Created attachment 1119920 [details]
File: _var_log_dnf.log

Comment 2 mastaiza 2016-01-31 19:16:33 UTC
Created attachment 1119921 [details]
File: backtrace

Comment 3 mastaiza 2016-01-31 19:16:35 UTC
Created attachment 1119922 [details]
File: environ

Comment 4 mastaiza 2016-01-31 19:17:35 UTC
Created attachment 1119923 [details]
File: dnf-makecache.log

Comment 5 Michal Domonkos 2016-02-01 13:41:27 UTC

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