View Issue Details

IDProjectCategoryView StatusLast Update
0004645PartBugpublic2021-04-27 03:52
Reporterc4g Assigned To 
PrioritynormalSeverityblockReproducibilityalways
Status newResolutionopen 
Product Version0.19 
Summary0004645: Add python exceptions to PathJob.py
Description23:12:10 Traceback (most recent call last):
  File "/snap/freecad/22/opt/local/FreeCAD-0.19/Mod/Path/PathScripts/PathJob.py", line 401, in execute
    obj.Path = obj.Operations.Path
<class 'AttributeError'>: 'NoneType' object has no attribute 'Path'
23:12:10 <Exception> ObjectIdentifier.cpp(1511): Document object 'SetupSheet' not found in 'SetupSheet.ClearanceHeightOffset'
in property binding 'ClearanceHeight'
23:12:17 Traceback (most recent call last):
  File "/snap/freecad/22/opt/local/FreeCAD-0.19/Mod/Path/PathScripts/PathJob.py", line 401, in execute
    obj.Path = obj.Operations.Path
<class 'AttributeError'>: 'NoneType' object has no attribute 'Path'
23:12:22 Traceback (most recent call last):
  File "/snap/freecad/22/opt/local/FreeCAD-0.19/Mod/Path/PathScripts/PathJobGui.py", line 232, in onDelete
    self.obj.Proxy.onDelete(self.obj, arg2)
  File "/snap/freecad/22/opt/local/FreeCAD-0.19/Mod/Path/PathScripts/PathJob.py", line 227, in onDelete
    PathLog.debug('taking down ops: %s' % [o.Name for o in self.allOperations()])
  File "/snap/freecad/22/opt/local/FreeCAD-0.19/Mod/Path/PathScripts/PathJob.py", line 470, in allOperations
    for op in self.obj.Operations.Group:
<class 'AttributeError'>: 'NoneType' object has no attribute 'Group'
Steps To ReproduceCreate a Path Job and add an operation. Then delete the child entries from the job. Try to edit or delete the empty job. This python exception then blocks PathJob.py from functioning.
TagsPath
FreeCAD InformationOS: Ubuntu 20.04 LTS snap Core 20 (Unity:Unity7:ubuntu/unity)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Unknown
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.0
Locale: English/United States (en_US)

Activities

c4g

2021-04-27 03:51

reporter  

camtest_bug.FCStd (Attachment missing)

Issue History

Date Modified Username Field Change
2021-04-27 03:51 c4g New Issue
2021-04-27 03:51 c4g File Added: camtest_bug.FCStd
2021-04-27 03:52 c4g Tag Attached: Path