View Issue Details

IDProjectCategoryView StatusLast Update
0004817PathBugpublic2022-01-19 18:11
Reporteranka Assigned Tosliptonic  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version0.20 
Summary0004817: CAM Simulator fails
DescriptionLast known version the problem did not appear : FreeCAD_weekly-builds-26554-OSX-x86_64-conda

Now getting following error :

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

Cannot access attribute 'Operations' of deleted object


HINT :
1) opening an older file (containing a job) created with version 0.19 of FreeCad, the problem does not appear.

2) opening a file created with version 0.20 FreeCAD_weekly-builds-26554-OSX-x86_64-conda
2a) no problem when opening with version weekly-builds-26554
2b) problem when opening with version weekly-builds-26720

Steps To ReproduceCreate new file.
WB PartDesign:
create body
create sketch
draw simple sketch (eg. a circle (can be anything else)
extrude to cylinder
WB Path
create path from created body
create operation (eg profile (can be anything else)

launch CAM Simulation fails


Additional InformationRunning the Python command 'Path_Simulator' failed:
Traceback (most recent call last):
  File "/Applications/FreeCAD.app/Contents/Resources/Mod/Path/PathScripts/PathSimulatorGui.py", line 588, in Activated
    pathSimulation.Activate()
  File "/Applications/FreeCAD.app/Contents/Resources/Mod/Path/PathScripts/PathSimulatorGui.py", line 103, in Activate
    self.onJobChange()
  File "/Applications/FreeCAD.app/Contents/Resources/Mod/Path/PathScripts/PathSimulatorGui.py", line 459, in onJobChange
    for op in j.Operations.OutList:

Cannot access attribute 'Operations' of deleted object
TagsNo tags attached.
FreeCAD InformationOS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.26720 (Git)
Build type: Release
Python version: 3.9.9
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: C/Default (C)

Activities

chennes

2021-12-30 06:07

administrator   ~0016171

Is there a forums discussion about this?

anka

2021-12-31 04:48

reporter   ~0016173

Forum entry: https://forum.freecadweb.org/viewtopic.php?f=15&t=64926

Kunda1

2022-01-19 18:08

administrator   ~0016233

Last edited: 2022-01-19 18:10

https://github.com/FreeCAD/FreeCAD/commit/2e6437a961945cd1715a98cfaff63c59a7dc7212

Issue History

Date Modified Username Field Change
2021-12-30 05:12 anka New Issue
2021-12-30 06:07 chennes Note Added: 0016171
2021-12-30 06:07 chennes Tag Attached: #pending-forum
2021-12-31 04:48 anka Note Added: 0016173
2022-01-01 03:16 chennes Tag Detached: #pending-forum
2022-01-03 10:52 openBrain Tag Attached: #pending-forum
2022-01-19 18:08 Kunda1 Note Added: 0016233
2022-01-19 18:10 Kunda1 Note Edited: 0016233
2022-01-19 18:10 Kunda1 Tag Detached: #pending-forum
2022-01-19 18:11 Kunda1 Assigned To => sliptonic
2022-01-19 18:11 Kunda1 Status new => closed
2022-01-19 18:11 Kunda1 Resolution open => fixed
2022-01-19 18:11 Kunda1 Fixed in Version => 0.20