Bug 1385398

Summary: [abrt] pychess: PyChess.py:41:print:UnicodeEncodeError: 'ascii' codec can't encode character u'\u265c' in position 16: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Olivier de SEDE <olivier.sede>
Component: pychessAssignee: Bruno Wolff III <bruno>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: bruno, neil
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c6d5bc43cfef412129101ba516bd81116d1817f1
Whiteboard: abrt_hash:06fa6a69fdd8beb31950d5e3d3ec4ff485c1bd8b;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-08 19:27:15 UTC Type: ---
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
File: backtrace
none
File: environ none

Description Olivier de SEDE 2016-10-16 20:16:31 UTC
Description of problem:
Fair closed after the end of an Internet game

Version-Release number of selected component:
pychess-0.12.4-5.fc24

Additional info:
reporter:       libreport-2.7.2
cmdline:        /usr/bin/python -u /usr/lib/python2.7/site-packages/pychess/Players/PyChess.py
executable:     /usr/lib/python2.7/site-packages/pychess/Players/PyChess.py
kernel:         4.7.7-200.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
PyChess.py:41:print:UnicodeEncodeError: 'ascii' codec can't encode character u'\u265c' in position 16: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pychess/Players/PyChess.py", line 210, in <module>
    pychess.run()
  File "/usr/lib/python2.7/site-packages/pychess/Players/../../pychess/Players/PyChessCECP.py", line 249, in run
    self.print(self.board.prepr(ascii=ASCII))
  File "/usr/lib/python2.7/site-packages/pychess/Players/../../pychess/Players/PyChess.py", line 41, in print
    print(text)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u265c' in position 16: ordinal not in range(128)

Local variables in innermost frame:
text: u'#Black KQkq -\n# \u265c \u265e \u265d \u265b \u265a \u265d \u265e \u265c \n# \u265f \u265f \u265f \u265f \u265f \u265f \u265f \u265f \n# . . . . . . . . \n# . . . . . . . . \n# . . . . . . . . \n# . . . . . . . . \n# \u2659 \u2659 \u2659 \u2659 \u2659 \u2659 \u2659 \u2659 \n# \u2656 \u2658 \u2657 \u2655 \u2654 \u2657 \u2658 \u2656 \n# '
self: <pychess.Players.PyChessCECP.PyChessCECP object at 0x7fead163a5d0>

Comment 1 Olivier de SEDE 2016-10-16 20:16:37 UTC
Created attachment 1211117 [details]
File: backtrace

Comment 2 Olivier de SEDE 2016-10-16 20:16:38 UTC
Created attachment 1211118 [details]
File: environ

Comment 3 Fedora End Of Life 2017-07-25 23:30:26 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. 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 '24'.

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 24 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 Fedora End Of Life 2017-08-08 19:27:15 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.