Bug 1094301 - [abrt] dnf: output.py:1089:matchcallback:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 18: ordinal not in range(128)
Summary: [abrt] dnf: output.py:1089:matchcallback:UnicodeDecodeError: 'ascii' codec ca...
Keywords:
Status: CLOSED DUPLICATE of bug 1093887
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 20
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:ebc0255d9d0b3bafabc4c651bc6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-05 12:58 UTC by Krzesimir Nowak
Modified: 2014-05-21 09:57 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-06 05:00:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.49 KB, text/plain)
2014-05-05 12:58 UTC, Krzesimir Nowak
no flags Details
File: environ (2.23 KB, text/plain)
2014-05-05 12:58 UTC, Krzesimir Nowak
no flags Details

Description Krzesimir Nowak 2014-05-05 12:58:45 UTC
Description of problem:
Reproducible by calling one of the following:
dnf search exim
dnf search perl

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

Additional info:
reporter:       libreport-2.2.2
cmdline:        /usr/bin/python /bin/dnf search perl template
executable:     /bin/dnf
kernel:         3.14.2-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
output.py:1089:matchcallback:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 18: ordinal not in range(128)

Traceback (most recent call last):
  File "/bin/dnf", line 36, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 206, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 82, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 132, in _main
    cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1164, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python2.7/site-packages/dnf/cli/commands/__init__.py", line 515, in run
    return self.cli.search(extcmds)
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1225, in search
    args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 1089, in matchcallback
    msg = self.fmtKeyValFill(msg, unicode(po.summary) or "")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 18: ordinal not in range(128)

Local variables in innermost frame:
matchfor: ['perl', 'template']
verbose: None
self: <dnf.cli.output.Output object at 0x7f17f1210d50>
values: set(['perl-Devel-PatchPerl', "Patch perl source \xc3\xa0 la Devel::PPPort's buildperl.pl"])
msg: u'perl-Devel-PatchPerl.noarch : '
highlight: None
po: <hawkey.Package object id 27723, perl-Devel-PatchPerl-1.00-1.fc20.noarch, fedora>

Comment 1 Krzesimir Nowak 2014-05-05 12:58:50 UTC
Created attachment 892529 [details]
File: backtrace

Comment 2 Krzesimir Nowak 2014-05-05 12:58:52 UTC
Created attachment 892530 [details]
File: environ

Comment 3 Parag Nemade 2014-05-05 15:05:23 UTC
I too tested new update in f20 and found this bug exists.

Comment 4 Parag Nemade 2014-05-05 16:24:15 UTC
another observation if I just execute
dnf search perl 
or
dnf search python

then something is truncating summary of packages and then above traceback.

But if I execute following no traceback and summary displayed fully.
dnf search haskell
or
dnf search gtk3

Comment 5 Ales Kozumplik 2014-05-06 05:00:18 UTC
Thanks for reporting, looks like a duplicate of bug 1093887.

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


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