Red Hat Bugzilla – Bug 1317191
[abrt] dnf: i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode character '\u201c' in position 658: ordinal not in range(128)
Last modified: 2016-08-01 06:50:35 EDT
Description of problem:
Version-Release number of selected component:
cmdline: /usr/bin/python3 /usr/bin/dnf repoquery -i freedoom2
runlevel: N 5
i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode character '\u201c' in position 658: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/bin/dnf", line 57, in <module>
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
File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 1095, in run
File "/usr/lib/python3.4/site-packages/dnf-plugins/repoquery.py", line 405, in run
File "/usr/lib/python3.4/site-packages/dnf/i18n.py", line 44, in write
UnicodeEncodeError: 'ascii' codec can't encode character '\u201c' in position 658: ordinal not in range(128)
Local variables in innermost frame:
s: 'Name : freedoom2\nVersion : 0.10.1\nRelease : 1.fc23\nArchitecture: noarch\nSize : 8474358\nLicense : BSD\nSource RPM : freedoom-0.10.1-1.fc23.src.rpm\nBuild Date : 2016-01-29 15:46\nPackager : Fedora Project\nURL : https://freedoom.github.io/\nSummary : Doom2 styled first person shooter game\nDescription :\nFreedoom: Phase 2 is a Doom2 styled first person shooter game using the\nDoom engine. Freedoom: Phase 2 has 32 levels in one long chapter,\nfeaturing extra monsters and a double-barrelled shotgun.\n\nThere is a massive back catalog, spanning over two decades, containing\nthousands of Doom levels and other modifications (“mods”) made by fans\nof the original Doom game. Freedoom aims to be compatible with these and\nallows most to be played without the original Doom datafiles.\nFreedoom: Phase 2 aims for compatibility with Doom II and Final Doom.\n'
self: <dnf.i18n.UnicodeStream object at 0x7fb707528240>
Created attachment 1135701 [details]
Created attachment 1135702 [details]
Created attachment 1135703 [details]
Created attachment 1135704 [details]
Craig, can you provide the link to that rpm package, please? Can you query that package via `rpm -q`?
Thanks. We'll take a look. Giving this low priority as this is not official package from Fedora repo and could be built by strange ways.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
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.
*** This bug has been marked as a duplicate of bug 1295090 ***