- Posts: 2
- Thank you received: 0
(Solved)NameError: name 'tool' is not defined on Probe_Basic_Lathe
1 year 10 months ago #316205
by EndCNC
Hello,
I have the following problem: Every time I want to change a tool, I get this error message
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 1453, in update_tool
self.tool_bit_actor = ToolBitActor(self._datasource)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/tool_actor.py", line 423, in __init__
points.InsertNextPoint((self.tool.xoffset, 0.0, -tool.zoffset))
^^^^
NameError: name 'tool' is not defined
I completely rebuilt the system as described in Git. Everything seems to be working great, except for changing the tools. Does anyone have an idea what it could be?Greetings, Sebastian
I have the following problem: Every time I want to change a tool, I get this error message
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 1453, in update_tool
self.tool_bit_actor = ToolBitActor(self._datasource)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/tool_actor.py", line 423, in __init__
points.InsertNextPoint((self.tool.xoffset, 0.0, -tool.zoffset))
^^^^
NameError: name 'tool' is not defined
I completely rebuilt the system as described in Git. Everything seems to be working great, except for changing the tools. Does anyone have an idea what it could be?Greetings, Sebastian
Please Log in to join the conversation.
1 year 10 months ago #316236
by EndCNC
Replied by EndCNC on topic NameError: name 'tool' is not defined on Probe_Basic_Lathe
Problem solved! The solution was a clean uninstallation and then a complete reinstallation.
Please Log in to join the conversation.
1 year 10 months ago #316343
by Lcvette
Replied by Lcvette on topic NameError: name 'tool' is not defined on Probe_Basic_Lathe
Glad you got it sorted, I think there is a patch for linuxcnc versions after the lockdown 2.9.3 for this issue, it was discussed in a previous thread I think.
Please Log in to join the conversation.
Time to create page: 0.072 seconds
