On 08/12/2016 02:31 PM, Michael Büsch wrote:
> Selecting Y-axis and then pressing Touch Off results in this exception:
>
> Exception in Tkinter callback
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1545, in __call__
>     return self.func(*args)
>   File "/home/mb/develop/git/linuxcnc/bin/axis", line 2323, in jog_plus
>     a = "xyzabcuvw".index(a)
> ValueError: substring not found
>
>
> See this issue for further discussion of the problem and a possible
> workaround:
>
> https://github.com/machinekit/machinekit/issues/1034

Thanks for the pointer to that discussion.

We have the same issue in LinuxCNC 2.6 and 2.7 (though not in master, 
since the Joints/Axes changes there replaced the problematic code).

Jeff tracked the problem down to a data type coercion issue on the 
tcl/python boundary, affecting Debian Stretch (Tcl 8.6 and Python 
2.7.11) but not Debian Jessie (Tcl 8.6 and Python 2.7.9).

The jog function in the Axis gui tries to work with axis names as 
strings, but the "Y" axis name gets coerced into the boolean value True. 
  The other axes have names that don't look like booleans to the 
software stack, so they are not affected by this issue.

That's the analysis so far, a fix is still pending...


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to