(Solved)NameError: name 'tool' is not defined on Probe_Basic_Lathe

  • EndCNC
  • EndCNC's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
07 Dec 2024 18:38 - 08 Dec 2024 10:23 #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
Last edit: 08 Dec 2024 10:23 by EndCNC.

Please Log in or Create an account to join the conversation.

  • EndCNC
  • EndCNC's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
08 Dec 2024 09:49 #316236 by EndCNC
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.

More
09 Dec 2024 15:25 #316343 by Lcvette
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: KCJLcvette
Time to create page: 0.426 seconds
Powered by Kunena Forum