Does this work around the problem? https://github.com/LinuxCNC/linuxcnc/issues/2264#issuecomment-1380954324
On January 12, 2023 11:15:51 PM MST, Alec Ari via Emc-developers <emc-developers@lists.sourceforge.net> wrote: >Running Gentoo, just trying to get the sim axis window working again (not a >real-time kernel, just quick test) > >ntu@ntu ~ $ linuxcnc >LINUXCNC - 2.10.0~pre0 >Machine configuration directory is '/home/ntu/linuxcnc/configs/sim.axis' >Machine configuration file is 'axis.ini' >Starting LinuxCNC... >linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod >Note: Using POSIX non-realtime >Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal >Found file(lib): /usr/share/linuxcnc/hallib/sim_spindle_encoder.hal >Found file(lib): /usr/share/linuxcnc/hallib/axis_manualtoolchange.hal >Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal >Found file(lib): /usr/share/linuxcnc/hallib/check_xyz_constraints.hal >link (updating variable file): No such file or directory >note: MAXV max: 5.000 units/sec 300.000 units/min >note: LJOG max: 5.000 units/sec 300.000 units/min >note: LJOG default: 0.250 units/sec 15.000 units/min >note: jog_order='XYZ' >note: jog_invert=set() >Traceback (most recent call last): > File "/usr/lib/python3.10/site-packages/OpenGL/latebind.py", line 43, in >__call__ > return self._finalCall( *args, **named ) >TypeError: 'NoneType' object is not callable > >During handling of the above exception, another exception occurred: > >Traceback (most recent call last): > File "/usr/bin/axis", line 3964, in <module> > get_coordinate_font(vars.dro_large_font.get()) > File "/usr/bin/axis", line 3842, in get_coordinate_font > glnav.use_pango_font(coordinate_font, 0, 128) > File "/usr/lib/python3.10/site-packages/glnav.py", line 65, in use_pango_font > glBitmap(0, 0, 0, 0, 0, h-d, ''.encode()) > File "/usr/lib/python3.10/site-packages/OpenGL/latebind.py", line 47, in >__call__ > return self._finalCall( *args, **named ) > File "/usr/lib/python3.10/site-packages/OpenGL/wrapper.py", line 700, in >wrapperCall > raise err > File "/usr/lib/python3.10/site-packages/OpenGL/wrapper.py", line 693, in >wrapperCall > result = wrappedOperation( *cArguments ) > File "/usr/lib/python3.10/site-packages/OpenGL/platform/baseplatform.py", >line 415, in __call__ > return self( *args, **named ) > File "/usr/lib/python3.10/site-packages/OpenGL/error.py", line 230, in >glCheckError > raise self._errorClass( >OpenGL.error.GLError: GLError( > err = 1285, > description = b'out of memory', > baseOperation = glBitmap, > pyArgs = (0, 0, 0, 0, 0, 13.0, b''), > cArgs = (0, 0, 0, 0, 0, 13.0, b''), > cArguments = (0, 0, 0, 0, 0, 13.0, b'') >) >Shutting down and cleaning up LinuxCNC... >task: 473 cycles, min=0.000004, max=0.001062, avg=0.001019, 0 latency >excursions (> 10x expected cycle time of 0.001000s) >Note: Using POSIX non-realtime >LinuxCNC terminated with an error. You can find more information in the log: > /home/ntu/linuxcnc_debug.txt >and > /home/ntu/linuxcnc_print.txt >as well as in the output of the shell command 'dmesg' and in the terminal > >ntu@ntu ~ $ cat linuxcnc*.txt >23766 >23816 >Stopping realtime threads >Unloading hal components >RUN_IN_PLACE=no >LINUXCNC_DIR= >LINUXCNC_BIN_DIR=/usr/bin >LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc >LINUXCNC_SCRIPT_DIR= >LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules >LINUXCNC_CONFIG_DIR= >LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs >INIVAR=inivar >HALCMD=halcmd >LINUXCNC_EMCSH=/usr/bin/wish8.6 >INIFILE=/home/ntu/linuxcnc/configs/sim.axis/axis.ini >VERSION=1.1 >PARAMETER_FILE=sim.var >TPMOD= >HOMEMOD= >TASK=milltask >HALUI=halui >DISPLAY=axis >COORDINATES=X Y Z >KINEMATICS=trivkins >Starting LinuxCNC server program: linuxcncsvr >Loading Real Time OS, RTAPI, and HAL_LIB modules >Starting LinuxCNC IO program: io >Starting HAL User Interface program: halui >Starting TASK program: milltask >Starting DISPLAY program: axis >Removing HAL_LIB, RTAPI, and Real Time OS modules >Removing NML shared memory segmentsTypeError: 'NoneType' object is not callable > >On this test system, it is fully hardened (lots of security features >throughout) not sure if related.. Any ideas on what's wrong? > >Alec > > >_______________________________________________ >Emc-developers mailing list >Emc-developers@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/emc-developers -- Sebastian Kuzminsky _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers