Bug 1279204
| Summary: | [abrt] dnf: i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode character '\u2014' in position 507: ordinal not in range(128) | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | aten <atenrok> | ||||||||||||||||
| Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||||||||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 23 | CC: | adarshse7, allan.herrera777, artem.goncharov, atenrok, detonadorx, jmracek, jsilhan, mastaizawfm, mchalupa, mluscon, packaging-team-maint, pnemade, svjs, tim, vmukhame | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/20d6f7a0542e49601ec3be05ae3659afa6c67c08 | ||||||||||||||||||
| Whiteboard: | abrt_hash:12add807492894db891e6c4e0819553feec3a83a;VARIANT_ID=workstation; | ||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2016-05-09 11:31:03 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: |
|
||||||||||||||||||
Created attachment 1091293 [details]
File: _var_log_dnf.log
Created attachment 1091294 [details]
File: _var_tmp_dnf-korneta-gnmxn1_dnf.rpm.log
Created attachment 1091295 [details]
File: backtrace
Created attachment 1091296 [details]
File: dnf-makecache.log
Created attachment 1091297 [details]
File: environ
Created attachment 1091298 [details]
File: _var_tmp_dnf-korneta-gnmxn1_dnf.log
Created attachment 1091299 [details]
File: _var_tmp_dnf-korneta-gnmxn1_hawkey.log
Please, what lang do you have? (echo $LANG) $ echo $LANG en_US.utf8 *** Bug 1285860 has been marked as a duplicate of this bug. *** Another user experienced a similar problem:
During the Fedy MS Fonts installer.
reporter: libreport-2.6.3
cmdline: /usr/bin/python3 -OO /usr/bin/dnf repoquery -i adobe-source-han-sans-tw-fonts
event_log: 2015-12-05-14:25:47> ('report_uReport' completed successfully)
executable: /usr/bin/dnf
kernel: 4.2.6-301.fc23.x86_64
package: dnf-1.1.4-2.fc23
reason: i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode character '\u2014' in position 507: ordinal not in range(128)
runlevel: N 5
type: Python3
uid: 1000
*** Bug 1320413 has been marked as a duplicate of this bug. *** *** Bug 1317245 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 1332012 *** |
Version-Release number of selected component: dnf-1.1.3-1.fc23 Additional info: reporter: libreport-2.6.3 cmdline: /usr/bin/python3 -OO /usr/bin/dnf repoquery -i adobe-source-han-sans-tw-fonts executable: /usr/bin/dnf kernel: 4.2.5-300.fc23.x86_64 runlevel: N 5 type: Python3 uid: 1001 Truncated backtrace: i18n.py:44:write:UnicodeEncodeError: 'ascii' codec can't encode character '\u2014' in position 507: ordinal not in range(128) Traceback (most recent call last): File "/usr/bin/dnf", line 35, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 198, in user_main errcode = main(args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 84, in main return _main(base, args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 136, 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-plugins/repoquery.py", line 399, 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 '\u2014' in position 507: ordinal not in range(128) Local variables in innermost frame: s: 'Name : adobe-source-han-sans-tw-fonts\nVersion : 1.004\nRelease : 1.fc23\nArchitecture: noarch\nSize : 30264728\nLicense : OFL\nSource RPM : adobe-source-han-sans-tw-fonts-1.004-1.fc23.src.rpm\nBuild Date : 2015-08-07 03:34\nPackager : Fedora Project\nURL : https://github.com/adobe-fonts/source-han-sans/\nSummary : Adobe OpenType Pan-CJK font family for Traditional Chinese\nDescription :\nSource Han Sans is a sans serif Pan-CJK font family\nthat is offered in seven weights—ExtraLight, Light,\nNormal, Regular, Medium, Bold, and Heavy—and\nin several OpenType/CFF-based deployment configurations\nto accommodate various system requirements or limitations.\n\nAs the name suggests, Pan-CJK fonts are intended to\nsupport the characters necessary to render or\ndisplay text in Simplified Chinese, Traditional Chinese,\nJapanese, and Korean.\n' self: <dnf.i18n.UnicodeStream object at 0x7fbc8410ab38>