Title: Bonsai experiences an error · Issue #7960 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Bonsai experiences an error · Issue #7960 · IfcOpenShell/IfcOpenShell
X Title: Bonsai experiences an error · Issue #7960 · IfcOpenShell/IfcOpenShell
Description: Bug Description No response Attachments No response Debug and Error Output os: Darwin os_version: Darwin Kernel Version 24.6.0: Mon Jan 19 22:00:10 PST 2026; root:xnu-11417.140.69.708.3~1/RELEASE_X86_64 python_version: 3.11.11 architectu...
Open Graph Description: Bug Description No response Attachments No response Debug and Error Output os: Darwin os_version: Darwin Kernel Version 24.6.0: Mon Jan 19 22:00:10 PST 2026; root:xnu-11417.140.69.708.3~1/RELEASE_X...
X Description: Bug Description No response Attachments No response Debug and Error Output os: Darwin os_version: Darwin Kernel Version 24.6.0: Mon Jan 19 22:00:10 PST 2026; root:xnu-11417.140.69.708.3~1/RELEASE_X...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7960
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai experiences an error","articleBody":"### Bug Description\n\n_No response_\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nos: Darwin\nos_version: Darwin Kernel Version 24.6.0: Mon Jan 19 22:00:10 PST 2026; root:xnu-11417.140.69.708.3~1/RELEASE_X86_64\npython_version: 3.11.11\narchitecture: ('64bit', '')\nmachine: x86_64\nprocessor: i386\nblender_version: 4.5.5 LTS\nbonsai_version: 0.8.4\nbonsai_commit_hash: None\nbonsai_commit_date: None\nlast_actions: \n# operator: BIM_OT_append_library_element\n# ifcopenshell.api: project.append_asset\n>>> {\"library\": \"\u003cifcopenshell.file.file object at 0x20e2026d0>\", \"element\": {\"cast_type\": \"entity_instance\", \"value\": 210, \"Name\": \"BUN01\"}, \"assume_asset_uniqueness_by_name\": \"True\"}\n# operator: BIM_OT_save_project\n# operator: BIM_OT_duplicate_type\n# ifcopenshell.api: root.copy_class\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 385, \"Name\": \"WAL50\"}}\n# ifcopenshell.api: material.copy_material\n>>> {}\n# operator: BIM_OT_rename_type\n# operator: BIM_OT_set_active_type\n# operator: BIM_OT_rename_type\n# operator: BIM_OT_duplicate_type\n# ifcopenshell.api: root.copy_class\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 389, \"Name\": \"WAL100\"}}\n# ifcopenshell.api: material.copy_material\n>>> {}\n# operator: BIM_OT_rename_type\n# operator: BIM_OT_set_active_type\n# operator: BIM_OT_rename_type\n# operator: BIM_OT_duplicate_type\n# ifcopenshell.api: root.copy_class\n>>> {\"product\": {\"cast_type\": \"entity_instance\", \"value\": 393, \"Name\": \"WAL250\"}}\n# ifcopenshell.api: material.copy_material\n>>> {}\n# operator: BIM_OT_rename_type\n# operator: BIM_OT_set_active_type\nlast_error: Traceback (most recent call last):\n File \"/Users/oliviermanidren/Library/Application Support/Blender/4.5/extensions/.local/lib/python3.11/site-packages/bonsai/bim/ifc.py\", line 526, in execute_ifc_operator\n result = getattr(operator, \"_execute\")(context)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/oliviermanidren/Library/Application Support/Blender/4.5/extensions/.local/lib/python3.11/site-packages/bonsai/bim/module/model/product.py\", line 570, in _execute\n props.relating_type_id = str(self.relating_type)\n ^^^^^^^^^^^^^^^^^^^^^^\nTypeError: bpy_struct: item.attr = val: enum \"1220\" not found in ('258', '264')\n\nifc: maisontotov1.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.4\noriginating_system: Bonsai 0.8.4\n```","author":{"url":"https://github.com/oliviermanidren-dev","@type":"Person","name":"oliviermanidren-dev"},"datePublished":"2026-04-18T09:45:55Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7960"}
| 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:ee08abbe-ba65-aaa0-9c09-f8355eda44e0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8DE8:32230E:4FE30:6D270:6B04AE3F |
| html-safe-nonce | ad3b8170cfc3da9e689b8b31ef5c9156a566383eef75586a67d0b108fb99a0f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REU4OjMyMjMwRTo0RkUzMDo2RDI3MDo2QjA0QUUzRiIsInZpc2l0b3JfaWQiOiI2MDY0ODQzMjU3OTkxNzA0MTI3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e9c8e6ad32e8a34fe9f88118b5f8af17d78b818c58edade89e3e314cac7a9942 |
| hovercard-subject-tag | issue:4287530747 |
| 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/7960/issue_layout |
| twitter:image | https://opengraph.githubassets.com/41615254725134e9d9badf814552933460a5517a73ee2c29878001a991787b6b/IfcOpenShell/IfcOpenShell/issues/7960 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/41615254725134e9d9badf814552933460a5517a73ee2c29878001a991787b6b/IfcOpenShell/IfcOpenShell/issues/7960 |
| og:image:alt | Bug Description No response Attachments No response Debug and Error Output os: Darwin os_version: Darwin Kernel Version 24.6.0: Mon Jan 19 22:00:10 PST 2026; root:xnu-11417.140.69.708.3~1/RELEASE_X... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oliviermanidren-dev |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| 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