fowode / pychess

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

disconnection button didn't do like "quit" on the FICS console #788

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.click on the disconnection button on the pychess's FICS main panel to quit 
FICS
2.
3.

What is the expected output? What do you see instead?
this way to quit FICS is not good. it didn't save some changes, for example if 
you do a noplay list, if you leave FICS by clicking on this button this 
playlist is not save, you have to re-do at the next connection. The good way is 
to tape "quit" on the main FICS console. A little bug to repair.

Does it happen every time?
Yes

What version of the product are you using?
pychess 0.12 anderssen beta 2

Did you use an installed version of PyChess or did you run in from a
tarball/svn?
.deb installation from pychess.org

Please provide any additional information below.

Please attach the latest pychess logfile. It's in a hidden folder, under
your homedirectory, named ".local/share/pychess/"

Original issue reported on code.google.com by yoanntar on 7 Jul 2013 at 3:40

GoogleCodeExporter commented 9 years ago

Original comment by gbtami on 7 Jul 2013 at 4:40

GoogleCodeExporter commented 9 years ago
Fixed in Revision: 696eca789604, can you test it, please?

Original comment by gbtami on 22 Jul 2013 at 10:26

GoogleCodeExporter commented 9 years ago
How can i apply this revision?

I follow the last procedure but return error:
ThinkPad-R400:~$ hg clone https://code.google.com/p/pychess/
destination directory: pychess
abandon : destination 'pychess' is not empty

I try but it didn't work so i think this revision didn't yet apply on my 
version.

Thanks

Original comment by yoanntar on 23 Jul 2013 at 4:18

GoogleCodeExporter commented 9 years ago
Just go to the pychess directory:
cd pychess

then you can update your local pychess repo:
hg pull -u

Original comment by gbtami on 23 Jul 2013 at 7:27

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks for the command line!

It works one file was updated.

I try on the temp FICS server but there is always some problems:
if i put a name on the censor list and i leave the server by clicking on the 
pychess disconnection button it didn't save my list. I always have to tape 
"quit" in the main console to save the changes.
But in the other way it works! if i erase a name from my censor list, leaving 
the server by cliking on the disconnection button do like "quit" and save the 
changes of my list.

I don't know why it didn't work same in the two ways!

PS for information my python version is the one updated by canonical so 2.7.3

Original comment by yoanntar on 23 Jul 2013 at 9:24

GoogleCodeExporter commented 9 years ago
Hmm, works for me. Can you write step-by-step (the command you type to start 
pychess, the clicks you do, the commands you type in console etc.) how you can 
reproduce this?

Original comment by gbtami on 23 Jul 2013 at 11:18

GoogleCodeExporter commented 9 years ago
ctrl+alt+t
cd pychess
PYTHONPATH=lib python pychess --ics_host fics2.freechess.org
clic on "connect to FICS"

clic on "show console"
tape: +censor name
tape: =censor (to check list, the name appear)

clic on log off

clic on "connect to FICS"
clic on "show console"
tape: =censor (the name had disappear)

Is there a way to check that my copy of pychess is good and well update?

Those errors appears in the linux terminal:
ThinkPad-R400:~/pychess$ PYTHONPATH=lib python pychess --ics_host 
fics2.freechess.org
Warning: eco.db not find, run pgn2ecodb.sh
13:35:39 Default Warning: Engine PyChess.py failed discovery: 
13:35:39 (u'Python', '13:07:38.799') Warning: Chan closed for 'post'
13:35:39 (u'Python', '13:07:38.799') Warning: Chan closed for '\n'

Original comment by yoanntar on 23 Jul 2013 at 11:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I try again and again and now it works o_O ! I don't know what happen, it works 
good now!

So at the end i just can say: Good Job!

Original comment by yoanntar on 23 Jul 2013 at 12:09

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 64b205aaf0a2.

Original comment by gbtami on 23 Jul 2013 at 7:02

GoogleCodeExporter commented 9 years ago
You can check PyChess version on Help-About dialog.
Thx for helping to fix this!

Original comment by gbtami on 23 Jul 2013 at 7:03

GoogleCodeExporter commented 9 years ago
Indeed, my version is up to date rev. 696eca789604 2013-07-23.

Thanks too, can't help you to write Python unfortunately, i stop my study to a 
little bit of graphcet and turbo C++.

See you on FICS

;-)

Original comment by yoanntar on 23 Jul 2013 at 7:55