fowode / pychess

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

Engines list "Command" field is sometimes not retained properly #779

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. (optional) Remove ~/.config/pychess for clean config
2. Open pychess's Edit > Engines. The list should just have one entry, 
"PyChess.py". The "Command" field should be empty.
3. Click "New" and pick the attached Ildtiadar2 engine (might also work with 
others)
4. You get a new list entry for Ildtiadar 2. The "Command" field now contains 
"Ildtiadar2".
!! Please note at this point, no list entry is marked. (this might be a bug 
already?)
5. Click now the old "PyChess.py" entry to mark it.
Now, the command will remain "Ildtiadar2". This indicates a mix up of settings. 
(other settings appear to change to PyChess.py-related values though)

Original issue reported on code.google.com by jonas.thiem@gmail.com on 30 Jun 2013 at 4:45

Attachments:

GoogleCodeExporter commented 9 years ago
It happens for me with the 32bit compile too (attached).

Original comment by jonas.thiem@gmail.com on 30 Jun 2013 at 5:00

Attachments:

GoogleCodeExporter commented 9 years ago
Another possible way I found which breaks the "Command" field for me (or rather 
the list through the "Command" field usage):

1. (optional) Remove ~/.config/pychess for clean config
2. Open pychess's Edit > Engines. The list should have just one entry 
"PyChess.py" or in addition "GNUchess". Mark the "PyChess.py" entry. The 
"command" field should be "(None)" (see image #1)
3. Click command field, pick an unrelated engine (e.g. attached Ildtiadar2). 
(see image #2)
4. When having picked the engine, the list is suddenly very broken. Expected 
beaviour: list is unchanged, "PyChess.py" is present as before and NO new entry 
(e.g. "Ildtiadar2" has been added), and just the command field has a new value 
set to whatever unrelated engine was picked.

Original comment by jonas.thiem@gmail.com on 1 Jul 2013 at 4:24

Attachments:

GoogleCodeExporter commented 9 years ago
(or alternatively, the "PyChess.py" field is renamed to "Ildtiadar2", but not 
added twice as "Ildtiadar2" as seen in the screenshot)

Original comment by jonas.thiem@gmail.com on 1 Jul 2013 at 4:26

GoogleCodeExporter commented 9 years ago
I will now attach two engine.json files:

First one: having starting PyChess and after opening Edit > Engines, but 
*before* adding anything.
Second one: *after* adding Ildtiadar2 as described in the original steps.

I wanted to make a third one after adding Ildtiadar 2, but also after clicking 
on the PyChess.py entry with the wrong "Command" setting. But there was no 
difference to the second one (clicking PyChess.py didn't cause any change), so 
there is no point in uploading it.

Original comment by jonas.thiem@gmail.com on 3 Jul 2013 at 5:15

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 065927b0f2c5.

Original comment by gbtami on 6 Jul 2013 at 6:49