View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004645 | Path | Bug | public | 2021-04-27 03:51 | 2021-09-03 22:16 |
Reporter | c4g | Assigned To | russ4262 | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 0.19 | ||||
Summary | 0004645: Add python exceptions to PathJob.py | ||||
Description | 23: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 Reproduce | Create 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. | ||||
Tags | Path | ||||
FreeCAD Information | OS: 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) | ||||
|
|
|
Hello c4g, you choose the wrong project. It should Path and not Part. |
|
@c4g Please post to the forum first next time per our guidelines I went ahead and opened a thread for you: https://forum.freecadweb.org/viewtopic.php?f=15&t=61563 |
|
PR #5008 is active and addresses this bug. |
|
I can confirm an error is thrown if one or more children of a Job object are deleted. |
|
This ticket has been migrated to GitHub as issue 6207. |
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 | |
2021-08-03 06:25 | gift | Note Added: 0015771 | |
2021-08-25 14:27 | Kunda1 | Project | Part => Path |
2021-08-25 14:29 | Kunda1 | Note Added: 0015860 | |
2021-08-26 04:31 | chrisb | Severity | block => tweak |
2021-08-26 04:31 | chrisb | Description Updated | |
2021-08-26 04:31 | chrisb | FreeCAD Information | OS: 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... => OS: 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 ... |
2021-09-03 22:15 | russ4262 | Note Added: 0015896 | |
2021-09-03 22:15 | russ4262 | Assigned To | => russ4262 |
2021-09-03 22:15 | russ4262 | Status | new => assigned |
2021-09-03 22:16 | russ4262 | Status | assigned => confirmed |
2021-09-03 22:16 | russ4262 | Note Added: 0015897 |