Title: ifcclash raises unhandled AssertionError right after "Element metadata finished" on group B · Issue #8224 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: ifcclash raises unhandled AssertionError right after "Element metadata finished" on group B · Issue #8224 · IfcOpenShell/IfcOpenShell
X Title: ifcclash raises unhandled AssertionError right after "Element metadata finished" on group B · Issue #8224 · IfcOpenShell/IfcOpenShell
Description: Bug Description Hi team, I'm experiencing a systematic AssertionError when running ifcclash using the Python API. The crash happens regardless of whether I use a single federated file, duplicated files, or distinct official sample models...
Open Graph Description: Bug Description Hi team, I'm experiencing a systematic AssertionError when running ifcclash using the Python API. The crash happens regardless of whether I use a single federated file, duplicated f...
X Description: Bug Description Hi team, I'm experiencing a systematic AssertionError when running ifcclash using the Python API. The crash happens regardless of whether I use a single federated file, duplicat...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/8224
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ifcclash raises unhandled AssertionError right after \"Element metadata finished\" on group B","articleBody":"### Bug Description\n\nHi team, I'm experiencing a systematic `AssertionError` when running `ifcclash` using the Python API. The crash happens regardless of whether I use a single federated file, duplicated files, or distinct official sample models (like buildingSMART's Medical-Dental Clinic dataset).\nIt looks related to the fixes in Issue #7467, but instead of a segmentation fault, it now triggers a systematic AssertionError right after metadata collection on Windows\").\n\n### Steps to reproduce:\nI am using the official dictionary-based configuration syntax:\n```python\n# Minimal script that crashes\nsettings = ifcclash.ClashSettings()\nsettings.output = \"output.json\"\nifc_clasher = ifcclash.Clasher(settings)\nifc_clasher.clash_sets = [\n {\n \"name\": \"Test_Set\",\n \"mode\": \"collision\",\n \"a\": [{\"file\": \"Clinic_Architectural.ifc\", \"mode\": \"i\", \"selector\": \"IfcWall\"}],\n \"b\": [{\"file\": \"Clinic_Structural.ifc\", \"mode\": \"i\", \"selector\": \"IfcColumn\"}]\n }\n]\nifc_clasher.clash() # \u003c--- Crashes here\n```\n\nHere is my log output:\n```plaintext\n2026-06-30 15:50:49,517 - INFO - Creating group b\n2026-06-30 15:50:49,517 - INFO - Loading IFC Clinic_Structural.ifc\n2026-06-30 15:50:50,762 - INFO - Loading finished ...\n2026-06-30 15:50:50,763 - INFO - Creating iterator\n2026-06-30 15:50:50,765 - INFO - Iterator creation finished ...\n2026-06-30 15:50:50,765 - INFO - Adding objects b (195 elements)\n2026-06-30 15:50:50,899 - INFO - Tree finished ...\n2026-06-30 15:50:50,900 - INFO - Element metadata finished ...\nAssertionError\n```\n\nEnvironment:\n\nOS: Microsoft Windows 11 PRO\n\nTested on both Python 3.14 (global) and Python 3.12.10 (clean virtual environment)\n\nIfcOpenShell / IfcClash versions tested: \n* ifcopenshell==0.8.5 with ifcclash==0.8.5\n* ifcopenshell==0.8.4 with ifcclash==0.8.4 (forced downgrade inside venv)\n\nInstallation method: pip\n\nCan someone please look into this or provide me some guidance?\n\nThank you in advance,\n\n**Daniele**","author":{"url":"https://github.com/Ghiottone","@type":"Person","name":"Ghiottone"},"datePublished":"2026-06-30T15:23:48Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/8224"}
| 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:3a4cc74c-a41f-3a88-f23e-dd613128cb86 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECA0:195E8:5C7C0:7E053:6B04AA93 |
| html-safe-nonce | 0273c0ab9caea8d6eb77814e76e1c18fc7ebe2340434d600085fcadf864b8833 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0EwOjE5NUU4OjVDN0MwOjdFMDUzOjZCMDRBQTkzIiwidmlzaXRvcl9pZCI6IjM1MjM2NjE2NzMzMjIwMzE3NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3ef79525de7b8bccd9709ee59b45c3ca6b01e9c1f1645accaca95e0f753f5ac1 |
| hovercard-subject-tag | issue:4778116212 |
| 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/8224/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eba7c4bce39a661c5cb46cd16d7c380542e559566b6b5d62450fa6362a72e2ce/IfcOpenShell/IfcOpenShell/issues/8224 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eba7c4bce39a661c5cb46cd16d7c380542e559566b6b5d62450fa6362a72e2ce/IfcOpenShell/IfcOpenShell/issues/8224 |
| og:image:alt | Bug Description Hi team, I'm experiencing a systematic AssertionError when running ifcclash using the Python API. The crash happens regardless of whether I use a single federated file, duplicated f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Ghiottone |
| hostname | github.com |
| expected-hostname | github.com |
| None | 188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b |
| 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 | 557cfbac6cdb532730c95c90f2cefdc0c4128029 |
| 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