Bug 1294305

Summary: Unicode Encode Error on dnf info for adobe OpenType Pan-CJK font package
Product: [Fedora] Fedora Reporter: Peter Jennings <gosbear>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: jmracek, jsilhan, mluscon, packaging-team-maint, pnemade, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-04 13:07:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Python3 exception stack trace none

Description Peter Jennings 2015-12-26 17:43:35 UTC
Created attachment 1109690 [details]
Python3 exception stack trace

Description of problem: dnf info throws an exception when it attempts to provide the "Description :" for adobe-source-han-sans-cn-fonts (Adobe OpenType Pan-CJK font family for Simplified Chinese) package


Version-Release number of selected component (if applicable): 
dnf --version
1.1.5
  Installed: dnf-0:1.1.5-1.fc23.noarch at 2015-12-23 02:38
  Built    : Fedora Project at 2015-12-18 17:24

  Installed: rpm-0:4.13.0-0.rc1.7.fc23.x86_64 at 2015-11-23 23:02
  Built    : Fedora Project at 2015-11-20 13:08



How reproducible: always 


Steps to Reproduce:
1. install adobe-source-han-sans-cn-fonts
2. dnf info
3.

Actual results:
Python exception

UnicodeEncodeError: 'latin-1' codec can't encode character '\u2014' in position 112: ordinal not in range(256)

Expected results:
Description of package


Additional info:
This error occurred with zh_CN Language Pack installed and also with python3-dnf-langpacks installed

Comment 1 Jaroslav Mracek 2016-01-04 13:07:33 UTC

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