Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#29273 - pychess
Attached to Project:
Community Packages
Opened by Martin Kühne (mar77i) - Wednesday, 04 April 2012, 12:24 GMT
Last edited by Allan McRae (Allan) - Wednesday, 04 April 2012, 13:25 GMT
Opened by Martin Kühne (mar77i) - Wednesday, 04 April 2012, 12:24 GMT
Last edited by Allan McRae (Allan) - Wednesday, 04 April 2012, 13:25 GMT
|
DetailsDescription:
after I already wrote an e-mail to the developer, I found out that the bug actually occurs because we sed the source to correct the binary's name, which breaks here with this message: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pychess/widgets/gamenanny.py", line 113, in cb createRematch(gamemodel) File "/usr/lib/python2.7/site-packages/pychess/widgets/newGameDialog.py", line 566, in createRematch xmlengine = discoverer.getEngines()[binname] KeyError: 'python2' Additional info: pychess-0.10.1-1 Steps to reproduce: play a chess game in pychess or "Offer Draw" (in "Actions" menu) and try clicking one of the buttons in the yellow panel that appears if you either "offer draw" or finish a game. Also, I have appended a patch which solves the problem elegantly. The code is written for unix only (not using os.path.* but literal string + "/" + concatenations) and has other similar flaws, which just happen to work here. Will report back if I find other bugs like this. |
This task depends upon
Closed by Allan McRae (Allan)
Wednesday, 04 April 2012, 13:25 GMT
Reason for closing: Fixed
Additional comments about closing: pychess-0.10.1-2
Wednesday, 04 April 2012, 13:25 GMT
Reason for closing: Fixed
Additional comments about closing: pychess-0.10.1-2
Comment by Allan McRae (Allan) -
Wednesday, 04 April 2012, 13:25 GMT
That patch could cause issues... Fixed differently.
binname.patch