Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in __call__
return self.func(*args)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 498, in callit
func(*args)
File "/usr/bin/axis", line 512, in actual_tkRedraw
self.tkRedraw_perspective()
File "/usr/bin/axis", line 472, in tkRedraw_perspective
self.redraw_perspective()
File "/usr/lib/pymodules/python2.7/rs274/glcanon.py", line 314, in inner
return f(self, *args, **kw)
File "/usr/lib/pymodules/python2.7/rs274/glcanon.py", line 513, in redraw_perspective
self.redraw()
File "/usr/bin/axis", line 550, in redraw
GlCanonDraw.redraw(self)
File "/usr/lib/pymodules/python2.7/rs274/glcanon.py", line 1171, in redraw
limit, homed, posstrs, droposstrs = self.posstrs()
File "/usr/lib/pymodules/python2.7/rs274/glcanon.py", line 1291, in posstrs
positions[3] = math.fmod(positions[3], 360.0)
TypeError: 'tuple' object does not support item assignment
以下是我重现该问题所遵循的步骤:
这是我期望发生的事情:
预览背图左上方的 DRO 显示当前机器坐标。
这是发生了什么:
DRO 文本在预览背景图中消失了。
Python 抛出以下异常:
在此之前它工作正常:
(如果在对硬件或软件进行特定更改后行为发生了变化
,请描述您认为负责的更改。例如,“
从 LinuxCNC 2.7.3 升级到 2.7.4 后”)
有关我的硬件和软件的信息:
lsb_release -a):Debian Wheezy,随 LinuxCNC live CD 一起提供。uname -a): 3.4-9-rtai-686-pae使用 Tcl_SetResult 和 Tcl_GetStringResult #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686 GNU/Linuxscripts/get-version-from-git):2.7.11