playscii icon indicating copy to clipboard operation
playscii copied to clipboard

OpenGL.error.NullFunctionError: Attempt to call an undefined function gluUnProject, check for bool(gluUnProject) before calling

Open fearlessgeekmedia opened this issue 7 months ago • 0 comments

I'm on NixOS 23.11 (unstable channel). I'm getting this error when trying to run Playscii.

UserWarning: Using SDL2 binaries from pysdl2-dll 2.28.4 /home/fearlessgeek/playscii/playscii/playsciienv/lib/python3.11/site-packages/sdl2/dll.py:273: DLLWarning: OSError('libstdc++.so.6: cannot open shared object file: No such file or directory') warnings.warn(repr(exc), DLLWarning) /home/fearlessgeek/playscii/playscii/playsciienv/lib/python3.11/site-packages/sdl2/dll.py:273: DLLWarning: OSError('libstdc++.so.6: cannot open shared object file: No such file or directory') warnings.warn(repr(exc), DLLWarning) Playscii v9.17.1 Loading config from /home/fearlessgeek/.config/Playscii/playscii.cfg... Config loaded. Detecting hardware... CPU: x86_64 GPU: Intel - Mesa Intel(R) HD Graphics 5500 (BDW GT2) OpenGL detected: 4.6 (Compatibility Profile) Mesa 23.0.3 GLSL detected: 4.60 Vertex Array Object support found. Maximum supported texture size: 16384 x 16384 Detected screen resolution: 1366 x 768, window: 1092 x 614 Detecting software environment... OS: Linux-6.1.62-x86_64-with-glibc2.38 Python: 3.11.5 (main, Aug 24 2023, 12:23:19) [GCC 12.3.0] (64bit) Modules: PySDL2 0.9.16, numpy 1.26.2, PyOpenGL 3.1.7, appdirs 1.4.4, PIL 10.1.0 SDL: 2.28.0 SDL-release-2.28.4-0-gcc016b004, SDLmixer: 2.6.1 Loaded key binds from /home/fearlessgeek/.config/Playscii/binds.cfg Traceback (most recent call last): File "/home/fearlessgeek/playscii/playscii/playscii.py", line 1170, in app = Application(config_dir, documents_dir, cache_dir, logger, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/fearlessgeek/playscii/playscii/playscii.py", line 366, in init self.cursor.pre_first_update() File "/home/fearlessgeek/playscii/playscii/cursor.py", line 260, in pre_first_update self.reposition_from_mouse() File "/home/fearlessgeek/playscii/playscii/cursor.py", line 245, in reposition_from_mouse self.x, self.y, _ = vector.screen_to_world(self.app, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/fearlessgeek/playscii/playscii/vector.py", line 119, in screen_to_world start_x, start_y, start_z = GLU.gluUnProject(screen_x, screen_y, z1, vm, pjm) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/fearlessgeek/playscii/playscii/playsciienv/lib/python3.11/site-packages/OpenGL/latebind.py", line 63, in call return self.wrapperFunction( self.baseFunction, *args, **named ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/fearlessgeek/playscii/playscii/playsciienv/lib/python3.11/site-packages/OpenGL/GLU/projection.py", line 55, in gluUnProject result = baseFunction( ^^^^^^^^^^^^^ File "/home/fearlessgeek/playscii/playscii/playsciienv/lib/python3.11/site-packages/OpenGL/platform/baseplatform.py", line 423, in call raise error.NullFunctionError( OpenGL.error.NullFunctionError: Attempt to call an undefined function gluUnProject, check for bool(gluUnProject) before calling

fearlessgeekmedia avatar Nov 21 '23 03:11 fearlessgeekmedia