Comments (7)
Maybe it's because of difference between python 2 and 3. Could you try develop
HEAD?
from cgos.
Thanks! The last python-client is working. But my server said the db.execute(...).fetchone()
is None type.
cgos/server-python/cgos/app/cgos.py
Lines 1394 to 1396 in 5202119
The error report is
TypeError: 'NoneType' object is not subscriptable
What's possible wrong with it?
from cgos.
Perhaps this insert statement during initialization failed.
cgos/server-python/cgos/app/cgos.py
Line 192 in 5202119
Manualy sqlite3 /home/cgosboar/19x19/cgos.state
and INSERT into gameid VALUES(1);
would fix it.
I got that error once, but I dont' have detail yet.
from cgos.
I added commit()
to other update statements.
from cgos.
The GTP client must read the stderr string. If stderr buffer is full, the client may not read stdout string.
OS: Ubuntu 20.04
python version: 3.8
from cgos.
Default paramter of subprocess.Popen
is stderr=None
, so I think that AI's stderr is just redirected to cgos client's stderr.
https://github.com/zakki/cgos/blob/genmove_analyze/client-python/src/gtpengine.py#L154
Do you use stderr=subprocess.PIPE
?
from cgos.
Sorry, I suffered this issue in my project. So I guess there is a same issue here. It is my mistake.
from cgos.
Related Issues (9)
- A bug issue. HOT 1
- The CGOS protocol. HOT 1
- List of ideas HOT 6
- How to use the wgo to watch my local SGF games? HOT 2
- doesn't start any games HOT 7
- 日本語の解説を表示用の漢字と読み上げ用のひらがなに分けたい HOT 2
- If LogFile has no directory, the client crashes HOT 1
- Wrong rating in game list HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cgos.