[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

We have a winner! (was Re: [computer-go] GTP and KGS)



Yup, this turns out to be the problem. Mr. Schubert says that the GTP standard says to ignore linfefeeds outside of the response, and he's posted a new version which does this correctly.

On Wednesday, July 14, 2004, at 11:58 AM, Arend Bayer wrote:


The problem seems that you output one linefeed too many in the output of
list_commands. Notice this subtle difference:

Jul 14, 2004 10:57:22 AM org.igoweb.igoweb.client.gtp.GtpClient d
FINEST: Got successful response to command "list_commands": =
boardsize
clear_board
final_score
(...)

Jul 14, 2004 10:57:22 AM org.igoweb.igoweb.client.gtp.GtpClient d
FINEST: Queued command sent to engine: name
Jul 14, 2004 10:57:22 AM org.igoweb.igoweb.client.gtp.GtpClient d
SEVERE: Got malformed response from engine:
= OregoBorderPlayer

The quote of the reponse starts after "engine: ". So it seems kgsGtp is
right to complain, because the response starts with a LF instead of "=".

Arend


_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/

Peter Drake
Assistant Professor of Computer Science
Lewis & Clark College
http://www.lclark.edu/~drake/

_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/