Title: Regression: cannot load project library which contain no IfcProject ? · Issue #8183 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Regression: cannot load project library which contain no IfcProject ? · Issue #8183 · IfcOpenShell/IfcOpenShell
X Title: Regression: cannot load project library which contain no IfcProject ? · Issue #8183 · IfcOpenShell/IfcOpenShell
Description: Bug Description Error occurred when you try to load following attached project library: Create a new IFC project Load attached project library using Project Setup => Project Library => Select Library File from Project Overview tab. See e...
Open Graph Description: Bug Description Error occurred when you try to load following attached project library: Create a new IFC project Load attached project library using Project Setup => Project Library => Select Libra...
X Description: Bug Description Error occurred when you try to load following attached project library: Create a new IFC project Load attached project library using Project Setup => Project Library => Select...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/8183
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regression: cannot load project library which contain no IfcProject ?","articleBody":"### Bug Description\n\nError occurred when you try to load following attached project library:\n1. Create a new IFC project\n2. Load attached project library using `Project Setup` => ` Project Library` => `Select Library File` from `Project Overview` tab.\n3. See error message\n\nFrom my current understanding the issue occurred because there is no `IfcProject` in the IFC file. Although we have an `IfcProjectLibrary`. As far as I know having an `IfcProject` is not mandatory.\n\n### Attachments\n\nIfc file containing the project library: [MinergieECO.zip](https://github.com/user-attachments/files/29088400/MinergieECO.zip)\n\n### Debug and Error Output\n\n```true\nTraceback (most recent call last):\n File \"/home/cyril/.config/blender/5.1/extensions/.local/lib/python3.14/site-packages/bonsai/bim/module/project/prop.py\", line 85, in get_project_libaries\n ProjectLibraryData.load()\n ~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"/home/cyril/.config/blender/5.1/extensions/.local/lib/python3.14/site-packages/bonsai/bim/module/project/data.py\", line 129, in load\n cls.data[\"parent_libraries_enum\"] = cls.parent_libraries_enum()\n ~~~~~~~~~~~~~~~~~~~~~~~~~^^\n File \"/home/cyril/.config/blender/5.1/extensions/.local/lib/python3.14/site-packages/bonsai/bim/module/project/data.py\", line 165, in parent_libraries_enum\n project = library_file.by_type(\"IfcProject\")[0]\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^\nIndexError: list index out of range\n```","author":{"url":"https://github.com/CyrilWaechter","@type":"Person","name":"CyrilWaechter"},"datePublished":"2026-06-18T10:08:12Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/8183"}
| 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:eb2befde-b168-dfe4-43e3-e954b25dd8e0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C154:32BBAA:60895C:870CA1:6B0477C8 |
| html-safe-nonce | d110ed41ec359a33b0dfedcbcce651bfbfc4faebcbddb1fb6a9a79c1482b4940 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTU0OjMyQkJBQTo2MDg5NUM6ODcwQ0ExOjZCMDQ3N0M4IiwidmlzaXRvcl9pZCI6IjYyMjYxNDU2NjM5NDA1ODk1MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 12110bb750a6f25514060f3e2fe90dd9db8304e069e386f3a54dd17a975a29f5 |
| hovercard-subject-tag | issue:4691340996 |
| 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/8183/issue_layout |
| twitter:image | https://opengraph.githubassets.com/35a8ac1bef0a0f9f212c0a96ac3ad439c267cbcbf3642539cf5b4f1848e2e1da/IfcOpenShell/IfcOpenShell/issues/8183 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35a8ac1bef0a0f9f212c0a96ac3ad439c267cbcbf3642539cf5b4f1848e2e1da/IfcOpenShell/IfcOpenShell/issues/8183 |
| og:image:alt | Bug Description Error occurred when you try to load following attached project library: Create a new IFC project Load attached project library using Project Setup => Project Library => Select Libra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CyrilWaechter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| 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 | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| 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