On Tue, Aug 19, 2014 at 12:19:05AM +0000, Chris Morley wrote:
> I have noticed the script that selects/starts linuxcnc,
>  displays some errors in the terminal:

I don't see this with installed 2.6.1 or 2.6.2 on debian 7.
(running from live cd image in qemu)

I don't see this with RIP 2.6.2 on debian testing.

Methodology: ran "linuxcnc" in terminal, after
". scripts/rip-environment" if appropriate.  Test repeated in each
version with and without a ~/linuxcnc directory.

Not to say that this is not a problem, but it's either
config-directory dependent or OS dependent.

pickconfig hasn't changed much lately.  Perhaps you should try
experimentally reverting 004e7845, which changed how the tree reacts to
being opened/closed, and in fact changes the way the function
"treeclose" that is implicated in your traceback is called, making it
asynchronous.

commit 004e78453e57a8b51a7eef525d619eaa05e44db1
Author: Jeff Epler <jep...@unpythonic.net>
Date:   Sun Jun 8 09:15:20 2014 -0500

    pickconfig: speed automatic closing of other branches
    
    By deferring the treeclose/treeopen until idle, the work isn't done
    each time a single tree node is opened/closed.  Doing this work
    repeatedly (with included "update" command) caused the automatic closing
    to take an appreciable amount of time, particularly on slower machines.

diff --git a/tcl/bin/pickconfig.tcl b/tcl/bin/pickconfig.tcl
index d0ece68..d6d09cd 100755
--- a/tcl/bin/pickconfig.tcl
+++ b/tcl/bin/pickconfig.tcl
@@ -765,8 +765,8 @@ update
 set ::selected_node [$::tree selection get]
 title $::selected_node
 $::tree configure \
-        -closecmd treeclose \
-        -opencmd  treeopen
+        -closecmd {after cancel treeclose; after idle treeclose} \
+        -opencmd  {after cancel treeopen; after idle treeopen}
 
 
 proc make_shortcut {inifile} {

Jeff

------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to