"Handler %s not found"

More
3 years 6 months ago #268874 by ChironFZ16
I would like to integrate Probe-Screen of user alkabal into my environment.
I have some errors when starting linuxcnc on terminal with Linuxcnc -d, but it starts normally.
I no longer know what to do and maybe who has a solution ?
System: Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
System: Linux SiggisChiron 6.1.0-7-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.20-1 (2023-03-19) x86_64 GNU/Linux

 

Attachment not found



Code:
_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_offs_x_key_press_event not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_offs_x_value_changed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_set_angle_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_offs_angle_key_press_event not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_offs_angle_value_changed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_angle_ym_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_angle_xm_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_angle_yp_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_angle_xp_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_edge_length_key_press_event not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_edge_length_value_changed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_latch_key_press_event not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_latch_value_changed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_latch_probed_key_press_event not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_latch_probed_value_changed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_probe_max_xy_key_press_event not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_probe_max_xy_value_changed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_vel_for_probe_key_press_event not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_vel_for_probe_value_changed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_vel_for_search_key_press_event not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_vel_for_search_value_changed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_vel_for_travel_key_press_event not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_spbtn_vel_for_travel_value_changed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xmyp_in_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_yp_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xpyp_in_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xp_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xy_hole_in_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xm_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xmym_in_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_ym_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xpym_in_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_jog_pressed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_jog_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_jog_pressed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_jog_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_jog_pressed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_jog_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_jog_pressed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_jog_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_jog_pressed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_jog_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_jog_pressed not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_jog_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xy_center_out_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xm_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xmym_out_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_ym_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xpym_out_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_yp_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xp_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xpyp_out_released not found Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 85, in _builder_connect_callback     handler, args = _extract_handler_and_args(obj_or_map, handler_name)                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/gi/_gtktemplate.py", line 34, in _extract_handler_and_args     raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xmyp_out_released not found task: main loop took 0.011474 seconds (gladevcp:6173): Gtk-WARNING **: 11:06:10.481: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame) (gladevcp:6173): Gtk-WARNING **: 11:06:10.481: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame) 67108867 Compensation entering start state  probe-compensation-grid-results.txt last modified: Wed Mar 29 15:54:08 2023 /home/chiron/linuxcnc/configs/chironFZ16/./nc_subroutines/psng/python/compensation.py:126: UserWarning: loadtxt: input contained no data: "probe-compensation-grid-results.txt"   self.data = numpy.loadtxt(self.filename, dtype=float, delimiter=" ", usecols=(0, 1, 2)) Traceback (most recent call last):   File "/home/chiron/linuxcnc/configs/chironFZ16/./nc_subroutines/psng/python/compensation.py", line 352, in <module>     comp.run()   File "/home/chiron/linuxcnc/configs/chironFZ16/./nc_subroutines/psng/python/compensation.py", line 259, in run     self.loadMap()   File "/home/chiron/linuxcnc/configs/chironFZ16/./nc_subroutines/psng/python/compensation.py", line 132, in loadMap     self.X_start = numpy.min(self.X_data)                    ^^^^^^^^^^^^^^^^^^^^^^   File "<__array_function__ internals>", line 200, in amin   File "/usr/lib/python3/dist-packages/numpy/core/fromnumeric.py", line 2946, in amin     return _wrapreduction(a, np.minimum, 'min', axis, None, out,            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/numpy/core/fromnumeric.py", line 86, in _wrapreduction     return ufunc.reduce(obj, axis, dtype, out, **passkwargs)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: zero-size array to reduction operation minimum which has no identity task: main loop took 0.022994 seconds task: main loop took 0.014063 seconds task: main loop took 0.010426 seconds

Please Log in to join the conversation.

More
3 years 6 months ago #268964 by andypugh
Replied by andypugh on topic "Handler %s not found"
The "%s" is part of the line of code that prints the error message, so: in the example
Code:
raise AttributeError('Handler %s not found' % handler_name) AttributeError: Handler on_btn_xp_released not found

the actual error is "Handler on_btn_xp_released not found"

This _might_ be normal, or could point to a problem (possibly a Python2 / Python3 difference). Which branch of PSNG are you using, and which version of LinuxCNC.

I would check the UI file and see if a handler is being defined for the events in the error log, then check if that handler exists in the python handler file.

Please Log in to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum