View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003261 | Path | Bug | public | 2017-11-16 02:01 | 2017-11-18 03:37 |
Reporter | llamas | Assigned To | mlampert | ||
Priority | low | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | duplicate | ||
Platform | x64 | OS | Windows 10 | OS Version | 1703.15063.674 |
Product Version | 0.17 | ||||
Summary | 0003261: Path Job Operations cannot be edited after save and reload | ||||
Description | OS: Windows 10 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.Unknown Build type: Release Python version: 2.7.8 Qt version: 4.8.7 Coin version: 4.0.0a OCC version: 7.0.0 Locale: English/UnitedStates (en_US) commit 04ea29528040ec1e85c04d1be1db27a94f29a472 (HEAD -> master, origin/master, origin/HEAD) | ||||
Steps To Reproduce | Create a Path Job based on a Part created with PartDesign Create an Operation for the new Job Save Close Load the previously saved file Double-click the previously created Operation expected: The same Operation edit mode that opens prior to save actual: The object translation mode that would be expected from double-clicking a Part | ||||
Additional Information | This is not a clean repro. I've included a simple file in which the issue is not reproduced, and my actual work files where the problem is reproduced (and can continue to be reproduced). In the files where the problem occurs, there were previous Path Jobs exhibiting the same issue. In the previous state (CNC0.FCStd), there was a Job with a Base-Part that was in the file's root Body (not inside a part container) and another Job with a Base-Part that was in a Body with a Part container. None of the Operations in either Job was editable after a save. In fact, the Job for the part in the root Body did not retain its structure during the save and reload. All elements of that Job now show up flat under the project/file root. I deleted the jobs, created a Part container, copied the root Body into the new Part, and saved the file containing the two Parts (and no Path Jobs) as CNC.FCStd. I then added a Path Job for one of the parts, and a couple of Operations within that Job. I saved the file as CNC2.FCStd, closed it, and reopened it. The issue persisted. So, I think the issue lies in something that occurred within the project prior to any of the save files, and I can probably fix it by recreating everything in a new project, but I'm logging this bug because something happened, and can happen again. I set the priority low since it doesn't repro in a clean project (so there's a workaround, if nothing else). The "bad" files are CNC0 (Parts and Jobs, with structure lost after save), CNC (Just parts from CNC0, previously corrupted Jobs deleted) and CNC2 (new Jobs created after saving CNC). New operations created in these files become corrupted upon save. The "good" file is Example. Brand new file, Part, and Job. No repro. | ||||
Tags | Path | ||||
FreeCAD Information | |||||
|
|
|
please open a forum thread on the Path subforum to discuss this issue with the Path community. Then link said forum to this thread and vice-a-versa. |
|
Forum thread |
|
Recreation of problem project in new clean file. Loads with following output: Thread size out of range Fatal Error at file C:/Users/mike/Google Drive/Models/CoreXY/ZAxisPlates.FCStd, line 2354, char 45 Invalid Document.xml: equal sign expected Traceback (most recent call last): File "C:\Program Files\FreeCAD_trunk\Mod\Path\PathScripts\PathJobGui.py", line 153, in claimChildren children = self.obj.ToolController <type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'ToolController' Traceback (most recent call last): File "C:\Program Files\FreeCAD_trunk\Mod\Path\PathScripts\PathJobGui.py", line 153, in claimChildren children = self.obj.ToolController <type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'ToolController' Traceback (most recent call last): File "C:\Program Files\FreeCAD_trunk\Mod\Path\PathScripts\PathJobGui.py", line 153, in claimChildren children = self.obj.ToolController <type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'ToolController' Traceback (most recent call last): File "C:\Program Files\FreeCAD_trunk\Mod\Path\PathScripts\PathJobGui.py", line 153, in claimChildren children = self.obj.ToolController <type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'ToolController' Traceback (most recent call last): File "C:\Program Files\FreeCAD_trunk\Mod\Path\PathScripts\PathJobGui.py", line 153, in claimChildren children = self.obj.ToolController <type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'ToolController' Traceback (most recent call last): File "C:\Program Files\FreeCAD_trunk\Mod\Path\PathScripts\PathJobGui.py", line 153, in claimChildren children = self.obj.ToolController <type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'ToolController' Traceback (most recent call last): File "C:\Program Files\FreeCAD_trunk\Mod\Path\PathScripts\PathJobGui.py", line 153, in claimChildren children = self.obj.ToolController <type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'ToolController' Traceback (most recent call last): File "C:\Program Files\FreeCAD_trunk\Mod\Path\PathScripts\PathJobGui.py", line 153, in claimChildren children = self.obj.ToolController <type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'ToolController' Traceback (most recent call last): File "C:\Program Files\FreeCAD_trunk\Mod\Path\PathScripts\PathJobGui.py", line 153, in claimChildren children = self.obj.ToolController <type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'ToolController' Traceback (most recent call last): File "C:\Program Files\FreeCAD_trunk\Mod\Path\PathScripts\PathJobGui.py", line 153, in claimChildren children = self.obj.ToolController <type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'ToolController' Traceback (most recent call last): File "C:\Program Files\FreeCAD_trunk\Mod\Path\PathScripts\PathJobGui.py", line 153, in claimChildren children = self.obj.ToolController <type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'ToolController' Traceback (most recent call last): File "C:\Program Files\FreeCAD_trunk\Mod\Path\PathScripts\PathJobGui.py", line 153, in claimChildren children = self.obj.ToolController <type 'exceptions.AttributeError'>: 'FeaturePython' object has no attribute 'ToolController' Error in T1: 1/8" EndMill: Property not found |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-11-16 02:01 | llamas | New Issue | |
2017-11-16 02:01 | llamas | File Added: CNC.FCStd | |
2017-11-16 02:01 | llamas | File Added: CNC2.FCStd | |
2017-11-16 02:01 | llamas | File Added: Example.FCStd | |
2017-11-16 02:01 | llamas | File Added: CNC0.FCStd | |
2017-11-16 02:01 | llamas | Tag Attached: Path | |
2017-11-16 19:34 | Kunda1 | Status | new => feedback |
2017-11-16 19:34 | Kunda1 | Note Added: 0010418 | |
2017-11-17 22:39 | llamas | Note Added: 0010422 | |
2017-11-17 22:39 | llamas | Status | feedback => new |
2017-11-17 22:41 | llamas | File Added: ZAxisPlates.FCStd | |
2017-11-17 22:41 | llamas | Note Added: 0010423 | |
2017-11-18 03:36 | mlampert | Relationship added | duplicate of 0003260 |
2017-11-18 03:37 | mlampert | Assigned To | => mlampert |
2017-11-18 03:37 | mlampert | Status | new => closed |
2017-11-18 03:37 | mlampert | Resolution | open => duplicate |