Closed niklasf closed 10 years ago
I am looking at this issue right now!
The problem is due to a recent change made to the pyfish module. Older pyfish modules work fine.
Thanks for reporting!,
Shiv
On Sun, Jun 1, 2014 at 1:26 AM, Niklas Fiekas notifications@github.com wrote:
It has been a while now since I tried this out (on my 64bit linux machine). It froze in this state:
[image: kivy-frozen] https://cloud.githubusercontent.com/assets/402777/3141104/29c1e488-e965-11e3-8c4f-3071d543a15f.png
I just tried to move the pawn with the mouse. kill -9 was nescessary to stop it.
It seams that this is connected to the engine pondering. If it starts slowly and I move quickly I get a bit further. If it starts quickly it sometimes even gets stuck with the window still black.
kivy-chess$ python main.py [INFO ] Kivy v1.8.0 [INFO ] [Logger ] Record log in /home/niklas/.kivy/logs/kivy_14-06-01_2.txt [INFO ] [Factory ] 157 symbols loaded [DEBUG ] [Cache ] register
with limit=None, timeout=60s [DEBUG ] [Cache ] register with limit=None, timeout=Nones [INFO ] [Image ] Providers: img_tex, img_dds, img_pygame, img_pil, img_gif [DEBUG ] [Cache ] register with limit=1000, timeout=60s [DEBUG ] [Cache ] register with limit=1000, timeout=3600s [DEBUG ] [Cache ] register with limit=None, timeout=Nones [INFO ] [Text ] Provider: pygame [DEBUG ] [Window ] Ignored (import error) [INFO ] [Window ] Provider: pygame(['window_egl_rpi'] ignored) [DEBUG ] [Window ] Display driver x11 [DEBUG ] [Window ] Actual window size: 800x600 [DEBUG ] [Window ] Actual color bits r8 g8 b8 a8 [DEBUG ] [Window ] Actual depth bits: 24 [DEBUG ] [Window ] Actual stencil bits: 8 [DEBUG ] [Window ] Actual multisampling samples: 4 [INFO ] [GL ] OpenGL version <3.0 Mesa 10.1.3> [INFO ] [GL ] OpenGL vendor [INFO ] [GL ] OpenGL renderer <Mesa DRI Intel(R) Haswell Mobile > [INFO ] [GL ] OpenGL parsed version: 3, 0 [INFO ] [GL ] Shading version <1.30> [INFO ] [GL ] Texture max size <8192> [INFO ] [GL ] Texture max units <32> [DEBUG ] [Shader ] Fragment compiled successfully [DEBUG ] [Shader ] Vertex compiled successfully [DEBUG ] [ImagePygame ] Load </usr/local/lib/python2.7/dist-packages/kivy/data/glsl/default.png> [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked [DEBUG ] [Cache ] register with limit=500, timeout=60s [INFO ] [Loader ] using a thread pool of 2 workers [DEBUG ] [Cache ] register with limit=None, timeout=60.0s [DEBUG ] [Cache ] register with limit=None, timeout=60.0s [DEBUG ] [App ] Loading kv <./chess_app.kv> [DEBUG ] [ImagePygame ] Load <img/board/light/fir-lite.jpg> [INFO ] [GL ] NPOT texture support is available [DEBUG ] [ImagePygame ] Load <img/board/dark/wood-chestnut-oak2.jpg> [DEBUG ] [Atlas ] Load </usr/local/lib/python2.7/dist-packages/kivy/data/../data/images/defaulttheme.atlas> [DEBUG ] [Atlas ] Need to load 1 images [DEBUG ] [Atlas ] Load </usr/local/lib/python2.7/dist-packages/kivy/data/../data/images/defaulttheme-0.png> [DEBUG ] [ImagePygame ] Load </usr/local/lib/python2.7/dist-packages/kivy/data/../data/images/defaulttheme-0.png> [DEBUG ] [ImagePygame ] Load </usr/local/lib/python2.7/dist-packages/kivy/data/../data/logo/kivy-icon-32.png> [WARNING] Call to deprecated function call in /usr/local/lib/python2.7/dist-packages/kivy/utils.py line 246.Called from main.py line 2217 by build(). [WARNING] Call to deprecated function call in /usr/local/lib/python2.7/dist-packages/kivy/utils.py line 246.Called from main.py line 2631 by is_desktop(). [DEBUG ] [ImagePygame ] Load <img/pieces/Merida-shadow/wr.png> [DEBUG ] [ImagePygame ] Load <img/pieces/Merida-shadow/wn.png> [DEBUG ] [ImagePygame ] Load <img/pieces/Merida-shadow/wb.png> [DEBUG ] [ImagePygame ] Load <img/pieces/Merida-shadow/wq.png> [DEBUG ] [ImagePygame ] Load <img/pieces/Merida-shadow/wk.png> [DEBUG ] [ImagePygame ] Load <img/pieces/Merida-shadow/wp.png> [DEBUG ] [ImagePygame ] Load <img/pieces/Merida-shadow/br.png> [DEBUG ] [ImagePygame ] Load <img/pieces/Merida-shadow/bn.png> [DEBUG ] [ImagePygame ] Load <img/pieces/Merida-shadow/bb.png> [DEBUG ] [ImagePygame ] Load <img/pieces/Merida-shadow/bq.png> [DEBUG ] [ImagePygame ] Load <img/pieces/Merida-shadow/bk.png> [DEBUG ] [ImagePygame ] Load <img/pieces/Merida-shadow/bp.png> [INFO ] [OSC ] using for socket [DEBUG ] [Base ] Create provider from mouse [DEBUG ] [Base ] Create provider from probesysfs [DEBUG ] [ProbeSysfs ] using probsysfs! [DEBUG ] [ProbeSysfs ] found device: SynPS/2 Synaptics TouchPad at /dev/input/event5 [INFO ] [ProbeSysfs ] device match: /dev/input/event5 [INFO ] [MTD ] Read event from </dev/input/event5> [INFO ] [Base ] Start application main loop Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in *bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(_self.__args, _self.kwargs) File "/usr/local/lib/python2.7/dist-packages/kivy/input/providers/mtdev.py", line 193, in _thread_run _device = Device(_fn) File "/usr/local/lib/python2.7/dist-packages/kivy/lib/mtdev.py", line 131, in init** self._fd = os.open(filename, os.O_NONBLOCK | os.O_RDONLY) OSError: [Errno 13] Permission denied: '/dev/input/event5' [DEBUG ] [ImagePygame ] Load <img/background_normal.png> [DEBUG ] [ImagePygame ] Load <img/background_header.png> info nodes 0 tbhits 0 time 3 bestmove c2c4 ponder (none) info nodes 0 tbhits 0 time 3 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 3 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove c2c4 ponder (none) info nodes 0 tbhits 0 time 3 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 3 bestmove g1f3 ponder (none) info nodes 0 tbhits 0 time 2 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 3 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 3 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove c2c4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 3 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 3 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove g1f3 ponder (none) info nodes 0 tbhits 0 time 2 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 1 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove c2c4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove c2c4 ponder (none) info nodes 0 tbhits 0 time 3 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 3 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove d2d4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove e2e4 ponder (none) info nodes 0 tbhits 0 time 2 bestmove e2e4 ponder (none)
— Reply to this email directly or view it on GitHub https://github.com/sshivaji/kivy-chess/issues/3.
Now fixed on pyfish with commit https://github.com/jromang/Stockfish/commit/bde9f8d10d4d33ce69ab7b1188f557d6b906332e
Let me know if it works. It does for me at this stage.
Pyfish needs to be recompiled via "python setup.py install"
Thank you. It works.
It has been a while now since I tried this out (on my 64bit linux machine). It was working then. Today it froze in this state:
I just tried to move the pawn with the mouse.
kill -9
was nescessary to stop it.It seams that this is connected to the engine pondering. If it starts slowly and I move quickly I get a bit further. If it starts quickly it sometimes even gets stuck with the window still black.
Should I try something specific to help reproduce this? Should I try bisecting?