Title: Invalid ifc entities on type assignment/unassignment (file fails to load) · Issue #6619 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Invalid ifc entities on type assignment/unassignment (file fails to load) · Issue #6619 · IfcOpenShell/IfcOpenShell
X Title: Invalid ifc entities on type assignment/unassignment (file fails to load) · Issue #6619 · IfcOpenShell/IfcOpenShell
Description: Bug Description Hi I’ve been working on a house model and saved the project as an IFC file. Everything had been running smoothly up until the last session, but now the file won’t open—the error message appears instantly upon trying to lo...
Open Graph Description: Bug Description Hi I’ve been working on a house model and saved the project as an IFC file. Everything had been running smoothly up until the last session, but now the file won’t open—the error mes...
X Description: Bug Description Hi I’ve been working on a house model and saved the project as an IFC file. Everything had been running smoothly up until the last session, but now the file won’t open—the error mes...
Mail addresses
andrej730@icloud.com
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/6619
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Invalid ifc entities on type assignment/unassignment (file fails to load)","articleBody":"### Bug Description\n\nHi \n\nI’ve been working on a house model and saved the project as an IFC file. Everything had been running smoothly up until the last session, but now the file won’t open—the error message appears instantly upon trying to load it.\n\nUnfortunately, I wasn’t saving alternate versions along the way, so this file contains all of my progress. I'm hoping there’s a way to recover the project, or at least restore an earlier version if possible.\n\nAny help or suggestions would be greatly appreciated. I really don’t want to lose all of this work.\n\nThanks,\n```\n\n### Attachments\n\n[](url)\n\n### Debug and Error Output\n\n```true\nos: Windows\nos_version: 10.0.26100\npython_version: 3.11.9\narchitecture: ('64bit', 'WindowsPE')\nmachine: AMD64\nprocessor: Intel64 Family 6 Model 183 Stepping 1, GenuineIntel\nblender_version: 4.3.0\nbonsai_version: 0.8.2\nbonsai_commit_hash: None\nbonsai_commit_date: None\nlast_actions: \nlast_error: Traceback (most recent call last):\n File \"C:\\Users\\Jason\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\project\\operator.py\", line 1003, in finish_loading_project\n bpy.ops.bim.load_project_elements()\n File \"C:\\Program Files\\Blender Foundation\\Blender 4.3\\4.3\\scripts\\modules\\bpy\\ops.py\", line 109, in __call__\n ret = _op_call(self.idname_py(), kw)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: Error: Python: Traceback (most recent call last):\n File \"C:\\Users\\Jason\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\module\\project\\operator.py\", line 1092, in execute\n ifc_importer.execute()\n File \"C:\\Users\\Jason\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\import_ifc.py\", line 261, in execute\n self.parse_native_elements()\n File \"C:\\Users\\Jason\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\import_ifc.py\", line 393, in parse_native_elements\n if self.is_native(element):\n ^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Jason\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\bonsai\\bim\\import_ifc.py\", line 426, in is_native\n rep_matrix = ifcopenshell.util.placement.get_mappeditem_transformation(rep.Items[0])\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Jason\\AppData\\Roaming\\Blender Foundation\\Blender\\4.3\\extensions\\.local\\lib\\python3.11\\site-packages\\ifcopenshell\\util\\placement.py\", line 188, in get_mappeditem_transformation\n m4 = get_axis2placement(item.MappingSource.MappingOrigin)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'MappingOrigin'\nLocation: C:\\Program Files\\Blender Foundation\\Blender 4.3\\4.3\\scripts\\modules\\bpy\\ops.py:109\n\n\nifc: Kyle_March3rd.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.2\noriginating_system: Bonsai 0.8.2\n```","author":{"url":"https://github.com/JasonObler","@type":"Person","name":"JasonObler"},"datePublished":"2025-04-24T23:27:11Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/6619"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fe16f9d2-88b9-cb70-33b3-54e96ab88806 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CCC2:27B4C6:1A59EF:24418A:6B04B4A9 |
| html-safe-nonce | db1e0c5722ef6eb226d2c900b286ec7d49e23ea8a3202db602a7fce39b1c3f45 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0MyOjI3QjRDNjoxQTU5RUY6MjQ0MThBOjZCMDRCNEE5IiwidmlzaXRvcl9pZCI6IjM3MTA5OTQwNDYzOTU5MjE1NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d4bf07c26e963ba0481967dd73a7092cac33c8dcd6fd3d4c7f70b1ed060abb5c |
| hovercard-subject-tag | issue:3018650625 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/6619/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0b781e9b5eed09d35fd91043496040e65e16197a2991a254ab8c84cef21241de/IfcOpenShell/IfcOpenShell/issues/6619 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0b781e9b5eed09d35fd91043496040e65e16197a2991a254ab8c84cef21241de/IfcOpenShell/IfcOpenShell/issues/6619 |
| og:image:alt | Bug Description Hi I’ve been working on a house model and saved the project as an IFC file. Everything had been running smoothly up until the last session, but now the file won’t open—the error mes... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JasonObler |
| hostname | github.com |
| expected-hostname | github.com |
| None | 378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7 |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b032e77f1ea437ede6c115446a0a467709b468e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width