rijalati / raptor-chess-interface

Automatically exported from code.google.com/p/raptor-chess-interface
0 stars 0 forks source link

does not record a move if it gets into a state, and no more moves are received or sent. fics #801

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is on fics. Recently, on several occasions, I'd make a move and it will 
not register on the server. Or Raptor will show it has registered, but there 
will be no response from my opponent.

Following that, the client doesn't receive any of my opponent's moves (even 
though it turns out one was made). The UI continues to show it's the opponent's 
move. And one can normally execute other commands -- such as tell, request 
adjournment or abort, etc.

Recently, this happened several times. Noticed that there was some verbiage 
printed by the client before it went into that state -- i.e., it had most 
likely received some strings back from the server, and it printed them out. The 
process is not easy to replicate (because the server is probably sending 
something the client does not know how to handle). However, it seems to happen 
quite a bit.

Original issue reported on code.google.com by amarnath...@yahoo.com on 6 Mar 2015 at 9:28

GoogleCodeExporter commented 9 years ago
Hello,

That is not much information to start looking for the problem. Next time this 
happens, could you try and capture the "verbiage" printed by the client and 
send it to me?

Also, what version of the software are you using and on which platform? Note 
that the Raptor version string is not enough: since the last installer was 
build, that version number has not been increased, but the code in the 
repository has been changed. On Macs running Yosemite there is already an 
incompatibility between the SWT in the installer and the OS: I expect that as 
time goes by, more and more incompatibilities, also on other platforms, will 
show up. That is why I insist on reporting that information too. If you feel 
like it, you could try to upgrade SWT on your system and see if the issue goes 
away? (it looks like it could be caused by a missed or incorrectly processed 
event somewhere)

Regards.

Original comment by evil...@gmail.com on 7 Mar 2015 at 7:56

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
User consistently provides insuffucient information: do not expect any progress 
after 3 attempts, so closing the issue.

Original comment by evil...@gmail.com on 19 Mar 2015 at 1:56

GoogleCodeExporter commented 9 years ago
Please tell me _how_ to give you more information. Currently, I'm copying what 
your program prints on the console. If you have a log file somewhere on the 
client, can send that to you. 

I understand it's hard to fix a bug you cannot reproduce. The problem with this 
bug is it doesn't happen predictably every time. After 5-10 games, it suddenly 
happens.

I can't tell you how many rating points you have cost me!

Because the program will simply not send a move to the server after that. 

I'm sorry if I cannot provide better data. How about you instrument the code 
some more, and then I can use it and give you better data. e.g., add a logging 
mechanism. 

Original comment by amarnath...@yahoo.com on 19 Mar 2015 at 4:59

GoogleCodeExporter commented 9 years ago
Replacing the entries pasted via email bc they have my email address:

Played today on fics. And same thing happened.
Here is the string the client printed out as the last thing before going into 
that state:
<12> -------R pk--N--- ---rp--- -ppn--P- q--p-P-- --nP---- PRP---Q- K------- W 
-1 0 0 0 0 5 2 aam Alcides 1 3 0 27 25 43550 34685 32 N/c7-d5 (0:04.162) N7d5 0 
1 252

Original comment by amarnath...@yahoo.com on 19 Mar 2015 at 5:00

GoogleCodeExporter commented 9 years ago
Here is another log. Happened just now. 

fics% <12> ------k- -----p-p ---p--p- -------- -p---P-- -P-----r r---BR-- 
----RK-- W -1 0 0 0 0 0 110 CorleoneChess aam -1 3 0 15 15 87398 111991 33 
R/e3-h3 (0:03.389) Rxh3 1 1 194 

Original comment by amarnath...@yahoo.com on 19 Mar 2015 at 5:01

GoogleCodeExporter commented 9 years ago
Ok, let us be clear: I did NOT cost you any points or anything else.

You are under no obligation to use the program, and I am under no obligation to 
fix anything. So far you are the only one who reported this problem, so my 
guess is that eihter nobody uses it, or that there is something specific to 
your situation. Either way, it does not rate high on my to-do list.

Last year I submitted a couple of bug fixes to the code and the result was that 
the previous project owner, the author of (most of?) the code, suddenly 
appointed me as project owner because he wanted to do something else with his 
life than maintaining the code. My priority is to get my personal desired new 
features working and I am willing to fix some small issues if they block my 
playing pleasure, but I am not going to spend much of my spare time fixing 
things that I did not write and for people who have the same access to the 
source code as I have (and can therefore instrument/patch the code to do what 
they want it to do)

In your case I would probably start by looking at the code that implements the 
client/server communication and use log4j to record the full communication 
history: the code has many logging instructions that can be turned on by simply 
configuring the log4j properties files. The wiki provides all the information 
you need to make a local build from source, so you can easily add additional 
logging instructions to suit your needs.

BTW: If someone else wants to take over the project: just give me a sign and 
you can have it.

Original comment by evil...@gmail.com on 20 Mar 2015 at 9:12

GoogleCodeExporter commented 9 years ago
>I did NOT cost you any points or anything else

Raptor has a bug. It freezes and will not accept moves. Which caused me to lose 
a lot of points, in many a winning position. Whether you want to blame it on 
someone else, or take responsibility, that's your business.

Perhaps you could inform sites such as freechess.org that you will not be 
maintaining it anymore, so perhaps they shouldn't include a download link to 
Raptor on their website? 

Original comment by amarnath...@yahoo.com on 20 Mar 2015 at 9:45