René's URL Explorer Experiment


Title: Array data is not updated after removing an element (leading to issue importing IFC file) [2] · Issue #6547 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: Array data is not updated after removing an element (leading to issue importing IFC file) [2] · Issue #6547 · IfcOpenShell/IfcOpenShell

X Title: Array data is not updated after removing an element (leading to issue importing IFC file) [2] · Issue #6547 · IfcOpenShell/IfcOpenShell

Description: Bug Description I was putting CCS/CCI and BIM7AA classifications on different types, and then saved the program. Now my whole project is missing, and there is an error message when I open the IFC project in Blender. Attachments Exercise7...

Open Graph Description: Bug Description I was putting CCS/CCI and BIM7AA classifications on different types, and then saved the program. Now my whole project is missing, and there is an error message when I open the IFC p...

X Description: Bug Description I was putting CCS/CCI and BIM7AA classifications on different types, and then saved the program. Now my whole project is missing, and there is an error message when I open the IFC p...

Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/6547

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Array data is not updated after removing an element (leading to issue importing IFC file) [2]","articleBody":"### Bug Description\n\nI was putting CCS/CCI and BIM7AA classifications on different types, and then saved the program. Now my whole project is missing, and there is an error message when I open the IFC project in Blender.\n\n### Attachments\n\n[Exercise7_Group10NYKlassifikationer.txt](https://github.com/user-attachments/files/19740386/Exercise7_Group10NYKlassifikationer.txt)\n\n### Debug and Error Output\n\n```true\nos: Darwin\nos_version: Darwin Kernel Version 24.0.0: Tue Sep 24 23:37:13 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T8112\npython_version: 3.11.9\narchitecture: ('64bit', '')\nmachine: arm64\nprocessor: arm\nblender_version: 4.3.2\nbonsai_version: 0.8.1\nbonsai_commit_hash: None\nlast_actions: \nlast_error: Traceback (most recent call last):\n  File \"/Users/sigridelarsen/Library/Application Support/Blender/4.3/extensions/.local/lib/python3.11/site-packages/bonsai/bim/module/project/operator.py\", line 929, in finish_loading_project\n    bpy.ops.bim.load_project_elements()\n  File \"/Applications/Blender.app/Contents/Resources/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 \"/Users/sigridelarsen/Library/Application Support/Blender/4.3/extensions/.local/lib/python3.11/site-packages/bonsai/bim/module/project/operator.py\", line 1014, in execute\n    ifc_importer.execute()\n  File \"/Users/sigridelarsen/Library/Application Support/Blender/4.3/extensions/.local/lib/python3.11/site-packages/bonsai/bim/import_ifc.py\", line 272, in execute\n    self.setup_arrays()\n  File \"/Users/sigridelarsen/Library/Application Support/Blender/4.3/extensions/.local/lib/python3.11/site-packages/bonsai/bim/import_ifc.py\", line 1120, in setup_arrays\n    tool.Blender.Modifier.Array.set_children_lock_state(element, i, True)\n  File \"/Users/sigridelarsen/Library/Application Support/Blender/4.3/extensions/.local/lib/python3.11/site-packages/bonsai/tool/blender.py\", line 1074, in set_children_lock_state\n    for child_obj in children:\n  File \"/Users/sigridelarsen/Library/Application Support/Blender/4.3/extensions/.local/lib/python3.11/site-packages/bonsai/tool/blender.py\", line 1105, in get_children_objects\n    child_obj = tool.Blender.get_object_from_guid(child_guid)\n                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/Users/sigridelarsen/Library/Application Support/Blender/4.3/extensions/.local/lib/python3.11/site-packages/bonsai/tool/blender.py\", line 821, in get_object_from_guid\n    element = tool.Ifc.get().by_guid(guid)\n              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/Users/sigridelarsen/Library/Application Support/Blender/4.3/extensions/.local/lib/python3.11/site-packages/ifcopenshell/file.py\", line 505, in by_guid\n    return self[guid]\n           ~~~~^^^^^^\n  File \"/Users/sigridelarsen/Library/Application Support/Blender/4.3/extensions/.local/lib/python3.11/site-packages/ifcopenshell/file.py\", line 478, in __getitem__\n    return entity_instance(self.wrapped_data.by_guid(str(key)), self)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/Users/sigridelarsen/Library/Application Support/Blender/4.3/extensions/.local/lib/python3.11/site-packages/ifcopenshell/ifcopenshell_wrapper.py\", line 5996, in by_guid\n    return _ifcopenshell_wrapper.file_by_guid(self, guid)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nRuntimeError: Instance with GlobalId '0jCaz4DXnBrfPaAtzv9Arj' not found\nLocation: /Applications/Blender.app/Contents/Resources/4.3/scripts/modules/bpy/ops.py:109\n\n\nifc: Exercise7_Group10NY.ifc\nschema: IFC4\npreprocessor_version: IfcOpenShell 0.8.1\noriginating_system: Bonsai 0.8.1\n```","author":{"url":"https://github.com/sigridelarsen","@type":"Person","name":"sigridelarsen"},"datePublished":"2025-04-14T17:05:14Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/6547"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c388127d-bb81-1c9b-e27b-2dff3cacb465
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCB2C:192237:75F987:A12971:6B0479B2
html-safe-noncec09c933b2b52edd014247691702b4e6bbd08913d0d893c2e5adfab214192f732
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjJDOjE5MjIzNzo3NUY5ODc6QTEyOTcxOjZCMDQ3OUIyIiwidmlzaXRvcl9pZCI6IjQ1NzUyNTQwNDE3Mzg5MDE5MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4ee8587aea95fba440fe33243940d278be2d13f95bccb7d21390733cc891b9ec
hovercard-subject-tagissue:2993656625
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/6547/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c8e994e5572b63c19906b4872531a823596070de8b3028aab364114a504a0d63/IfcOpenShell/IfcOpenShell/issues/6547
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c8e994e5572b63c19906b4872531a823596070de8b3028aab364114a504a0d63/IfcOpenShell/IfcOpenShell/issues/6547
og:image:altBug Description I was putting CCS/CCI and BIM7AA classifications on different types, and then saved the program. Now my whole project is missing, and there is an error message when I open the IFC p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesigridelarsen
hostnamegithub.com
expected-hostnamegithub.com
None9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b
turbo-cache-controlno-preview
go-importgithub.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git
octolytics-dimension-user_id13692563
octolytics-dimension-user_loginIfcOpenShell
octolytics-dimension-repository_id40473201
octolytics-dimension-repository_nwoIfcOpenShell/IfcOpenShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id40473201
octolytics-dimension-repository_network_root_nwoIfcOpenShell/IfcOpenShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecf73f57448d52b3a7b619195e182b33d3b3454ca
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/6547#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F6547
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F6547
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/6547
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/6547
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/6547
IfcOpenShellhttps://github.com/IfcOpenShell
IfcOpenShellhttps://github.com/IfcOpenShell/IfcOpenShell
Codehttps://github.com/IfcOpenShell/IfcOpenShell
Issues1.2k (1.2k)https://github.com/IfcOpenShell/IfcOpenShell/issues
Pull requests937 (937)https://github.com/IfcOpenShell/IfcOpenShell/pulls
Discussionshttps://github.com/IfcOpenShell/IfcOpenShell/discussions
Actionshttps://github.com/IfcOpenShell/IfcOpenShell/actions
Projectshttps://github.com/IfcOpenShell/IfcOpenShell/projects
Wikihttps://github.com/IfcOpenShell/IfcOpenShell/wiki
Security and qualityhttps://github.com/IfcOpenShell/IfcOpenShell/security
Insightshttps://github.com/IfcOpenShell/IfcOpenShell/insights
https://github.com/IfcOpenShell/IfcOpenShell
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/6547
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/6547
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
Array data is not updated after removing an element (leading to issue importing IFC file) [2]https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#top
Bonsaihttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Bonsai%22
Needs InfoWaiting for more information to be provided from issue reporterhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Needs%20Info%22
Severity:MajorBroken feature, invalid IFChttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Severity%3AMajor%22
https://github.com/sigridelarsen
sigridelarsenhttps://github.com/sigridelarsen
on Apr 14, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#issue-2993656625
Exercise7_Group10NYKlassifikationer.txthttps://github.com/user-attachments/files/19740386/Exercise7_Group10NYKlassifikationer.txt
sigridelarsenhttps://github.com/sigridelarsen
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
on Apr 14, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#event-17252703832
https://github.com/john-rogers
john-rogershttps://github.com/john-rogers
on Apr 15, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#issuecomment-2807801567
@sigridelarsenhttps://github.com/sigridelarsen
Exercise7.txthttps://github.com/user-attachments/files/19767125/Exercise7.txt
Gorgious56https://github.com/Gorgious56
Bonsaihttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Bonsai%22
Severity:CriticalCrash, data loss, regression, model not loading, cannot install/compile, breaks Blenderhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Severity%3ACritical%22
Severity:MajorBroken feature, invalid IFChttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Severity%3AMajor%22
Severity:CriticalCrash, data loss, regression, model not loading, cannot install/compile, breaks Blenderhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Severity%3ACritical%22
on Apr 16, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#event-17282998615
https://github.com/Gorgious56
Gorgious56https://github.com/Gorgious56
on Apr 16, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#issuecomment-2808569649
https://github.com/sigridelarsen
sigridelarsenhttps://github.com/sigridelarsen
on Apr 19, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#issuecomment-2816657014
Andrej730https://github.com/Andrej730
on May 2, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#event-17496583186
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on May 2, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#issuecomment-2846608456
@sigridelarsenhttps://github.com/sigridelarsen
https://private-user-images.githubusercontent.com/9417531/439841422-e6fbb7c9-76e1-445a-86b1-e6733d2f0cd7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0NTU3MTEsIm5iZiI6MTc5NTQ1NTQxMSwicGF0aCI6Ii85NDE3NTMxLzQzOTg0MTQyMi1lNmZiYjdjOS03NmUxLTQ0NWEtODZiMS1lNjczM2QyZjBjZDcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjNUMTczNjUxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDZhM2M5ZWY2MjMwNGJjOWFkNzQzZDc1ODY2YmNjNmVkZDg4NjVkMGI2NjgyZWQyMzdhYzk5MWUyOGZkMzNmOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.Pi4nyJGZxJA8ofnsM35CdAJyV8zWouNZMUdJusysD8Q
Exercise7_Group10NYKlassifikationer - patched.ifc.txthttps://github.com/user-attachments/files/20010087/Exercise7_Group10NYKlassifikationer.-.patched.ifc.txt
#6590https://github.com/IfcOpenShell/IfcOpenShell/issues/6590
Andrej730https://github.com/Andrej730
Needs InfoWaiting for more information to be provided from issue reporterhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Needs%20Info%22
on May 2, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#event-17496686439
Andrej730https://github.com/Andrej730
on May 2, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#event-17501235211
Fix dangerous bug with bim.override_outliner_deletehttps://github.com/IfcOpenShell/IfcOpenShell/commit/fad35b14f2d78f5f00ca0c739b00009fcff91efe
fad35b1https://github.com/IfcOpenShell/IfcOpenShell/commit/fad35b14f2d78f5f00ca0c739b00009fcff91efe
falken10vdlhttps://github.com/falken10vdl
on May 5, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#event-17515672179
Fix dangerous bug with bim.override_outliner_deletehttps://github.com/falken10vdl/IfcOpenShell/commit/be5e713e87908bb953a8f7cc41b2e4611f178466
be5e713https://github.com/falken10vdl/IfcOpenShell/commit/be5e713e87908bb953a8f7cc41b2e4611f178466
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on May 6, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#issuecomment-2854497065
fad35b1https://github.com/IfcOpenShell/IfcOpenShell/commit/fad35b14f2d78f5f00ca0c739b00009fcff91efe
https://ifcopenshell.org/upload.htmlhttps://ifcopenshell.org/upload.html
#6590 (comment)https://github.com/IfcOpenShell/IfcOpenShell/issues/6590#issuecomment-2854489993
Andrej730https://github.com/Andrej730
completedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 6, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#event-17537113252
falken10vdlhttps://github.com/falken10vdl
on May 18, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/6547#event-17704753421
Fix dangerous bug with bim.override_outliner_deletehttps://github.com/falken10vdl/IfcOpenShell/commit/4e58b70e673723d1a0f04b1f7fc82c2ad6b1e328
4e58b70https://github.com/falken10vdl/IfcOpenShell/commit/4e58b70e673723d1a0f04b1f7fc82c2ad6b1e328
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/6547
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/6547
Bonsaihttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Bonsai%22
Needs InfoWaiting for more information to be provided from issue reporterhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Needs%20Info%22
Severity:MajorBroken feature, invalid IFChttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22Severity%3AMajor%22
Bughttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=type:"Bug"
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.