Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1337215 - [abrt] dnf: i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 355: 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 1332012
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:30c7f7a0fc0df1fff0a6ee41f68...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-18 14:00 UTC by vivek.hyperspace
Modified: 2016-05-23 11:20 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-23 11:20:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: _var_log_dnf.log (deleted)
2016-05-18 14:01 UTC, vivek.hyperspace
no flags Details
File: _var_tmp_dnf-vivek-q6zzd2bf_dnf.librepo.log (deleted)
2016-05-18 14:03 UTC, vivek.hyperspace
no flags Details
File: _var_tmp_dnf-vivek-q6zzd2bf_dnf.log (deleted)
2016-05-18 14:03 UTC, vivek.hyperspace
no flags Details
File: _var_tmp_dnf-vivek-q6zzd2bf_dnf.rpm.log (deleted)
2016-05-18 14:03 UTC, vivek.hyperspace
no flags Details
File: _var_tmp_dnf-vivek-q6zzd2bf_hawkey.log (deleted)
2016-05-18 14:03 UTC, vivek.hyperspace
no flags Details
File: backtrace (deleted)
2016-05-18 14:03 UTC, vivek.hyperspace
no flags Details
File: dnf-makecache.log (deleted)
2016-05-18 14:03 UTC, vivek.hyperspace
no flags Details
File: environ (deleted)
2016-05-18 14:03 UTC, vivek.hyperspace
no flags Details

Description vivek.hyperspace 2016-05-18 14:00:56 UTC
Version-Release number of selected component:
dnf-1.1.8-1.fc23

Additional info:
reporter:       libreport-2.6.4
cmdline:        /usr/bin/python3 /usr/bin/dnf repoquery -i capnproto
executable:     /usr/bin/dnf
kernel:         4.4.9-300.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

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

Traceback (most recent call last):
  File "/usr/bin/dnf", line 58, 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 1096, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python3.4/site-packages/dnf-plugins/repoquery.py", line 405, in run
    print(pkg)
  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 '\u2019' in position 355: ordinal not in range(128)

Local variables in innermost frame:
self: <dnf.i18n.UnicodeStream object at 0x7f0f84554748>
s: 'Name        : capnproto\nVersion     : 0.5.3\nRelease     : 2.fc23\nArchitecture: x86_64\nSize        : 251334\nLicense     : MIT\nSource RPM  : capnproto-0.5.3-2.fc23.src.rpm\nBuild Date  : 2016-04-28 17:20\nPackager    : Fedora Project\nURL         : https://capnproto.org\nSummary     : A data interchange format and capability-based RPC system\nDescription :\nCap’n Proto is an insanely fast data interchange format\nand capability-based RPC system. Think JSON, except binary.\nOr think Protocol Buffers, except faster. In fact, in benchmarks,\nCap’n Proto is INFINITY TIMES faster than Protocol Buffers.\n\nThis package contains the schema compiler and command-line\nencoder/decoder tools.\n'

Comment 1 vivek.hyperspace 2016-05-18 14:01:12 UTC
Created attachment 1158848 [details]
File: _var_log_dnf.log

Comment 2 vivek.hyperspace 2016-05-18 14:03:15 UTC
Created attachment 1158849 [details]
File: _var_tmp_dnf-vivek-q6zzd2bf_dnf.librepo.log

Comment 3 vivek.hyperspace 2016-05-18 14:03:29 UTC
Created attachment 1158850 [details]
File: _var_tmp_dnf-vivek-q6zzd2bf_dnf.log

Comment 4 vivek.hyperspace 2016-05-18 14:03:31 UTC
Created attachment 1158851 [details]
File: _var_tmp_dnf-vivek-q6zzd2bf_dnf.rpm.log

Comment 5 vivek.hyperspace 2016-05-18 14:03:50 UTC
Created attachment 1158852 [details]
File: _var_tmp_dnf-vivek-q6zzd2bf_hawkey.log

Comment 6 vivek.hyperspace 2016-05-18 14:03:52 UTC
Created attachment 1158853 [details]
File: backtrace

Comment 7 vivek.hyperspace 2016-05-18 14:03:55 UTC
Created attachment 1158854 [details]
File: dnf-makecache.log

Comment 8 vivek.hyperspace 2016-05-18 14:03:58 UTC
Created attachment 1158855 [details]
File: environ

Comment 9 Michal Luscon 2016-05-23 11:20:10 UTC

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


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