(Solved)NameError: name 'tool' is not defined on Probe_Basic_Lathe
- EndCNC
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 1
07 Dec 2024 18:38 - 08 Dec 2024 10:23 #316205
by EndCNC
(Solved)NameError: name 'tool' is not defined on Probe_Basic_Lathe was created 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
Last edit: 08 Dec 2024 10:23 by EndCNC.
Please Log in or Create an account to join the conversation.
- EndCNC
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 1
08 Dec 2024 09:49 #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.
The following user(s) said Thank You: Lcvette
Please Log in or Create an account to join the conversation.
- Lcvette
-
- Offline
- Moderator
-
Less
More
- Posts: 1360
- Thank you received: 673
09 Dec 2024 15:25 #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 or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.426 seconds