Importing IFC failes: _ifcopenshell_wrapper.entity_instance_get_argument(self, *args)

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
Thatoo
Posts: 1
Joined: Tue Sep 21, 2021 10:05 am

Importing IFC failes: _ifcopenshell_wrapper.entity_instance_get_argument(self, *args)

Post by Thatoo »

Hello,

My FreeCAD is
OS: Zorin OS 16 (zorin:GNOME/zorin)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.19.2)
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: French/France (fr_FR)

I am trying to import an IFC file and it fails. I get this error in logs :
Err: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/.mount_FreeCAoG4xcs/usr/Mod/Arch/importIFC.py", line 211, in open
doc = insert(filename, doc.Name, skip, only, root)
File "/tmp/.mount_FreeCAoG4xcs/usr/Mod/Arch/importIFC.py", line 347, in insert
additions = importIFCHelper.buildRelAdditions(ifcfile)
File "/tmp/.mount_FreeCAoG4xcs/usr/Mod/Arch/importIFCHelper.py", line 214, in buildRelAdditions
additions.setdefault(r.RelatingObject.id(), []).extend([e.id() for e in r.RelatedObjects])
File "/tmp/.mount_FreeCAoG4xcs/usr/lib/python3.8/site-packages/ifcopenshell/entity_instance.py", line 60, in __getattr__
self.wrapped_data.get_argument(self.wrapped_data.get_argument_index(name)))
File "/tmp/.mount_FreeCAoG4xcs/usr/lib/python3.8/site-packages/ifcopenshell/ifcopenshell_wrapper.py", line 1558, in get_argument
return _ifcopenshell_wrapper.entity_instance_get_argument(self, *args)
<class 'RuntimeError'>: Instance #5967 not found

Thank you for your work and help.
Regards,
Post Reply