[computer-go] kgsGtp question

Mark Boon tesujisoftware at gmail.com
Fri Aug 25 12:23:53 PDT 2006


Since I now have GTP working I thought I'd give Goliath a swirl on  
KGS. So I downloaded the kgsGtp.jar file and read the documentation  
that came with it, but I can't get it to work. Here's what I get:

imac:~ markboon$ java -jar /Users/markboon/Documents/workspace/ 
TesujiGoFramework/kgsGtp.jar /Users/markboon/Documents/workspace/ 
TesujiGoFramework/kgsGtp.properties
Aug 25, 2006 2:15:36 PM org.igoweb.igoweb.client.gtp.GtpClient main
FINE: KGS GTP Client v2.6.12 starting up
Exception in thread "main" java.lang.NoClassDefFoundError: tesuji/ 
games/go/goliath3/Goliath3EngineGTPMain
Aug 25, 2006 2:15:36 PM org.igoweb.igoweb.client.gtp.GtpClient d
FINE: EOF from engine, closing down.
Aug 25, 2006 2:15:37 PM org.igoweb.igoweb.client.gtp.GtpClient a
FINE: Login successful.
Aug 25, 2006 2:15:37 PM org.igoweb.igoweb.client.gtp.GtpClient a
FINE: Auth level is not ROBOT_RANKED, can only play free games
Aug 25, 2006 2:15:37 PM org.igoweb.igoweb.client.gtp.GtpClient a
SEVERE: Fatal internal error
java.lang.NullPointerException
         at org.igoweb.igoweb.client.gtp.an.a(kgsgtp:445)
         at org.igoweb.igoweb.client.gtp.GtpClient.a(kgsgtp:971)
         at org.igoweb.igoweb.client.gtp.GtpClient.a(kgsgtp:308)
         at org.igoweb.igoweb.client.gtp.GtpClient.d(kgsgtp:60)
         at org.igoweb.igoweb.client.gtp.aH.a(kgsgtp:201)
         at org.igoweb.igoweb.client.gtp.H.d(kgsgtp:72)
         at org.igoweb.igoweb.client.gtp.al.a(kgsgtp:414)
         at org.igoweb.igoweb.client.gtp.al.a(kgsgtp:360)
         at org.igoweb.igoweb.client.gtp.al.a(kgsgtp:41)
         at org.igoweb.igoweb.client.gtp.Q.a(kgsgtp:334)
         at org.igoweb.igoweb.client.gtp.P.run(kgsgtp:297)
         at org.igoweb.igoweb.client.gtp.n.c(kgsgtp:106)
         at org.igoweb.igoweb.client.gtp.n.a(kgsgtp:18)
         at org.igoweb.igoweb.client.gtp.b.run(kgsgtp:67)
         at java.lang.Thread.run(Thread.java:613)
Aug 25, 2006 2:15:38 PM org.igoweb.igoweb.client.gtp.GtpClient a
FINE: Normal disconnection from server.

However, when I type the same line that's in the kgsGtp.properties  
file it works. Since the only deviation I had is not using the -jar  
option, I tried that as well. My properties file now looks like this:

name=goliath3
password=abcdef
room=English Room
open=t
gameNotes=Connecting Goliath to KGS
rules=chinese
rules.boardSize=19
engine=java -jar "/Users/markboon/Documents/workspace/Goliath3/build/ 
goliath3.jar"

Again I get an error, different this time:

imac:~ markboon$ java -jar /Users/markboon/Documents/workspace/ 
TesujiGoFramework/kgsGtp.jar /Users/markboon/Documents/workspace/ 
TesujiGoFramework/kgsGtp.properties
Aug 25, 2006 3:41:20 PM org.igoweb.igoweb.client.gtp.GtpClient main
FINE: KGS GTP Client v2.6.12 starting up
Unable to access jarfile "/Users/markboon/Documents/workspace/ 
Goliath3/build/goliath3.jar"
Aug 25, 2006 3:41:20 PM org.igoweb.igoweb.client.gtp.GtpClient d
FINE: EOF from engine, closing down.
Aug 25, 2006 3:41:21 PM org.igoweb.igoweb.client.gtp.GtpClient a
FINE: Login successful.
Aug 25, 2006 3:41:21 PM org.igoweb.igoweb.client.gtp.GtpClient a
FINE: Auth level is not ROBOT_RANKED, can only play free games
Aug 25, 2006 3:41:21 PM org.igoweb.igoweb.client.gtp.GtpClient a
SEVERE: Fatal internal error
java.lang.NullPointerException
         at org.igoweb.igoweb.client.gtp.an.a(kgsgtp:445)
         at org.igoweb.igoweb.client.gtp.GtpClient.a(kgsgtp:971)
         at org.igoweb.igoweb.client.gtp.GtpClient.a(kgsgtp:308)
         at org.igoweb.igoweb.client.gtp.GtpClient.d(kgsgtp:60)
         at org.igoweb.igoweb.client.gtp.aH.a(kgsgtp:201)
         at org.igoweb.igoweb.client.gtp.H.d(kgsgtp:72)
         at org.igoweb.igoweb.client.gtp.al.a(kgsgtp:414)
         at org.igoweb.igoweb.client.gtp.al.a(kgsgtp:360)
         at org.igoweb.igoweb.client.gtp.al.a(kgsgtp:41)
         at org.igoweb.igoweb.client.gtp.Q.a(kgsgtp:334)
         at org.igoweb.igoweb.client.gtp.P.run(kgsgtp:297)
         at org.igoweb.igoweb.client.gtp.n.c(kgsgtp:106)
         at org.igoweb.igoweb.client.gtp.n.a(kgsgtp:18)
         at org.igoweb.igoweb.client.gtp.b.run(kgsgtp:67)
         at java.lang.Thread.run(Thread.java:613)
Aug 25, 2006 3:41:21 PM org.igoweb.igoweb.client.gtp.GtpClient a
FINE: Normal disconnection from server.

Again, if I type it in the terminal it works:

java -jar "/Users/markboon/Documents/workspace/Goliath3/build/ 
goliath3.jar"

So I don't understand what I'm doing wrong. Anyone any idea? It works  
fine with GoGui.

Mark




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://computer-go.org/pipermail/computer-go/attachments/20060825/f6120f69/attachment.htm


More information about the computer-go mailing list