Bug 1294004 - [abrt] dnf: i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode character '\xf6' in position 50: ordinal not in range(128)
Summary: [abrt] dnf: i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode c...
Keywords:
Status: CLOSED DUPLICATE of bug 1295090
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 23
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:819e0cfbedee8095c6dfa8507e3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-24 01:36 UTC by Andrej Podzimek
Modified: 2016-01-04 12:58 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-04 12:58:04 UTC
Type: ---


Attachments (Terms of Use)
File: _var_log_dnf.log (2.07 MB, text/plain)
2015-12-24 01:37 UTC, Andrej Podzimek
no flags Details
File: backtrace (1.37 KB, text/plain)
2015-12-24 01:37 UTC, Andrej Podzimek
no flags Details
File: dnf-makecache.log (7.15 KB, text/plain)
2015-12-24 01:37 UTC, Andrej Podzimek
no flags Details
File: environ (3.16 KB, text/plain)
2015-12-24 01:37 UTC, Andrej Podzimek
no flags Details

Description Andrej Podzimek 2015-12-24 01:36:53 UTC
Version-Release number of selected component:
dnf-1.1.4-2.fc23

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python3 -OO /usr/bin/dnf search at
executable:     /usr/bin/dnf
kernel:         4.2.6-301.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            1001

Truncated backtrace:
i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode character '\xf6' in position 50: 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 1091, 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 '\xf6' in position 50: ordinal not in range(128)

Local variables in innermost frame:
self: <dnf.i18n.UnicodeStream object at 0x7f84555c0cc0>
s: "schroedinger-c\x1b[1mat\x1b(B\x1b[m-kde-theme.noarch : Schrödinger's C\x1b[1mat\x1b(B\x1b[m KDE Theme"

Comment 1 Andrej Podzimek 2015-12-24 01:37:08 UTC
Created attachment 1109066 [details]
File: _var_log_dnf.log

Comment 2 Andrej Podzimek 2015-12-24 01:37:10 UTC
Created attachment 1109067 [details]
File: backtrace

Comment 3 Andrej Podzimek 2015-12-24 01:37:11 UTC
Created attachment 1109068 [details]
File: dnf-makecache.log

Comment 4 Andrej Podzimek 2015-12-24 01:37:13 UTC
Created attachment 1109069 [details]
File: environ

Comment 5 Honza Silhan 2016-01-04 12:58:04 UTC

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


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