VivisClone

OGS Bot Error

Jan 27th, 2017
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.71 KB | None | 0 0
  1. C:\Users\JNothaft>gtp2ogs --botid JohnBOT --apikey *** --beta -d -- c:\gnugo\gnugo.exe --mode gtp -M 2048
  2. gtp2ogs.js:845 # Connecting to https://beta.online-go.com:443
  3. gtp2ogs.js:845 # Connected
  4. gtp2ogs.js:845 # Bot is user id: 383
  5. gtp2ogs.js:845 # Accepting challenge, game_id = 1314
  6. gtp2ogs.js:642 POST beta.online-go.com 443 /api/v1/me/challenges/221/accept { apikey: '3***',
  7. bot_id: 383,
  8. player_id: 383,
  9. jwt: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwbGF5ZXJfaWQiOjM4MywiYm90Ijp0cnVlLCJpYXQiOjE0ODU1MjY4MDB9.clCRvUcsYhXzJui5XQ4hTB4RmuokPAiGYt9UIGgYKwM' }
  10. gtp2ogs.js:845 # Connecting to game 1314
  11. gtp2ogs.js:413 [Game 1314] gamedata
  12. gtp2ogs.js:147 [undefined] Starting c:\gnugo\gnugo.exe --mode gtp -M 2048
  13. gtp2ogs.js:147 [undefined] Generating move for game 1314
  14. gtp2ogs.js:147 [undefined] >>> boardsize 19
  15. gtp2ogs.js:147 [undefined] Failed to send command: boardsize 19
  16. gtp2ogs.js:147 [undefined] { Error: write EPIPE
  17. at exports._errnoException (util.js:1022:11)
  18. at Socket._writeGeneric (net.js:715:26)
  19. at Socket._write (net.js:734:8)
  20. at doWrite (_stream_writable.js:332:12)
  21. at writeOrBuffer (_stream_writable.js:318:5)
  22. at Socket.Writable.write (_stream_writable.js:245:11)
  23. at Socket.write (net.js:661:40)
  24. at Bot.command (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:232:33)
  25. at Bot.loadState (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:166:14)
  26. at Game.makeMove (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:372:13) code: 'EPIPE', errno: 'EPIPE', syscall: 'write' }
  27. gtp2ogs.js:147 [undefined] >>> clear_board
  28. gtp2ogs.js:147 [undefined] Failed to send command: clear_board
  29. gtp2ogs.js:147 [undefined] Error: This socket is closed
  30. at Socket._writeGeneric (net.js:683:19)
  31. at Socket._write (net.js:734:8)
  32. at doWrite (_stream_writable.js:332:12)
  33. at writeOrBuffer (_stream_writable.js:318:5)
  34. at Socket.Writable.write (_stream_writable.js:245:11)
  35. at Socket.write (net.js:661:40)
  36. at Bot.command (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:232:33)
  37. at Bot.loadState (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:167:14)
  38. at Game.makeMove (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:372:13)
  39. at check_for_move (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:290:26)
  40. gtp2ogs.js:147 [undefined] >>> komi 6.5
  41. gtp2ogs.js:147 [undefined] Failed to send command: komi 6.5
  42. gtp2ogs.js:147 [undefined] Error: This socket is closed
  43. at Socket._writeGeneric (net.js:683:19)
  44. at Socket._write (net.js:734:8)
  45. at doWrite (_stream_writable.js:332:12)
  46. at writeOrBuffer (_stream_writable.js:318:5)
  47. at Socket.Writable.write (_stream_writable.js:245:11)
  48. at Socket.write (net.js:661:40)
  49. at Bot.command (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:232:33)
  50. at Bot.loadState (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:168:14)
  51. at Game.makeMove (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:372:13)
  52. at check_for_move (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:290:26)
  53. gtp2ogs.js:147 [undefined] >>> showboard
  54. gtp2ogs.js:147 [undefined] Failed to send command: showboard
  55. gtp2ogs.js:147 [undefined] Error: This socket is closed
  56. at Socket._writeGeneric (net.js:683:19)
  57. at Socket._write (net.js:734:8)
  58. at doWrite (_stream_writable.js:332:12)
  59. at writeOrBuffer (_stream_writable.js:318:5)
  60. at Socket.Writable.write (_stream_writable.js:245:11)
  61. at Socket.write (net.js:661:40)
  62. at Bot.command (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:232:33)
  63. at Bot.loadState (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:211:14)
  64. at Game.makeMove (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:372:13)
  65. at check_for_move (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:290:26)
  66. C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:357
  67. printf("pass and restart called");
  68. ^
  69.  
  70. ReferenceError: printf is not defined
  71. at passAndRestart (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:357:13)
  72. at Bot.command (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:237:21)
  73. at Bot.loadState (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:211:14)
  74. at Game.makeMove (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:372:13)
  75. at check_for_move (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:290:26)
  76. at Socket.Game.socket.on (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\gtp2ogs.js:306:13)
  77. at Socket.Emitter.emit (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\node_modules\component-emitter\index.js:131:20)
  78. at Socket.onevent (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\node_modules\socket.io-client\lib\socket.js:270:10)
  79. at Socket.onpacket (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\node_modules\socket.io-client\lib\socket.js:228:12)
  80. at Manager.<anonymous> (C:\Users\JNothaft\AppData\Roaming\npm\node_modules\gtp2ogs\node_modules\component-bind\index.js:21:15)
Advertisement
Add Comment
Please, Sign In to add comment