KeyError vtk_backplot
15 Oct 2024 15:55 - 15 Oct 2024 21:48 #312167
by FedX
KeyError vtk_backplot was created by FedX
hi,
i'm not sure if this is a bug or not.. I'm using the devolper version and even re installed it.
When changing the WCS to another than G54 directly after referencing the machine, i will get a backplot error when loading a nc program. I use the example ones "3D_CHIPS.ngs and THREADING.ngc..
File: vtk_backplot.py line 767, in load_program
point_01_pos = self.path_offset_start_point[prev_wcs_index]
it happens here:
LOG.debug("
length(path_actors): {}".format(len(self.path_actors)))
if len(self.path_actors) > 1:
# Load the start point of rapid from the next offset paths
LOG.error(f"prev_wcs_index {prev_wcs_index} not found in path_offset_start_point")
point_01_pos = self.path_offset_start_point[prev_wcs_index]
out:
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][DEBUG]
wcs_index: 1 (vtk_backplot.py:705)
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][DEBUG]
current_offsets: [50.0, 50.0, 0.0, 0.0, 0.0, 0.0] (vtk_backplot.py:709)
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][DEBUG]
current_position: 50.0 (vtk_backplot.py:750)
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][DEBUG]
length(path_actors): 2 (vtk_backplot.py:766)
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][ERROR] prev_wcs_index 0 not found in path_offset_start_point (vtk_backplot.py:769)
[qtpyvcp.app.launcher][CRITICAL] Unhandled exception in vtk_backplot.py line 770 (launcher.py:37)
Seems that this code was changed two months ago..
br
i'm not sure if this is a bug or not.. I'm using the devolper version and even re installed it.
When changing the WCS to another than G54 directly after referencing the machine, i will get a backplot error when loading a nc program. I use the example ones "3D_CHIPS.ngs and THREADING.ngc..
File: vtk_backplot.py line 767, in load_program
point_01_pos = self.path_offset_start_point[prev_wcs_index]
it happens here:
LOG.debug("
length(path_actors): {}".format(len(self.path_actors)))
if len(self.path_actors) > 1:
# Load the start point of rapid from the next offset paths
LOG.error(f"prev_wcs_index {prev_wcs_index} not found in path_offset_start_point")
point_01_pos = self.path_offset_start_point[prev_wcs_index]
out:
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][DEBUG]
wcs_index: 1 (vtk_backplot.py:705)
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][DEBUG]
current_offsets: [50.0, 50.0, 0.0, 0.0, 0.0, 0.0] (vtk_backplot.py:709)
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][DEBUG]
current_position: 50.0 (vtk_backplot.py:750)
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][DEBUG]
length(path_actors): 2 (vtk_backplot.py:766)
[qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot][ERROR] prev_wcs_index 0 not found in path_offset_start_point (vtk_backplot.py:769)
[qtpyvcp.app.launcher][CRITICAL] Unhandled exception in vtk_backplot.py line 770 (launcher.py:37)
Seems that this code was changed two months ago..
br
Last edit: 15 Oct 2024 21:48 by FedX.
Please Log in or Create an account to join the conversation.
Time to create page: 0.059 seconds