Path Simulator Errors

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
bmsaus4ax
Posts: 255
Joined: Sat Nov 14, 2020 9:16 pm
Location: Bargara, Queensland, Australia UTC+10

Path Simulator Errors

Post by bmsaus4ax »

I have been receiving two different errors related to the Path Simulator with the last two updates to the 0.20 AppImage.
One is per the traceback below:
I occurs if a file is closed but FreeCAD not closed. When the next file is opened an attempt to run the Path Simulator throws up this error. The just closed file included.
If FreeCAD is closed fully and restarted the Path Simulator will run.

Code: Select all

Running the Python command 'Path_Simulator' failed:
Traceback (most recent call last):
  File "/tmp/.mount_FreeCA5hc2y5/usr/Mod/Path/PathScripts/PathSimulatorGui.py", line 588, in Activated
    pathSimulation.Activate()
  File "/tmp/.mount_FreeCA5hc2y5/usr/Mod/Path/PathScripts/PathSimulatorGui.py", line 103, in Activate
    self.onJobChange()
  File "/tmp/.mount_FreeCA5hc2y5/usr/Mod/Path/PathScripts/PathSimulatorGui.py", line 459, in onJobChange
    for op in j.Operations.OutList:

Cannot access attribute 'Operations' of deleted object
The Second error I do not have an example for as yet ; but when a Simulation is called the Dialog opens , but choosing a job in the drop down does not show an Operation to run. There has been a CutMaterial Stock shown but not for the desired operation.
Again fully closing out of FreeCAD and restarting allows normal operation.
.
Versions:
.
OS: Ubuntu 20.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.25943 (Git) AppImage
Build type: Release
Branch: master
Hash: a65464b722a846bd2999aa2fecdff1132b15b297
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/Australia (en_AU)
.
OS: Ubuntu 20.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.25997 (Git) AppImage
Build type: Release
Branch: master
Hash: 77b198048a63f1e9ca15eef64c8042d599a14cf3
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/Australia (en_AU)
Post Reply