LinuxCNC/linuxcnc

TCL error with master build: bad menu entry index "G-code properties..."

Sigma1912 opened this issue · 2 comments

This error pops up on a current (12. August) build of master:
Maybe related to 4cb5170

LINUXCNC - 2.10.0~pre0
Machine configuration directory is '/home/user/git/linuxcnc-master-august-12/configs/sim/axis'
Machine configuration file is 'axis.ini'
Starting LinuxCNC...
linuxcncsvr (374409) emcsvr: machine 'LinuxCNC-HAL-SIM-AXIS'  version '1.1'
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX non-realtime
milltask (374423) task: machine 'LinuxCNC-HAL-SIM-AXIS'  version '1.1'
halui (374425) halui: machine 'LinuxCNC-HAL-SIM-AXIS'  version '1.1'
Found file(lib): /home/user/git/linuxcnc-master-august-12/lib/hallib/core_sim.hal
Found file(lib): /home/user/git/linuxcnc-master-august-12/lib/hallib/sim_spindle_encoder.hal
Found file(lib): /home/user/git/linuxcnc-master-august-12/lib/hallib/axis_manualtoolchange.hal
Found file(lib): /home/user/git/linuxcnc-master-august-12/lib/hallib/simulated_home.hal
Found file(lib): /home/user/git/linuxcnc-master-august-12/lib/hallib/check_xyz_constraints.hal
Found file(REL): ./cooling.hal
USRMOT: ERROR: command 30 timeout
emcMotionInit: emcTrajInit failed
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()
TCL error in asynchronous code:
bad menu entry index "G-code properties..."
    while executing
"$m entrycget $idx -state"
    (procedure "state" line 9)
    invoked from within
"state  {$taskfile != ""} {.menu.file "G-code _properties..."}"
    (procedure "update_state" line 13)
    invoked from within
"update_state"
    ("after" script)

Actually there is a typo in that commit. Line 1786 is missing an underscore before 'G-code':
IS
state {$taskfile != ""} {.menu.file "G-code _properties..."}
SCHOULD BE
state {$taskfile != ""} {.menu.file "_G-code _properties..."}

seems to fix it for me

Fixed