We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Katrain crashes immediately after the window pops up.
To reproduce:
pipx install katrain
katrain
Expected Behavior: The application should start normally and display the main window.
Actual Behavior: The application crashes, yielding the error messages provided below.
Environment:
➜ ~ pipx install katrain installed package katrain 1.15.0, installed using Python 3.12.7 These apps are now globally available - katrain done! ✨ 🌟 ✨ ➜ ~ katrain --debug [INFO ] [Logger ] Record log in /home/cjk/.kivy/logs/kivy_25-01-23_3.txt [INFO ] [Kivy ] v2.3.1 [INFO ] [Kivy ] Installed at "/home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivy/__init__.py" [INFO ] [Python ] v3.12.7 (main, Jan 17 2025, 16:55:27) [GCC 14.2.0] [INFO ] [Python ] Interpreter at "/home/cjk/.local/share/pipx/venvs/katrain/bin/python" [INFO ] [Logger ] Purge log fired. Processing... [INFO ] [Logger ] Purge finished! [INFO ] [Factory ] 195 symbols loaded [DEBUG ] [Cache ] register <kv.resourcefind> with limit=None, timeout=60 [DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=None [DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60 [DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=None [INFO ] [ImageLoaderFFPy] Using ffpyplayer 4.5.2 [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_ffpyplayer [DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60 [DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600 [DEBUG ] [Cache ] register <kv.graphics.texture> with limit=None, timeout=None [INFO ] [Clipboard ] Provider: xclip [INFO ] [CutBuffer ] cut buffer support enabled [INFO ] [Text ] Provider: sdl2 [INFO ] [Window ] Provider: sdl2 [INFO ] [GL ] Using the "OpenGL" graphics system [INFO ] [GL ] Backend used <sdl2> [INFO ] [GL ] OpenGL version <b'4.6 (Compatibility Profile) Mesa 24.2.3-1ubuntu1'> [INFO ] [GL ] OpenGL vendor <b'Intel'> [INFO ] [GL ] OpenGL renderer <b'Mesa Intel(R) Graphics (ADL GT2)'> [INFO ] [GL ] OpenGL parsed version: 4, 6 [INFO ] [GL ] Shading version <b'4.60'> [INFO ] [GL ] Texture max size <16384> [INFO ] [GL ] Texture max units <32> [DEBUG ] [Shader ] Fragment compiled successfully [DEBUG ] [Shader ] Vertex compiled successfully [DEBUG ] [ImageSDL2 ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivy/data/glsl/default.png> [INFO ] [Window ] auto add sdl2 input provider [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked [INFO ] [KivyMD ] v0.104.1 [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/rec_shadow.atlas> [DEBUG ] [Atlas ] Need to load 2 images [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/rec_shadow-1.png> [DEBUG ] [ImageSDL2 ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/rec_shadow-1.png> [INFO ] [GL ] NPOT texture support is available [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/rec_shadow-0.png> [DEBUG ] [ImageSDL2 ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/rec_shadow-0.png> [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/rec_st_shadow.atlas> [DEBUG ] [Atlas ] Need to load 3 images [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/rec_st_shadow-0.png> [DEBUG ] [ImageSDL2 ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/rec_st_shadow-0.png> [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/rec_st_shadow-1.png> [DEBUG ] [ImageSDL2 ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/rec_st_shadow-1.png> [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/rec_st_shadow-2.png> [DEBUG ] [ImageSDL2 ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/rec_st_shadow-2.png> [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/quad_shadow.atlas> [DEBUG ] [Atlas ] Need to load 3 images [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/quad_shadow-1.png> [DEBUG ] [ImageSDL2 ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/quad_shadow-1.png> [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/quad_shadow-0.png> [DEBUG ] [ImageSDL2 ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/quad_shadow-0.png> [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/quad_shadow-2.png> [DEBUG ] [ImageSDL2 ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/quad_shadow-2.png> [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/round_shadow.atlas> [DEBUG ] [Atlas ] Need to load 3 images [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/round_shadow-1.png> [DEBUG ] [ImageSDL2 ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/round_shadow-1.png> [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/round_shadow-0.png> [DEBUG ] [ImageSDL2 ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/round_shadow-0.png> [DEBUG ] [Atlas ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/round_shadow-2.png> [DEBUG ] [ImageSDL2 ] Load </home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/kivymd/images/round_shadow-2.png> [DEBUG ] [Cache ] register <textinput.label> with limit=None, timeout=60.0 [DEBUG ] [Cache ] register <textinput.width> with limit=None, timeout=60.0 Using user config file /home/cjk/.katrain/config.json /home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/katrain/KataGo/katago: error while loading shared libraries: libzip.so.5: cannot open shared object file: No such file or directory ERROR: Engine died unexpectedly without sending output: status 127 Exception in thread Thread-3 (_write_stdin_thread): Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner ERROR: Engine died unexpectedly without sending output: status 127 self.run() File "/usr/lib/python3.12/threading.py", line 1012, in run self._target(*self._args, **self._kwargs) File "/home/cjk/.local/share/pipx/venvs/katrain/lib/python3.12/site-packages/katrain/core/engine.py", line 360, in _write_stdin_thread self.katago_process.stdin.write((json.dumps(query) + "\n").encode()) ^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'stdin' WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. [WARNING] [MTD ] Unable to open device "/dev/input/event5". Please ensure you have the appropriate permissions. [1] 22930 killed katrain --debug```
The text was updated successfully, but these errors were encountered:
Your issue is with not having the right libraries for katago, compile it yourself and it should work crashing is a bug though, thanks for reporting
Sorry, something went wrong.
No branches or pull requests
Katrain crashes immediately after the window pops up.
To reproduce:
pipx install katrain
)katrain
Expected Behavior:
The application should start normally and display the main window.
Actual Behavior:
The application crashes, yielding the error messages provided below.
Environment:
The text was updated successfully, but these errors were encountered: