DeepSOIC / Part-o-magic

Experiment on FreeCAD-wide automation of Part container management. For FC v0.17-0.18
Other
12 stars 4 forks source link

Error when deleting a Ghost object #67

Closed DeepSOIC closed 1 year ago

DeepSOIC commented 1 year ago
Traceback (most recent call last):
  File "C:\Users\Invendelirium\AppData\Roaming\FreeCAD\Mod\Part-o-magic\.\PartOMagic\Features\Ghost.py", line 119, in onChanged
    self.updateDeps(selfobj)
  File "C:\Users\Invendelirium\AppData\Roaming\FreeCAD\Mod\Part-o-magic\.\PartOMagic\Features\Ghost.py", line 59, in updateDeps
    toleave,toenter = Containers.getContainerRelativePath(Containers.getContainer(selfobj.Base), Containers.getContainer(selfobj))
  File "C:\Users\Invendelirium\AppData\Roaming\FreeCAD\Mod\Part-o-magic\.\PartOMagic\Base\Containers.py", line 235, in getContainer
    for dep in feat.InList:
<class 'AttributeError'>: 'NoneType' object has no attribute 'InList'

OS: Windows 10 Version 2009 Word size of FreeCAD: 64-bit Version: 0.21.0.32457 (Git) Build type: Release Branch: master Hash: 85216bd12730bbc4c3cbf8f0bc50416ab1556cbb Python 3.10.9, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3 Locale: English/Germany (en_DE) Installed mods: