TCL Errors From Config Selector
27 Aug 2019 05:47 #143282
by phillc54
TCL Errors From Config Selector was created by phillc54
My linuxcnc directory is a NFS mount to my home directory. I have a symbolic link named linuxcnc pointing to /media/imac/linuxcnc/
It all works well for configs located there but when I try to use the Config Selector to run a sim I end up with the following error message:
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorstack {INNER {invokeStk1 treeclose /media/imac/linuxcnc/configs/..."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorstack {INNER {ScrolledWindow::_set_vscroll .main.f1.f2.f4 0.0 0...."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorstack {INNER {ScrolledWindow::_set_hscroll .main.f1.f2.f4 0.0 1...."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorstack {INNER {Tree::_update_scrollregion .main.f1.f2.f3.tree} UP..."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorstack {INNER {ScrolledWindow::_set_hscroll .main.f1.f2.f3 0.0 1...."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorstack {INNER {ScrolledWindow::_set_vscroll .main.f1.f2.f3 0.0769..."
too many nested evaluations (infinite loop?)
while executing
"eval [linsert $args 0 ::Tree::$cmd .main.f1.f2.f3.tree]"
(procedure ".main.f1.f2.f3.tree" line 1)
invoked from within
"$::tree visible $::selected_node"
(procedure "treeclose" line 3)
invoked from within
"treeclose /media/imac/linuxcnc/configs/axis_metric_org"
("after" script)
too many nested evaluations (infinite loop?)
while executing
"_node_name $path $node"
(procedure "::Tree::visible" line 2)
invoked from within
"::Tree::visible .main.f1.f2.f3.tree /usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/axis.ini"
("eval" body line 1)
invoked from within
"eval [linsert $args 0 ::Tree::$cmd .main.f1.f2.f3.tree]"
(procedure ".main.f1.f2.f3.tree" line 1)
invoked from within
"$::tree visible $::selected_node"
(procedure "treeclose" line 3)
invoked from within
"treeclose /media/imac/linuxcnc/configs/axis_metric/axis_metric.ini"
("after" script)
Error in startup script: error deleting "/media/imac/linuxcnc/nc_files/remap_lib": directory not empty
while executing
"file delete $linkname"
(procedure "prompt_copy" line 69)
invoked from within
"prompt_copy $::inifile"
invoked from within
"if [ok_to_copy_config $::inifile] {
set copied_inifile [prompt_copy $::inifile]
if {$copied_inifile == ""} {
c..."
("while" body line 6)
invoked from within
"while {1} {
focus $::tree
vwait ::choice
if { $::choice == "OK" } {
if [ok_to_copy_config $::inifile] {
set copied_in..."
(file "/usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl" line 861)
The first line of this message is repeated many times.
If I set up a local linuxcnc directory everything is fine so it seems there may be something wrong with the way I have set up the mount.
I have checked permissions and the logged in user is the owner of all the directories/files in the mount.
phill@stretch ~ $ ls -al /media/imac/linuxcnc/configs/
total 324
drwxr-xr-x 49 phill phill 1568 Aug 26 18:31 .
drwxr-xr-x 9 phill phill 288 Jul 11 15:55 ..
drwxr-xr-x 9 phill phill 288 Aug 27 12:55 0_org_plasmac_sims
drwxr-xr-x 6 phill phill 192 Jun 25 10:16 0_org_plasma-table
drwxr-xr-x 99 phill phill 3168 Aug 15 15:19 0_plasmac_sims
drwxr-xr-x 5 phill phill 160 Aug 25 11:32 0-test
drwxr-xr-x 19 phill phill 608 Dec 20 2016 7176e_lathe
drwxr-xr-x 16 phill phill 512 Apr 29 2017 7i76e_lathe_new
drwxr-xr-x 32 phill phill 1024 Feb 18 2017 7i90_lathe
drwxr-xr-x 28 phill phill 896 May 23 2017 7i90_mill
drwxr-xr-x 41 phill phill 1312 Aug 26 17:46 aaa
drwxr-xr-x 38 phill phill 1216 Aug 26 16:15 aab
drwxr-xr-x 52 phill phill 1664 Aug 26 18:17 aac
drwxr-xr-x 41 phill phill 1312 Aug 26 16:27 aad
drwxr-xr-x 65 phill phill 2080 Aug 26 18:27 aaf
drwxr-xr-x 50 phill phill 1600 Aug 26 18:33 aazaaz
drwxr-xr-x 37 phill phill 1184 Aug 26 18:31 aazaazaaz
drwxr-xr-x 58 phill phill 1856 Aug 27 12:47 axis_metric
drwxr-xr-x 51 phill phill 1632 Aug 26 15:06 axis_metric_org
drwxr-xr-x 55 phill phill 1760 Aug 26 15:09 axis_metric_wide
drwxr-xr-x 51 phill phill 1632 Aug 26 15:09 axis_metric_wide_org
drwxr-xr-x 10 phill phill 320 Oct 27 2016 beaglebone-configs
drwxr-xr-x 41 phill phill 1312 Aug 16 17:12 bob
drwxr-xr-x 29 phill phill 928 Aug 16 15:18 bob1
drwxr-xr-x 29 phill phill 928 Aug 16 15:47 bob2
drwxr-xr-x 29 phill phill 928 Aug 16 16:09 bob3
drwx
22 phill phill 704 Jun 1 15:06 bransby
drwx
11 phill phill 352 May 7 2018 bransby-7i76
-rw-r--r-- 1 phill phill 12292 Aug 25 11:09 .DS_Store
drwxr-xr-x 5 phill phill 160 Apr 10 2017 etch-a-sketch
drwxr-xr-x 50 phill phill 1600 Aug 20 08:41 gbob
drwxr-xr-x 66 phill phill 2112 Aug 26 18:23 gmocca_metric
drwxr-xr-x 55 phill phill 1760 Aug 26 15:03 gmocca_metric_org
drwxr-xr-x 58 phill phill 1856 Aug 26 15:03 gmocca_metric_wide
drwxr-xr-x 55 phill phill 1760 Aug 26 15:03 gmocca_metric_wide_org
drwxr-xr-x 37 phill phill 1184 Aug 25 12:30 making
drwxr-xr-x 4 phill phill 128 Aug 25 12:28 MakingStuff
drwxr-xr-x 27 phill phill 864 Aug 23 10:40 mill
drwxr-xr-x 11 phill phill 352 Jun 28 16:32 my_LinuxCNC_machine
-rw-r--r-- 1 phill phill 313166 Jun 28 16:32 my_LinuxCNC_machine.pncconf
drwxr-xr-x 7 phill phill 224 Jun 21 16:51 old
drwxr-xr-x 6 phill phill 192 May 21 2018 pendant
drwxr-xr-x 47 phill phill 1504 Aug 25 17:47 plasma_table
drwxr-xr-x 42 phill phill 1344 Jul 3 17:07 plasma_table_b4_0.2
drwxr-xr-x 33 phill phill 1056 Aug 22 16:43 ptest
drwxr-xr-x 30 phill phill 960 Jun 11 17:07 qt_plasmac
drwxr-xr-x 21 phill phill 672 May 26 13:36 sherline
drwxr-xr-x 29 phill phill 928 Aug 25 12:06 _test
drwx
3 phill phill 96 Jun 9 15:07 testing configs
Is there a way around this or is it expected behaviour.
It all works well for configs located there but when I try to use the Config Selector to run a sim I end up with the following error message:
Warning: Spoiler!
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorstack {INNER {invokeStk1 treeclose /media/imac/linuxcnc/configs/..."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorstack {INNER {ScrolledWindow::_set_vscroll .main.f1.f2.f4 0.0 0...."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorstack {INNER {ScrolledWindow::_set_hscroll .main.f1.f2.f4 0.0 1...."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorstack {INNER {Tree::_update_scrollregion .main.f1.f2.f3.tree} UP..."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorstack {INNER {ScrolledWindow::_set_hscroll .main.f1.f2.f3 0.0 1...."
error in background error handler:
too many nested evaluations (infinite loop?)
while executing
"::tcl::Bgerror {too many nested evaluations (infinite loop?)} {-code 1 -level 0 -errorstack {INNER {ScrolledWindow::_set_vscroll .main.f1.f2.f3 0.0769..."
too many nested evaluations (infinite loop?)
while executing
"eval [linsert $args 0 ::Tree::$cmd .main.f1.f2.f3.tree]"
(procedure ".main.f1.f2.f3.tree" line 1)
invoked from within
"$::tree visible $::selected_node"
(procedure "treeclose" line 3)
invoked from within
"treeclose /media/imac/linuxcnc/configs/axis_metric_org"
("after" script)
too many nested evaluations (infinite loop?)
while executing
"_node_name $path $node"
(procedure "::Tree::visible" line 2)
invoked from within
"::Tree::visible .main.f1.f2.f3.tree /usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/axis.ini"
("eval" body line 1)
invoked from within
"eval [linsert $args 0 ::Tree::$cmd .main.f1.f2.f3.tree]"
(procedure ".main.f1.f2.f3.tree" line 1)
invoked from within
"$::tree visible $::selected_node"
(procedure "treeclose" line 3)
invoked from within
"treeclose /media/imac/linuxcnc/configs/axis_metric/axis_metric.ini"
("after" script)
Error in startup script: error deleting "/media/imac/linuxcnc/nc_files/remap_lib": directory not empty
while executing
"file delete $linkname"
(procedure "prompt_copy" line 69)
invoked from within
"prompt_copy $::inifile"
invoked from within
"if [ok_to_copy_config $::inifile] {
set copied_inifile [prompt_copy $::inifile]
if {$copied_inifile == ""} {
c..."
("while" body line 6)
invoked from within
"while {1} {
focus $::tree
vwait ::choice
if { $::choice == "OK" } {
if [ok_to_copy_config $::inifile] {
set copied_in..."
(file "/usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl" line 861)
The first line of this message is repeated many times.
If I set up a local linuxcnc directory everything is fine so it seems there may be something wrong with the way I have set up the mount.
I have checked permissions and the logged in user is the owner of all the directories/files in the mount.
Warning: Spoiler!
phill@stretch ~ $ ls -al /media/imac/linuxcnc/configs/
total 324
drwxr-xr-x 49 phill phill 1568 Aug 26 18:31 .
drwxr-xr-x 9 phill phill 288 Jul 11 15:55 ..
drwxr-xr-x 9 phill phill 288 Aug 27 12:55 0_org_plasmac_sims
drwxr-xr-x 6 phill phill 192 Jun 25 10:16 0_org_plasma-table
drwxr-xr-x 99 phill phill 3168 Aug 15 15:19 0_plasmac_sims
drwxr-xr-x 5 phill phill 160 Aug 25 11:32 0-test
drwxr-xr-x 19 phill phill 608 Dec 20 2016 7176e_lathe
drwxr-xr-x 16 phill phill 512 Apr 29 2017 7i76e_lathe_new
drwxr-xr-x 32 phill phill 1024 Feb 18 2017 7i90_lathe
drwxr-xr-x 28 phill phill 896 May 23 2017 7i90_mill
drwxr-xr-x 41 phill phill 1312 Aug 26 17:46 aaa
drwxr-xr-x 38 phill phill 1216 Aug 26 16:15 aab
drwxr-xr-x 52 phill phill 1664 Aug 26 18:17 aac
drwxr-xr-x 41 phill phill 1312 Aug 26 16:27 aad
drwxr-xr-x 65 phill phill 2080 Aug 26 18:27 aaf
drwxr-xr-x 50 phill phill 1600 Aug 26 18:33 aazaaz
drwxr-xr-x 37 phill phill 1184 Aug 26 18:31 aazaazaaz
drwxr-xr-x 58 phill phill 1856 Aug 27 12:47 axis_metric
drwxr-xr-x 51 phill phill 1632 Aug 26 15:06 axis_metric_org
drwxr-xr-x 55 phill phill 1760 Aug 26 15:09 axis_metric_wide
drwxr-xr-x 51 phill phill 1632 Aug 26 15:09 axis_metric_wide_org
drwxr-xr-x 10 phill phill 320 Oct 27 2016 beaglebone-configs
drwxr-xr-x 41 phill phill 1312 Aug 16 17:12 bob
drwxr-xr-x 29 phill phill 928 Aug 16 15:18 bob1
drwxr-xr-x 29 phill phill 928 Aug 16 15:47 bob2
drwxr-xr-x 29 phill phill 928 Aug 16 16:09 bob3
drwx
22 phill phill 704 Jun 1 15:06 bransby
drwx
11 phill phill 352 May 7 2018 bransby-7i76
-rw-r--r-- 1 phill phill 12292 Aug 25 11:09 .DS_Store
drwxr-xr-x 5 phill phill 160 Apr 10 2017 etch-a-sketch
drwxr-xr-x 50 phill phill 1600 Aug 20 08:41 gbob
drwxr-xr-x 66 phill phill 2112 Aug 26 18:23 gmocca_metric
drwxr-xr-x 55 phill phill 1760 Aug 26 15:03 gmocca_metric_org
drwxr-xr-x 58 phill phill 1856 Aug 26 15:03 gmocca_metric_wide
drwxr-xr-x 55 phill phill 1760 Aug 26 15:03 gmocca_metric_wide_org
drwxr-xr-x 37 phill phill 1184 Aug 25 12:30 making
drwxr-xr-x 4 phill phill 128 Aug 25 12:28 MakingStuff
drwxr-xr-x 27 phill phill 864 Aug 23 10:40 mill
drwxr-xr-x 11 phill phill 352 Jun 28 16:32 my_LinuxCNC_machine
-rw-r--r-- 1 phill phill 313166 Jun 28 16:32 my_LinuxCNC_machine.pncconf
drwxr-xr-x 7 phill phill 224 Jun 21 16:51 old
drwxr-xr-x 6 phill phill 192 May 21 2018 pendant
drwxr-xr-x 47 phill phill 1504 Aug 25 17:47 plasma_table
drwxr-xr-x 42 phill phill 1344 Jul 3 17:07 plasma_table_b4_0.2
drwxr-xr-x 33 phill phill 1056 Aug 22 16:43 ptest
drwxr-xr-x 30 phill phill 960 Jun 11 17:07 qt_plasmac
drwxr-xr-x 21 phill phill 672 May 26 13:36 sherline
drwxr-xr-x 29 phill phill 928 Aug 25 12:06 _test
drwx
3 phill phill 96 Jun 9 15:07 testing configs
Is there a way around this or is it expected behaviour.
Please Log in or Create an account to join the conversation.
27 Aug 2019 06:06 #143285
by rodw
Replied by rodw on topic TCL Errors From Config Selector
that looks remarkably similar to the errors I saw without a num_spindles parameter to motmod.
I wonder if there is something it can't see.
I wonder if there is something it can't see.
Please Log in or Create an account to join the conversation.
28 Aug 2019 00:50 #143382
by phillc54
Replied by phillc54 on topic TCL Errors From Config Selector
Dewey has kindly fixed this issue.
It was due to an unanticipated directory configuration. (my crazy setup)
So there are no inherent problems with nfs mounts or VMware or Macs.
It was due to an unanticipated directory configuration. (my crazy setup)
So there are no inherent problems with nfs mounts or VMware or Macs.
Please Log in or Create an account to join the conversation.
Time to create page: 0.070 seconds