Bug 1334746 - [abrt] dnf: clean.py:85:_clean_filelist:TypeError: not all arguments converted during string formatting
Summary: [abrt] dnf: clean.py:85:_clean_filelist:TypeError: not all arguments converte...
Keywords:
Status: CLOSED DUPLICATE of bug 1303293
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:130877571e763cb84bcc53db249...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-10 12:44 UTC by PastorDi
Modified: 2016-05-16 11:30 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-16 11:30:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: _var_log_dnf.log (2.81 KB, text/plain)
2016-05-10 12:44 UTC, PastorDi
no flags Details
File: backtrace (1.45 KB, text/plain)
2016-05-10 12:44 UTC, PastorDi
no flags Details
File: environ (2.88 KB, text/plain)
2016-05-10 12:44 UTC, PastorDi
no flags Details

Description PastorDi 2016-05-10 12:44:29 UTC
Description of problem:
dnf clean all

Version-Release number of selected component:
dnf-1.1.6-2.fc24

Additional info:
reporter:       libreport-2.7.0
cmdline:        /usr/bin/python3 /usr/bin/dnf clean all
dnf-makecache.log: -- No entries --
executable:     /usr/bin/dnf
kernel:         4.5.0-0.rc7.git0.2.fc24.x86_64
reproducible:   Not sure how to reproduce the problem
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 "/usr/bin/dnf", line 57, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 174, in user_main
    errcode = main(args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 60, in main
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 112, in _main
    cli.run()
  File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 1095, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python3.5/site-packages/dnf/cli/commands/clean.py", line 230, in run
    return self.clean(extcmds)
  File "/usr/lib/python3.5/site-packages/dnf/cli/commands/clean.py", line 184, in clean
    pkgcode, pkgresults = _clean_packages(repos)
  File "/usr/lib/python3.5/site-packages/dnf/cli/commands/clean.py", line 114, in _clean_packages
    return _clean_files(repos, exts, 'pkgdir', 'package')
  File "/usr/lib/python3.5/site-packages/dnf/cli/commands/clean.py", line 98, in _clean_files
    return _clean_filelist(filetype, filelist)
  File "/usr/lib/python3.5/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:
filelist: []
removed: 0
msg: ''
filetype: 'package'

Potential duplicate: bug 1303447

Comment 1 PastorDi 2016-05-10 12:44:35 UTC
Created attachment 1155757 [details]
File: _var_log_dnf.log

Comment 2 PastorDi 2016-05-10 12:44:37 UTC
Created attachment 1155758 [details]
File: backtrace

Comment 3 PastorDi 2016-05-10 12:44:38 UTC
Created attachment 1155759 [details]
File: environ

Comment 4 Igor Gnatenko 2016-05-16 11:30:00 UTC

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


Note You need to log in before you can comment on or make changes to this bug.