René's URL Explorer Experiment


Title: Bonsai: Extend Walls To Underside crashes with "'dict' object has no attribute 'extend'" on malformed BBIM_Boolean.Data · Issue #8821 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: Bonsai: Extend Walls To Underside crashes with "'dict' object has no attribute 'extend'" on malformed BBIM_Boolean.Data · Issue #8821 · IfcOpenShell/IfcOpenShell

X Title: Bonsai: Extend Walls To Underside crashes with "'dict' object has no attribute 'extend'" on malformed BBIM_Boolean.Data · Issue #8821 · IfcOpenShell/IfcOpenShell

Description: Open source IFC library and geometry engine. Contribute to IfcOpenShell/IfcOpenShell development by creating an account on GitHub.

Open Graph Description: Open source IFC library and geometry engine. Contribute to IfcOpenShell/IfcOpenShell development by creating an account on GitHub.

X Description: Open source IFC library and geometry engine. Contribute to IfcOpenShell/IfcOpenShell development by creating an account on GitHub.

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bonsai: Extend Walls To Underside crashes with \"'dict' object has no attribute 'extend'\" on malformed BBIM_Boolean.Data","articleBody":"### Describe the bug\n\nRunning **Extend Walls To Underside** (the `S_E` hotkey in the wall tool workspace) can crash with:\n\n```\nAttributeError: 'dict' object has no attribute 'extend'\n```\n\nThe failure is in `Model.mark_manual_booleans`, which reads the wall's `BBIM_Boolean.Data` pset, `json.loads`es it, and calls `.extend()` on the result. That result is expected to be a JSON **list** of boolean ids, but on the affected wall the payload decoded to a `dict`, so `.extend()` raises.\n\nEvery writer of `BBIM_Boolean.Data` in the codebase stores a JSON list (`clip_solid`, `clip_solid_bounded`, `mark_manual_booleans`, `unmark_manual_booleans`), and every reader assumes a list — so any wall whose payload is not a list crashes the whole boolean machinery (`get_manual_booleans`, `mark_manual_booleans`, `unmark_manual_booleans`, and the duplicate/regeneration paths).\n\nThe origin of the non-list payload is currently unknown — no code path writes a dict, so it appears to come from a legacy or externally-modified file.\n\n### Traceback\n\n```\n  File \".../bonsai/bim/module/model/workspace.py\", line 1320, in hotkey_S_E\n    bpy.ops.bim.extend_walls_to_underside()\n  File \".../bonsai/bim/module/model/wall.py\", line 452, in _perform\n    core.extend_wall_to_slab(tool.Ifc, tool.Geometry, tool.Model, slabs, walls)\n  File \".../bonsai/core/model.py\", line 235, in extend_wall_to_slab\n    model.clip_wall_to_slab(wall, clip)\n  File \".../bonsai/tool/model.py\", line 2945, in clip_wall_to_slab\n    tool.Model.mark_manual_booleans(wall, booleans)\n  File \".../bonsai/tool/model.py\", line 1045, in mark_manual_booleans\n    data.extend(boolean_ids)\nAttributeError: 'dict' object has no attribute 'extend'\n```\n\n### To Reproduce\n\nTrigger Extend Walls To Underside on a wall whose `BBIM_Boolean.Data` is a JSON object rather than a JSON list. (Encountered on an existing model; a minimal reproducer file is not yet isolated.)\n\n### Expected behavior\n\nThe boolean machinery should not hard-crash on an unexpected `BBIM_Boolean.Data` shape; it should degrade gracefully (and ideally log a warning) rather than raise `AttributeError`.\n\n### Suggested fix\n\nRoute all `BBIM_Boolean.Data` readers through a single defensive parser that coerces a non-list payload to an empty list (rebuild from scratch) instead of assuming a list. The same `json.loads(pset[\"Data\"])` assumption also lives in the `ifcopenshell` library (`api/geometry/regenerate_wall_representation.py`, `api/geometry/clip_solid.py`) and would fail identically during regeneration.\n","author":{"url":"https://github.com/theoryshaw","@type":"Person","name":"theoryshaw"},"datePublished":"2026-07-20T18:36:04Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/8821"}

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/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:19158dc3-a0ea-4e4d-9335-53d3a8e0005c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD4DE:36DD20:25F749:32DBA8:6B04B5AF
html-safe-nonce0a8a0741716a56ec62945bafdc8ea272f8546d53605274e7afa005735136f869
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENERFOjM2REQyMDoyNUY3NDk6MzJEQkE4OjZCMDRCNUFGIiwidmlzaXRvcl9pZCI6IjI0MzY3NTc5NTIxMDgyMTM2NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7ce41cebacf3dc984b21742a23e76bfaa3bcdc4789cde580aa92f6a9a40edf08
hovercard-subject-tagrepository:40473201
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/IfcOpenShell/IfcOpenShell/issues/8821
twitter:imagehttps://opengraph.githubassets.com/28e4520c7d86b1b5225c8b336ba660404d70fd027548b7630a2530d57c89e9c2/IfcOpenShell/IfcOpenShell
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/28e4520c7d86b1b5225c8b336ba660404d70fd027548b7630a2530d57c89e9c2/IfcOpenShell/IfcOpenShell
og:image:altOpen source IFC library and geometry engine. Contribute to IfcOpenShell/IfcOpenShell development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7
turbo-cache-controlno-cache
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
releaseb032e77f1ea437ede6c115446a0a467709b468e7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/8821#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F8821
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%2F8821
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/8821
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/8821
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/8821
https://github.com/IfcOpenShell/IfcOpenShell
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/8821
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/8821
#8822https://github.com/IfcOpenShell/IfcOpenShell/pull/8822
Bonsai: Extend Walls To Underside crashes with "'dict' object has no attribute 'extend'" on malformed BBIM_Boolean.Datahttps://github.com/IfcOpenShell/IfcOpenShell/issues/8821#top
#8822https://github.com/IfcOpenShell/IfcOpenShell/pull/8822
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
https://github.com/theoryshaw
theoryshawhttps://github.com/theoryshaw
on Jul 20, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8821#issue-4931941744
https://github.com/theoryshaw
theoryshawhttps://github.com/theoryshaw
on Jul 20, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8821#issuecomment-5025850895
Park_Den - Copy.ifc.ziphttps://github.com/user-attachments/files/30200275/Park_Den.-.Copy.ifc.zip
theoryshawhttps://github.com/theoryshaw
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
on Jul 20, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8821#event-28229145449
theoryshawhttps://github.com/theoryshaw
on Oct 2, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/8821#event-32361140123
Bonsai: harden BBIM_Boolean.Data parsing against non-list payloadshttps://github.com/theoryshaw/IfcOpenShell/commit/3c9dfefbd86699ea015dad2c490248b2ebe32b5f
https://docs.github.com/articles/closing-issues-via-commit-messages
3c9dfefhttps://github.com/theoryshaw/IfcOpenShell/commit/3c9dfefbd86699ea015dad2c490248b2ebe32b5f
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/8821
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/8821
PR Proposedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22PR%20Proposed%22
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.