(Please fill in this issue template with as much information as you can about the
circumstances under which the issue occurred, and the steps needed to reproduce it.)
Steps to reproduce the problem
(provide as detailed a step by step as you can)
This is what I expected to happen
(explain what you thought should have happened)
This is what happened instead
(explain what happened instead)
It worked properly before this
(did it work before? what changed?)
Traceback
Traceback (most recent call last):
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 409, in load_program
for wcs_index, actor in self.path_actors.items():
File "/home/rudi/.local/lib/python2.7/site-packages/vtk/qt/QVTKRenderWindowInteractor.py", line 309, in __getattr__
" has no attribute named " + attr)
AttributeError: VTKBackPlot has no attribute named path_actors
Options
{
"command_line_args": null,
"config_file": "/home/rudi/linuxcnc/configs/config/probe_basic/custom_config.yml",
"confirm_exit": false,
"develop": false,
"fullscreen": null,
"help": false,
"hide_cursor": false,
"hide_menu_bar": false,
"hide_status_bar": false,
"info": false,
"ini": "/home/rudi/linuxcnc/configs/config/probe_basic/probe_basic.ini",
"log_file": "/home/rudi/linuxcnc/configs/config/probe_basic/sim.log",
"log_level": "DEBUG",
"maximize": null,
"perfmon": false,
"position": "0x0",
"qt_api": null,
"size": null,
"stylesheet": null,
"theme": null,
"version": false
}
System Info
* Description: Debian GNU/Linux 10 (buster)
* Kernel: 4.19.0-23-rt-amd64
* Qt version: v5.11.3
* Qt bindings: PyQt5 v5.11.3
* LinuxCNC version: v2.8.4
* QtPyVCP version: v0.3.19+18.gee2deacc
Attachments
Please also find and attach the following files, along with any others that may be helpful:
- /home/rudi/linuxcnc/configs/config/probe_basic/sim.log
2023-02-06 18:10:58,499 - qtpyvcp - INFO - Logging to /home/rudi/linuxcnc/configs/config/probe_basic/sim.log
2023-02-06 18:10:58,499 - qtpyvcp - INFO - QtPyVCP Version: v0.3.19+18.gee2deacc
2023-02-06 18:10:58,535 - qtpyvcp - DEBUG - Qt Version: 5.11.3
2023-02-06 18:10:58,536 - qtpyvcp - DEBUG - Qt API: QT_API
2023-02-06 18:10:58,536 - qtpyvcp - DEBUG - QtPy Version: 1.11.3
2023-02-06 18:10:58,536 - qtpyvcp - DEBUG - Command line options:
{
"command_line_args": null,
"config_file": "/home/rudi/linuxcnc/configs/config/probe_basic/custom_config.yml",
"confirm_exit": false,
"develop": false,
"fullscreen": null,
"help": false,
"hide_cursor": false,
"hide_menu_bar": false,
"hide_status_bar": false,
"info": false,
"ini": "/home/rudi/linuxcnc/configs/config/probe_basic/probe_basic.ini",
"log_file": "/home/rudi/linuxcnc/configs/config/probe_basic/sim.log",
"log_level": "DEBUG",
"maximize": null,
"perfmon": false,
"position": "0x0",
"qt_api": null,
"size": null,
"stylesheet": null,
"theme": null,
"version": false
}
2023-02-06 18:10:58,730 - qtpyvcp.utilities.config_loader - DEBUG - Loading config files: ['/home/rudi/linuxcnc/configs/config/probe_basic/custom_config.yml', '/home/rudi/.local/lib/python2.7/site-packages/probe_basic/probe_basic.yml', '/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/yaml_lib/default_config.yml']
2023-02-06 18:10:59,105 - qtpyvcp.utilities.config_loader - DEBUG - Merged YAML config:
default_menubar:
- title: File
items:
- title: '&Open ...'
action: win.openFile
shortcut: ctrl+o
- title: '&Recent Files'
provider: qtpyvcp.widgets.recent_files_menu:RecentFilesMenu
- title: '&Reload'
action: program.reload
- title: '&Close'
action: program.clear
- title: Save &As
action: null
- separator
- title: Edit ToolTable
action: win.showDialog
args:
- separator
- title: Exit
action: app.exit
shortcut: ctrl+q
- title: Machine
items:
- title: Toggle E-Stop
action: machine.estop.toggle
shortcut: F1
- title: Toggle Power
action: machine.power.toggle
shortcut: F2
- separator
- title: Run Program
action: program.run
shortcut: R
- title: Step
action: program.step
shortcut: T
- title: Pause
action: program.pause
shortcut: P
- title: Resume
action: program.resume
shortcut: R
- title: Abort
action: program.abort
shortcut: esc
- title: Optional Stop
action: program.optional_stop.toggle
- title: Optional Skip
action: program.optional_skip.toggle
- separator
- title: Homing
provider: qtpyvcp.widgets.menus.homing_menu:HomingMenu
- title: Cooling
items:
- title: Flood
action: coolant.flood.toggle
shortcut: F7
- title: Mist
action: coolant.mist.toggle
shortcut: F8
- title: Set Work Offsets
action: win.showDialog
args:
- separator
- title: Override Limits
action: machine.override_limits
- title: Settings
items:
- title: Show On-screen Keyboard
action: settings.virtual-input.enable
- title: View
items:
- title: Show Gridlines
action: settings.backplot.show-grid
- separator
- title: Show Machine Bounds
action: settings.backplot.show-machine-bounds
- title: Show Machine Labels
action: settings.backplot.show-machine-labels
- title: Show Machine Ticks
action: settings.backplot.show-machine-ticks
- separator
- title: Show Program Bounds
action: settings.backplot.show-program-bounds
- title: Show Program Labels
action: settings.backplot.show-program-labels
- title: Show Program Ticks
action: settings.backplot.show-program-ticks
- title: Use Colors per Tool
action: settings.backplot.multitool-colors
- separator
- title: Perspective View
action: settings.backplot.perspective-view
- title: View Angle
action: settings.backplot.view
- title: Tools
items:
- title: HAL Meter
action: tool.halmeter
- title: HAL Scope
action: tool.halscope
- title: HAL Show
action: tool.halshow
- title: LCNC Status
action: tool.status
- title: Calibration
action: tool.calibration
- title: Classicladder PLC
action: tool.classicladder
- title: Simulated Probe
action: tool.simulate_probe
- title: About
items:
- title: About QtPyVCP
action: win.showDialog
args:
- title: About Qt
action: app.aboutQt
vcp:
name: Probe Basic
version: v0.0.1
author: Chris Polanski
description: Probe Basic description ...
windows:
mainwindow:
provider: probe_basic.probe_basic:ProbeBasic
kwargs:
menu: &id001
- title: File
items:
- title: '&Open ...'
action: win.openFile
shortcut: ctrl+o
- title: '&Recent Files'
provider: qtpyvcp.widgets.recent_files_menu:RecentFilesMenu
- title: '&Reload'
action: program.reload
- title: '&Close'
action: program.clear
- title: Save &As
action: null
- separator
- title: Exit
action: app.exit
shortcut: ctrl+q
- title: Machine
items:
- title: Toggle E-Stop
action: machine.estop.toggle
shortcut: F1
- title: Toggle Power
action: machine.power.toggle
shortcut: F2
- separator
- title: Run Program
action: program.run
shortcut: R
- title: Step
action: program.step
shortcut: T
- title: Pause
action: program.pause
shortcut: P
- title: Resume
action: program.resume
shortcut: R
- title: Abort
action: program.abort
shortcut: esc
- title: Optional Stop
action: program.optional_stop.toggle
- title: Optional Skip
action: program.optional_skip.toggle
- separator
- title: Homing
provider: qtpyvcp.widgets.menus.homing_menu:HomingMenu
- title: Cooling
items:
- title: Flood
action: coolant.flood.toggle
shortcut: F7
- title: Mist
action: coolant.mist.toggle
shortcut: F8
- title: Set Work Offsets
action: win.showDialog
args:
- separator
- title: Override Limits
action: machine.override_limits
- title: Settings
items:
- title: Show On-screen Keyboard
action: settings.virtual-input.enable
- title: View
items:
- title: Show Gridlines
action: settings.backplot.show-grid
- separator
- title: Show Machine Bounds
action: settings.backplot.show-machine-bounds
- title: Show Machine Labels
action: settings.backplot.show-machine-labels
- title: Show Machine Ticks
action: settings.backplot.show-machine-ticks
- separator
- title: Show Program Bounds
action: settings.backplot.show-program-bounds
- title: Show Program Labels
action: settings.backplot.show-program-labels
- title: Show Program Ticks
action: settings.backplot.show-program-ticks
- separator
- title: Perspective View
action: settings.backplot.perspective-view
- title: View Angle
action: settings.backplot.view
- title: Tools
items:
- title: HAL Meter
action: tool.halmeter
- title: HAL Scope
action: tool.halscope
- title: HAL Show
action: tool.halshow
- title: LCNC Status
action: tool.status
- title: Calibration
action: tool.calibration
- title: Classicladder PLC
action: tool.classicladder
- title: About
items:
- title: About Probe Basic
action: win.showDialog
args:
- title: About QtPyVCP
action: win.showDialog
args:
- title: About Qt
action: app.aboutQt
fullscreen: true
ui_file: /home/rudi/.local/lib/python2.7/site-packages/probe_basic/probe_basic.ui
confirm_exit: false
data_plugins:
status:
provider: qtpyvcp.plugins.status:Status
kwargs:
cycle_time: 15
persistent_data_manager:
provider: qtpyvcp.plugins.persistent_data_manager:PersistentDataManager
kwargs:
serialization_method: pickle
settings:
provider: qtpyvcp.plugins.settings:Settings
position:
provider: qtpyvcp.plugins.positions:Position
kwargs:
report_actual_pos: true
use_program_units: true
tooltable:
provider: qtpyvcp.plugins.tool_table:ToolTable
kwargs:
columns: TXYZDR
offsettable:
provider: qtpyvcp.plugins.offset_table:OffsetTable
notifications:
provider: qtpyvcp.plugins.notifications:Notifications
kwargs:
enabled: true
mode: native
max_messages: 5
persistent: true
file_locations:
provider: qtpyvcp.plugins.file_locations:FileLocations
log_level: debug
kwargs:
default_location: NC Files
local_locations:
Home: ~/
Desktop: ~/Desktop
NC Files: ~/linuxcnc/nc_files
network_locations: null
exportedhal:
provider: qtpyvcp.plugins.exported_hal:ExportedHal
virtual_input:
provider: qtpyvcp.plugins.virtual_input_manager:VirtualInputManager
dialogs:
open_file:
provider: qtpyvcp.widgets.dialogs.open_file_dialog:OpenFileDialog
set_work_offsets:
provider: qtpyvcp.widgets.dialogs.offsets_dialog:OffsetsDialog
tool_edit:
provider: qtpyvcp.widgets.dialogs.tool_edit_dialog:ToolEditDialog
probe_sim:
provider: qtpyvcp.widgets.dialogs.probesim_dialog:ProbeSim
about_qtpyvcp:
provider: qtpyvcp.widgets.dialogs.about_dialog:AboutDialog
about_probebasic:
provider: qtpyvcp.widgets.dialogs.about_dialog:AboutDialog
kwargs:
ui_file: /home/rudi/.local/lib/python2.7/site-packages/probe_basic/about.ui
virtual_input_providers:
number:
provider: qtpyvcp.widgets.virtual_input.virtual_input:VirtualInput
kwargs:
ui_file: /home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/yaml_lib/../widgets/virtual_input/numpad.ui
text:
provider: qtpyvcp.widgets.virtual_input.virtual_input:VirtualInput
kwargs:
ui_file: /home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/yaml_lib/../widgets/virtual_input/keyboard.ui
application:
provider: qtpyvcp.app.application:VCPApplication
kwargs:
stylesheet: /home/rudi/.local/lib/python2.7/site-packages/probe_basic/probe_basic.qss
settings:
touch-probe.diameter-offset:
default_value: 0.123123
persistent: true
min_value: 0
max_value: 1
dro.display-units:
default_value: 0
options:
- Auto
- Inch
- Metric
dro.lathe-radius-mode:
default_value: 0
options:
- Auto
- Radius
- Diameter
dro.inch-format:
default_value: '%9.4f'
value_type: str
dro.millimeter-format:
default_value: '%9.3f'
value_type: str
dro.degree-format:
default_value: '%9.2f'
backplot.show-grid:
default_value: false
backplot.show-program-bounds:
default_value: false
backplot.show-program-labels:
default_value: false
backplot.show-program-ticks:
default_value: false
backplot.show-machine-bounds:
default_value: false
backplot.show-machine-labels:
default_value: false
backplot.show-machine-ticks:
default_value: false
backplot.perspective-view:
default_value: false
backplot.view:
default_value: P
options:
- 'X: Front View'
- 'XZ: Lathe View'
- 'XZ2: Lathe View'
- 'Y: Front View'
- 'Z: Top View'
- 'Z2: Bottom View'
- 'P: Isometric'
backplot.multitool-colors:
default_value: true
touch-probe.calibration-offset:
description: Probe trigger point offset.
default_value: 0.0
persistent: true
min_value: 0
max_value: 1
probe-parameters.probe-tool-number:
description: probe tool number.
default_value: 0.0
persistent: true
min_value: 0
max_value: 9999
probe-parameters.step-off-width:
description: probe step off width.
default_value: 0.0
persistent: true
min_value: 0
max_value: 1000
probe-parameters.probe-fast-fr:
description: probe fast feedrate.
default_value: 0.0
persistent: true
min_value: 0
max_value: 1000
probe-parameters.probe-slow-fr:
description: probe slow feedrate.
default_value: 0.0
persistent: true
min_value: 0
max_value: 1000
probe-parameters.max-xy-distance:
description: max x and y probe travel distance.
default_value: 0.0
persistent: true
min_value: 0
max_value: 100
probe-parameters.xy-clearance:
description: x and y clearance distance.
default_value: 0.0
persistent: true
min_value: 0
max_value: 1000
probe-parameters.max-z-distance:
description: max z probe travel distance.
default_value: 0.0
persistent: true
min_value: 0
max_value: 100
probe-parameters.z-clearance:
description: z clearance distance.
default_value: 0.0
persistent: true
min_value: 0
max_value: 1000
probe-parameters.extra-probe-depth:
description: extra probe depth.
default_value: 0.0
persistent: true
min_value: 0
max_value: 100
probe-parameters.edge-width:
description: edge width probing distance.
default_value: 0.0
persistent: true
min_value: 0
max_value: 1000
tool-change-position.x-tool-change-position:
description: x axis tool change position.
default_value: 0.0
persistent: true
min_value: -1000
max_value: 1000
tool-change-position.y-tool-change-position:
description: y axis tool change position.
default_value: 0.0
persistent: true
min_value: -1000
max_value: 1000
tool-change-position.z-tool-change-position:
description: z axis tool change position.
default_value: 0.0
persistent: true
min_value: -1000
max_value: 1000
tool-setter-probe.fast-probe-fr:
description: tool probe fast feedrate.
default_value: 0.0
persistent: true
min_value: -1000
max_value: 1000
tool-setter-probe.slow-probe-fr:
description: tool probe slow feedrate.
default_value: 0.0
persistent: true
min_value: -1000
max_value: 1000
tool-setter-probe.z-max-travel:
description: maximumm z travel while probing before erroring out.
default_value: 0.0
persistent: true
min_value: -1000
max_value: 1000
tool-setter-probe.xy-max-travel:
description: maximumm xy travel while probing before erroring out.
default_value: 0.0
persistent: true
min_value: -1000
max_value: 1000
tool-setter-probe.retract-distance:
description: distance tool retracts after fast probe move.
default_value: 0.0
persistent: true
min_value: -1000
max_value: 1000
tool-setter-probe.spindle-nose-height:
description: distance from home to tool setter for the spindle nose.
default_value: 0.0
persistent: true
min_value: -1000
max_value: 1000
programmable-coolant.active:
description: activates programmable coolant with 1 as entry.
default_value: 0.0
persistent: true
min_value: 0
max_value: 1
programmable-coolant.spindle-to-nozzle-dist:
description: horizontal distance from spindle centerline to nozzle centerline.
default_value: 0.0
persistent: true
min_value: -1000
max_value: 1000
programmable-coolant.gaugeline-to-nozzle-dist:
description: vertical distance from spindle centerline to nozzle centerline.
default_value: 0.0
persistent: true
min_value: -1000
max_value: 1000
programmable-coolant.pc-angle-offset:
description: coolant nozzle offset amount to adjust for distance, pressure, gravity.
default_value: 0.0
persistent: true
min_value: -45
max_value: 45
menubar: *id001
qtdesigner:
ui_file: /home/rudi/.local/lib/python2.7/site-packages/probe_basic/probe_basic.ui
qss_file: /home/rudi/.local/lib/python2.7/site-packages/probe_basic/probe_basic.qss
2023-02-06 18:10:59,320 - qtpyvcp.utilities.info - INFO - The machine has 5 axes and 5 joints
2023-02-06 18:10:59,321 - qtpyvcp.utilities.info - INFO - The Axis/Joint mapping is:
2023-02-06 18:10:59,321 - qtpyvcp.utilities.info - INFO - Axis X --> Joint 0
2023-02-06 18:10:59,321 - qtpyvcp.utilities.info - INFO - Axis Y --> Joint 1
2023-02-06 18:10:59,321 - qtpyvcp.utilities.info - INFO - Axis Z --> Joint 2
2023-02-06 18:10:59,321 - qtpyvcp.utilities.info - INFO - Axis A --> Joint 3
2023-02-06 18:10:59,321 - qtpyvcp.utilities.info - INFO - Axis B --> Joint 4
2023-02-06 18:10:59,321 - qtpyvcp.app.launcher - DEBUG - Time: 0.000 (+0.000) - in script
2023-02-06 18:10:59,322 - qtpyvcp.app.launcher - DEBUG - Loading data plugings
2023-02-06 18:10:59,322 - qtpyvcp.plugins - DEBUG - Loading plugin 'status' from 'qtpyvcp.plugins.status:Status'
2023-02-06 18:10:59,359 - qtpyvcp.plugins.status - DEBUG - ---------set mdi_history: None, ['t64 m6', 'g92 x0 y0 z0', 'g53 g0 x200 y350 z50', 'g30 z150', 'g30 z2.5', 'g0 g30.1 x0 y0 z200.', 'g0 g30.1 x0 y0 z250.', 'g30.1 x0 y0 z250.', 'g30.1 z250', 't64 m6', 'g92 x0 y0 z0', 'g53 g0 x50 y50 z50', 'g54 g92 x50 y50 z50', 'g54 x50 y50 z50', 't64 m6', 't2 m6', 'g92 x0 y0 z0', 'g54', 'g53 g0 x35 y35 z35', 'g0 x0 y0 z0', 'g54', 'g28', 'g92 x0 y0 z0', 'g54', 'g54 g0', 'g0 x25 y30 z35', 'g53 g0', 'g53', 'g54 g92 x25 y30 z35', 'g92 x0 y0 z0', 'g54 g0 x40 y 40 z50', 'g92 x25 y30 z35', 'g54 g92 x25 y30 z35', 'g28', 'm6 p28', 'm60 p28', 'g0 p28', 'p28', 'm60', 'g28.1 x 50 y 750 z200', 'g49', 'g43', 'g0 x0 y0', 'g54 g0 z0', 'g53 g0', 'g53', 'g53 g0', 'g53 g0 x240', 'g1 x-200 f100', 'g1 x200 f100', 'g0 x240 y350 z-100', 'g53 g0', 'g0 x240 y350 z-100', 'g53 g0', 'g21', 'g53 g0', 'g53', 'g0 x240 y350 z-100', 'g53 g0 x240 y350 z-100', 'g92 x0 y0 z0', 'g0 x240 y350 z-100', 'g92 x0 y0 z0', 'g1 x200 f100', 'g1 x0 f100', 'g1 x-199 f100', 'g1 x-200 f100', 'g1 x200 f100', 'g1 x-200 f100', 'g1 x-300 f100', 'g1 x300 f100', 'm5', 's10000 m3', 'm5', 's10000 m4', 'm5', 's10000 m3', 'm5', 's10000 m3', 'm5', 's10000 m3', 'm5', 'm3 s1000', 'm5', 's24000 m3', 's5000 m3', 'g92 x0 y0 z0']
2023-02-06 18:10:59,365 - qtpyvcp.plugins - DEBUG - Loading plugin 'persistent_data_manager' from 'qtpyvcp.plugins.persistent_data_manager:PersistentDataManager'
2023-02-06 18:10:59,367 - qtpyvcp.plugins - DEBUG - Loading plugin 'settings' from 'qtpyvcp.plugins.settings:Settings'
2023-02-06 18:10:59,368 - qtpyvcp.plugins - DEBUG - Loading plugin 'position' from 'qtpyvcp.plugins.positions:Position'
2023-02-06 18:10:59,369 - qtpyvcp.plugins - DEBUG - Loading plugin 'tooltable' from 'qtpyvcp.plugins.tool_table:ToolTable'
2023-02-06 18:10:59,374 - qtpyvcp.plugins - DEBUG - Loading plugin 'offsettable' from 'qtpyvcp.plugins.offset_table:OffsetTable'
2023-02-06 18:10:59,375 - qtpyvcp.plugins - DEBUG - Loading plugin 'notifications' from 'qtpyvcp.plugins.notifications:Notifications'
2023-02-06 18:10:59,382 - qtpyvcp.plugins - DEBUG - Loading plugin 'file_locations' from 'qtpyvcp.plugins.file_locations:FileLocations'
2023-02-06 18:10:59,440 - qtpyvcp.plugins - DEBUG - Loading plugin 'virtual_input' from 'qtpyvcp.plugins.virtual_input_manager:VirtualInputManager'
2023-02-06 18:10:59,440 - qtpyvcp.app.launcher - DEBUG - Time: 0.119 (+0.119) - done loading data plugins
2023-02-06 18:10:59,441 - qtpyvcp.app.launcher - DEBUG - Initializing app
2023-02-06 18:10:59,520 - qtpyvcp.plugins - DEBUG - Initializing 'status' plugin
2023-02-06 18:10:59,520 - qtpyvcp.plugins.status - DEBUG - Starting periodic updates with 15ms cycle time
2023-02-06 18:10:59,521 - qtpyvcp.plugins - DEBUG - Initializing 'persistent_data_manager' plugin
2023-02-06 18:10:59,521 - qtpyvcp.plugins - DEBUG - Initializing 'settings' plugin
2023-02-06 18:10:59,521 - qtpyvcp.plugins - DEBUG - Initializing 'position' plugin
2023-02-06 18:10:59,521 - qtpyvcp.plugins - DEBUG - Initializing 'tooltable' plugin
2023-02-06 18:10:59,521 - qtpyvcp.plugins - DEBUG - Initializing 'offsettable' plugin
2023-02-06 18:10:59,521 - qtpyvcp.plugins - DEBUG - Initializing 'notifications' plugin
2023-02-06 18:10:59,522 - qtpyvcp.plugins - DEBUG - Initializing 'file_locations' plugin
2023-02-06 18:10:59,538 - qtpyvcp.plugins - DEBUG - Initializing 'virtual_input' plugin
2023-02-06 18:10:59,592 - qtpyvcp - INFO - Loading global stylesheet: /home/rudi/.local/lib/python2.7/site-packages/probe_basic/probe_basic.qss
2023-02-06 18:10:59,598 - qtpyvcp.app.launcher - DEBUG - Time: 0.277 (+0.158) - done initializing app
2023-02-06 18:10:59,598 - qtpyvcp.app.launcher - DEBUG - Loading dialogs
2023-02-06 18:10:59,861 - qtpyvcp.app.launcher - DEBUG - Time: 0.540 (+0.263) - done loading dialogs
2023-02-06 18:10:59,861 - qtpyvcp.app.launcher - DEBUG - Loading windows
2023-02-06 18:11:00,795 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------using refactored vtk code
2023-02-06 18:11:00,796 - qtpyvcp.widgets.display_widgets.vtk_backplot.linuxcnc_datasource - DEBUG - self._status.stat.g5x_offset: <type 'tuple'>
2023-02-06 18:11:00,796 - qtpyvcp.widgets.display_widgets.vtk_backplot.linuxcnc_datasource - DEBUG - -----current_wcs index: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
2023-02-06 18:11:00,796 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------active_wcs_index 0
2023-02-06 18:11:00,796 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------active_wcs_offset (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
2023-02-06 18:11:00,797 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------wcs_offsets {0: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 1: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 2: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 3: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 4: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 5: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 6: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 7: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 8: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]}
2023-02-06 18:11:00,808 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------translate1: (0.0, 0.0, 0.0)
2023-02-06 18:11:00,808 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------active_wcs_offset: (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
2023-02-06 18:11:00,847 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - show grid
2023-02-06 18:11:00,848 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - Setting view to: P
2023-02-06 18:11:00,881 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------using refactored vtk code
2023-02-06 18:11:00,881 - qtpyvcp.widgets.display_widgets.vtk_backplot.linuxcnc_datasource - DEBUG - self._status.stat.g5x_offset: <type 'tuple'>
2023-02-06 18:11:00,881 - qtpyvcp.widgets.display_widgets.vtk_backplot.linuxcnc_datasource - DEBUG - -----current_wcs index: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
2023-02-06 18:11:00,882 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------active_wcs_index 0
2023-02-06 18:11:00,882 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------active_wcs_offset (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
2023-02-06 18:11:00,882 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------wcs_offsets {0: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 1: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 2: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 3: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 4: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 5: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 6: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 7: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 8: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]}
2023-02-06 18:11:00,893 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------translate1: (0.0, 0.0, 0.0)
2023-02-06 18:11:00,893 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------active_wcs_offset: (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
2023-02-06 18:11:00,931 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - show grid
2023-02-06 18:11:00,934 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - Setting view to: P
2023-02-06 18:11:01,624 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------using refactored vtk code
2023-02-06 18:11:01,624 - qtpyvcp.widgets.display_widgets.vtk_backplot.linuxcnc_datasource - DEBUG - self._status.stat.g5x_offset: <type 'tuple'>
2023-02-06 18:11:01,625 - qtpyvcp.widgets.display_widgets.vtk_backplot.linuxcnc_datasource - DEBUG - -----current_wcs index: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
2023-02-06 18:11:01,625 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------active_wcs_index 0
2023-02-06 18:11:01,625 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------active_wcs_offset (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
2023-02-06 18:11:01,625 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------wcs_offsets {0: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 1: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 2: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 3: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 4: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 5: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 6: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 7: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 8: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]}
2023-02-06 18:11:01,637 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------translate1: (0.0, 0.0, 0.0)
2023-02-06 18:11:01,638 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - ---------active_wcs_offset: (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
2023-02-06 18:11:01,678 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - show grid
2023-02-06 18:11:01,679 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - Setting view to: P
2023-02-06 18:11:02,436 - qtpyvcp.app.launcher - CRITICAL - Unhandled exception in probe_basic line 8
Traceback (most recent call last):
File "/home/rudi/.local/bin/probe_basic", line 8, in
sys.exit(main())
File "/home/rudi/.local/lib/python2.7/site-packages/probe_basic/init.py", line 20, in main
qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/init.py", line 27, in run_vcp
run(*args, **kwargs)
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/app/init.py", line 129, in run
launch_application(opts, config)
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 78, in launch_application
loadWindows(config['windows'])
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 228, in loadWindows
window = _initialize_object_from_dict(window_dict)
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 208, in _initialize_object_from_dict
return obj(*args, **kwargs)
File "/home/rudi/.local/lib/python2.7/site-packages/probe_basic/probe_basic.py", line 24, in init
super(ProbeBasic, self).init(*args, **kwargs)
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 57, in init
self.setMenuBar(self.buildMenuBar(menu))
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 246, in buildMenuBar
recursiveAddItems(menu_bar, menus)
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 231, in recursiveAddItems
recursiveAddItems(new_menu, items)
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/widgets/form_widgets/main_window.py", line 235, in recursiveAddItems
new_menu = _initialize_object_from_dict(item, parent=menu)
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/app/launcher.py", line 208, in _initialize_object_from_dict
return obj(*args, **kwargs)
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/widgets/recent_files_menu.py", line 56, in init
self.update(files or self.status.recent_files())
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/widgets/recent_files_menu.py", line 61, in update
fname = fname.encode('utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 31: ordinal not in range(128)
2023-02-06 18:11:02,758 - qtpyvcp.actions.program_actions - DEBUG - Loading NC program: /home/rudi/linuxcnc/nc_files/pb_examples/blank.ngc
2023-02-06 18:11:02,822 - qtpyvcp.plugins.offset_table - DEBUG - Params file changed: /home/rudi/linuxcnc/configs/config/probe_basic/sim.var
2023-02-06 18:11:02,824 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - -------load_program
2023-02-06 18:11:02,824 - qtpyvcp.app.launcher - CRITICAL - Unhandled exception in vtk_backplot.py line 409
Traceback (most recent call last):
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 409, in load_program
for wcs_index, actor in self.path_actors.items():
File "/home/rudi/.local/lib/python2.7/site-packages/vtk/qt/QVTKRenderWindowInteractor.py", line 309, in getattr
" has no attribute named " + attr)
AttributeError: VTKBackPlot has no attribute named path_actors
2023-02-06 18:11:02,873 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - on_offset_table_changed
2023-02-06 18:11:02,873 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - on_offset_table_changed
2023-02-06 18:11:02,873 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - on_offset_table_changed
2023-02-06 18:11:57,278 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - -------load_program
2023-02-06 18:11:57,279 - qtpyvcp.app.launcher - CRITICAL - Unhandled exception in vtk_backplot.py line 409
Traceback (most recent call last):
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 409, in load_program
for wcs_index, actor in self.path_actors.items():
File "/home/rudi/.local/lib/python2.7/site-packages/vtk/qt/QVTKRenderWindowInteractor.py", line 309, in getattr
" has no attribute named " + attr)
AttributeError: VTKBackPlot has no attribute named path_actors
2023-02-06 18:11:57,305 - qtpyvcp.widgets.display_widgets.vtk_backplot.vtk_backplot - DEBUG - -------load_program
2023-02-06 18:11:57,305 - qtpyvcp.app.launcher - CRITICAL - Unhandled exception in vtk_backplot.py line 409
Traceback (most recent call last):
File "/home/rudi/.local/lib/python2.7/site-packages/qtpyvcp/widgets/display_widgets/vtk_backplot/vtk_backplot.py", line 409, in load_program
for wcs_index, actor in self.path_actors.items():
File "/home/rudi/.local/lib/python2.7/site-packages/vtk/qt/QVTKRenderWindowInteractor.py", line 309, in getattr
" has no attribute named " + attr)
AttributeError: VTKBackPlot has no attribute named path_actors
- /home/rudi/linuxcnc/configs/config/probe_basic/custom_config.yml
example of a machine specific settings
windows:
mainwindow:
kwargs:
confirm_exit: false
settings:
VTK backplot view settings
backplot.show-grid:
default_value: false
backplot.show-program-bounds:
default_value: false
backplot.show-program-labels:
default_value: false
backplot.show-program-ticks:
default_value: false
backplot.show-machine-bounds:
default_value: false
backplot.show-machine-labels:
default_value: false
backplot.show-machine-ticks:
default_value: false
backplot.perspective-view:
default_value: false
backplot.view:
default_value: P
options: ["X: Front View", "XZ: Lathe View", "XZ2: Lathe View", "Y: Front View", "Z: Top View", "Z2: Bottom View", "P: Isometric"]
backplot.multitool-colors:
default_value: True