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 1138703 - [abrt] ttname: cli.py:188:read:UnicodeEncodeError: 'ascii' codec can't encode character u'\u2122' in position 132: ordinal not in range(128)
Summary: [abrt] ttname: cli.py:188:read:UnicodeEncodeError: 'ascii' codec can't encode...
Keywords:
Status: CLOSED DUPLICATE of bug 1052342
Alias: None
Product: Fedora
Classification: Fedora
Component: ttname
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:64d8b45236c1629c48c2f9f68f6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-05 13:28 UTC by Parag Nemade
Modified: 2015-11-04 15:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-04 14:41:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (802 bytes, text/plain)
2014-09-05 13:28 UTC, Parag Nemade
no flags Details
File: environ (3.44 KB, text/plain)
2014-09-05 13:28 UTC, Parag Nemade
no flags Details

Description Parag Nemade 2014-09-05 13:28:12 UTC
Description of problem:
I think this happens with any font. Just run "ttname anyfont.ttf" and you will get backtrace.

Version-Release number of selected component:
ttname-1-3.fc21

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /bin/ttname rpms-unpacked/google-croscore-cousine-fonts-1.23.0-5.fc21.noarch.rpm/usr/share/fonts/google-croscore/Cousine-Italic.ttf
executable:     /bin/ttname
kernel:         3.16.1-301.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
cli.py:188:read:UnicodeEncodeError: 'ascii' codec can't encode character u'\u2122' in position 132: ordinal not in range(128)

Traceback (most recent call last):
  File "/bin/ttname", line 9, in <module>
    load_entry_point('ttname==1', 'console_scripts', 'ttname')()
  File "/usr/lib/python2.7/site-packages/ttname/cli.py", line 48, in __init__
    self.read()
  File "/usr/lib/python2.7/site-packages/ttname/cli.py", line 188, in read
    print '{0}: {1}'.format(info.name(n), n.string)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2122' in position 132: ordinal not in range(128)

Local variables in innermost frame:
self: <ttname.cli.TTNameCLI object at 0x7f0887b4dd50>
names: <generator object getSection at 0x7f0887b81fa0>
n: <ttname.table.TTNameRecord object at 0x7f088757f150>

Comment 1 Parag Nemade 2014-09-05 13:28:16 UTC
Created attachment 934777 [details]
File: backtrace

Comment 2 Parag Nemade 2014-09-05 13:28:19 UTC
Created attachment 934778 [details]
File: environ

Comment 3 Nils Philippsen 2015-11-04 14:41:14 UTC

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

Comment 4 Fedora End Of Life 2015-11-04 15:11:02 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


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