Bug 1295090

Summary: [abrt] dnf: i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode character '\xe6' in position 54: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Artem <artem.goncharov>
Component: dnfAssignee: rpm-software-management
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: allan.poulsen, andrej, cfarless45, detonadorx, gosbear, jiri.nytra, jsilhan, mluscon, oleg, packaging-team-maint, pnemade, sct, sheepdestroyer, srrosten, ssmetana, vitaliic, vmukhame
Target Milestone: ---Keywords: EasyFix, i18n, Reopened, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/6e0ab2533ce7adc877831910334b4a43cc65781d
Whiteboard: abrt_hash:eacc40a61cf7f4e9a8faeb8f32001207b23c7c65;
Fixed In Version: dnf-1.1.10-1.fc24 dnf-1.1.10-1.fc23 dnf-1.1.10-1.fc25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-19 19:51:41 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: _var_tmp_dnf-gtema-ajIf1w_dnf.librepo.log
none
File: _var_tmp_dnf-gtema-ajIf1w_dnf.log
none
File: _var_tmp_dnf-gtema-ajIf1w_dnf.rpm.log
none
File: _var_tmp_dnf-gtema-ajIf1w_hawkey.log
none
File: backtrace
none
File: dnf-makecache.log
none
File: environ none

Description Artem 2016-01-02 10:16:49 UTC
Description of problem:
'dnf search git'

Version-Release number of selected component:
dnf-1.1.5-1.fc23

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python3 /usr/bin/dnf search git
executable:     /usr/bin/dnf
kernel:         4.2.8-300.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode character '\xe6' in position 54: ordinal not in range(128)

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.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/search.py", line 106, in run
    return self._search(extcmds)
  File "/usr/lib/python3.4/site-packages/dnf/cli/commands/search.py", line 81, in _search
    args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/output.py", line 784, in matchcallback
    print(msg)
  File "/usr/lib/python3.4/site-packages/dnf/i18n.py", line 44, in write
    self.stream.write(s)
UnicodeEncodeError: 'ascii' codec can't encode character '\xe6' in position 54: ordinal not in range(128)

Local variables in innermost frame:
s: '\x1b[1mgit\x1b(B\x1b[m-daemon.x86_64 : \x1b[1mGit\x1b(B\x1b[m protocol dæmon'
self: <dnf.i18n.UnicodeStream object at 0x7fd4c7e52fd0>

Comment 1 Artem 2016-01-02 10:16:57 UTC
Created attachment 1110993 [details]
File: _var_log_dnf.log

Comment 2 Artem 2016-01-02 10:17:11 UTC
Created attachment 1110994 [details]
File: _var_tmp_dnf-gtema-ajIf1w_dnf.librepo.log

Comment 3 Artem 2016-01-02 10:17:13 UTC
Created attachment 1110995 [details]
File: _var_tmp_dnf-gtema-ajIf1w_dnf.log

Comment 4 Artem 2016-01-02 10:17:15 UTC
Created attachment 1110996 [details]
File: _var_tmp_dnf-gtema-ajIf1w_dnf.rpm.log

Comment 5 Artem 2016-01-02 10:17:17 UTC
Created attachment 1110997 [details]
File: _var_tmp_dnf-gtema-ajIf1w_hawkey.log

Comment 6 Artem 2016-01-02 10:17:18 UTC
Created attachment 1110998 [details]
File: backtrace

Comment 7 Artem 2016-01-02 10:17:21 UTC
Created attachment 1110999 [details]
File: dnf-makecache.log

Comment 8 Artem 2016-01-02 10:17:23 UTC
Created attachment 1111000 [details]
File: environ

Comment 9 Honza Silhan 2016-01-04 12:32:39 UTC
Thanks for the report. we'll take a look.

Comment 10 Honza Silhan 2016-01-04 12:57:20 UTC
*** Bug 1294514 has been marked as a duplicate of this bug. ***

Comment 11 Jaroslav Mracek 2016-01-04 12:57:35 UTC
*** Bug 1294656 has been marked as a duplicate of this bug. ***

Comment 12 Honza Silhan 2016-01-04 12:57:52 UTC
*** Bug 1294005 has been marked as a duplicate of this bug. ***

Comment 13 Honza Silhan 2016-01-04 12:58:04 UTC
*** Bug 1294004 has been marked as a duplicate of this bug. ***

Comment 14 Jaroslav Mracek 2016-01-04 13:07:33 UTC
*** Bug 1294305 has been marked as a duplicate of this bug. ***

Comment 15 Fedora Admin XMLRPC Client 2016-07-08 09:33:48 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 16 Štěpán Smetana 2016-08-01 08:50:13 UTC
Works for me.
Should be fixed in dnf-1.1.9 (Take a look at this commit https://github.com/rpm-software-management/dnf/commit/93159e360f0b6150e598bba783e22ca113201a40)
In case reopen this bug.
Thanks

Comment 17 Štěpán Smetana 2016-08-01 10:03:15 UTC
*** Bug 1322294 has been marked as a duplicate of this bug. ***

Comment 18 Štěpán Smetana 2016-08-01 10:19:02 UTC
*** Bug 1329877 has been marked as a duplicate of this bug. ***

Comment 19 Štěpán Smetana 2016-08-01 10:23:30 UTC
*** Bug 1273844 has been marked as a duplicate of this bug. ***

Comment 20 Štěpán Smetana 2016-08-01 10:25:30 UTC
*** Bug 1294903 has been marked as a duplicate of this bug. ***

Comment 21 Štěpán Smetana 2016-08-01 10:50:35 UTC
*** Bug 1317191 has been marked as a duplicate of this bug. ***

Comment 22 Štěpán Smetana 2016-08-01 11:01:21 UTC
*** Bug 1323453 has been marked as a duplicate of this bug. ***

Comment 23 Štěpán Smetana 2016-08-01 12:41:39 UTC
*** Bug 1279356 has been marked as a duplicate of this bug. ***

Comment 24 Štěpán Smetana 2016-08-01 12:44:12 UTC
*** Bug 1302190 has been marked as a duplicate of this bug. ***

Comment 25 Fedora Update System 2016-08-18 15:19:24 UTC
dnf-1.1.10-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-267f843cda

Comment 26 Fedora Update System 2016-08-18 15:20:38 UTC
dnf-1.1.10-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8caa619a9e

Comment 27 Fedora Update System 2016-08-18 15:21:41 UTC
dnf-1.1.10-1.fc24 dnf-plugins-core-0.1.21-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-878284e0d3

Comment 28 Fedora Update System 2016-08-18 16:52:52 UTC
dnf-1.1.10-1.fc25, dnf-plugins-core-0.1.21-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8caa619a9e

Comment 29 Fedora Update System 2016-08-19 00:22:38 UTC
dnf-1.1.10-1.fc23, dnf-plugins-core-0.1.21-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-267f843cda

Comment 30 Fedora Update System 2016-08-19 00:57:51 UTC
dnf-1.1.10-1.fc24, dnf-plugins-core-0.1.21-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-878284e0d3

Comment 31 Fedora Update System 2016-08-19 19:50:44 UTC
dnf-1.1.10-1.fc24, dnf-plugins-core-0.1.21-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 32 Fedora Update System 2016-08-23 15:19:51 UTC
dnf-1.1.10-1.fc23, dnf-plugins-core-0.1.21-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 33 Fedora Update System 2016-08-27 10:20:53 UTC
dnf-1.1.10-1.fc25, dnf-plugins-core-0.1.21-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.