Bug 1191107 - [abrt] ttname: cli.py:188:read:UnicodeEncodeError: 'ascii' codec can't encode character u'\xa9' in position 10: 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:90def7e4bb82b145043347bf52a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-10 13:24 UTC by Carlos Morel-Riquelme
Modified: 2015-11-04 14:41 UTC (History)
2 users (show)

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


Attachments (Terms of Use)
File: backtrace (800 bytes, text/plain)
2015-02-10 13:24 UTC, Carlos Morel-Riquelme
no flags Details
File: environ (3.33 KB, text/plain)
2015-02-10 13:24 UTC, Carlos Morel-Riquelme
no flags Details

Description Carlos Morel-Riquelme 2015-02-10 13:24:08 UTC
Description of problem:
This error appear when i check foo.otf with ttname foo.otf

terminal output:

[empateinfinito@localhost cinzel-bold]$ ttname Cinzel-Regular.otf
Traceback (most recent call last):
  File "/usr/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'\xa9' in position 10: ordinal not in range(128)
[empateinfinito@localhost cinzel-bold]$ 

The fonts is here:
http://openfontlibrary.org/en/font/cinzel-bold

ttname version:
ttname-1-3.fc21.noarch

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

Additional info:
reporter:       libreport-2.3.0
cmdline:        /usr/bin/python /usr/bin/ttname Cinzel-Regular.otf
executable:     /usr/bin/ttname
kernel:         3.19.0-0.rc7.git3.1.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

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

Traceback (most recent call last):
  File "/usr/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'\xa9' in position 10: ordinal not in range(128)

Local variables in innermost frame:
self: <ttname.cli.TTNameCLI object at 0x7f10c3328110>
names: <generator object getSection at 0x7f10c32f8820>
n: <ttname.table.TTNameRecord object at 0x7f10c2d4e590>

Comment 1 Carlos Morel-Riquelme 2015-02-10 13:24:11 UTC
Created attachment 990091 [details]
File: backtrace

Comment 2 Carlos Morel-Riquelme 2015-02-10 13:24:12 UTC
Created attachment 990092 [details]
File: environ

Comment 3 Fedora End Of Life 2015-11-04 13:42: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.

Comment 4 Nils Philippsen 2015-11-04 14:41:16 UTC

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


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