fowode / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

PyChess fails on start due to an improper theme name #736

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I recently updated the source to the latest (r2290:f642d5c219d4).  The theme I 
was using, 'cases', was renamed to 'tty-Cases'.  But since my config file 
(~/.config/pychess/config) still says 'piecetheme = cases', get_svg_pieces() 
raises some unknown error on start.

The problem can be fixed by manually changing the theme name in the config 
file.  But to a normal user, this seems unacceptable.

Maybe we should fallback to a default theme if get_svg_pieces() fails to get 
whatever specified in the config file?

Original issue reported on code.google.com by liling on 1 Nov 2012 at 2:33

GoogleCodeExporter commented 9 years ago
You are right. I will add the fallback to default. Thx. for the report!

Original comment by gbtami on 4 Nov 2012 at 6:15

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 780e20e73d63.

Original comment by gbtami on 4 Nov 2012 at 6:16