René's URL Explorer Experiment


Title: Bonsai: tell the user how to recover missing dependencies (#8031) by petruconduraru · Pull Request #8993 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: Bonsai: tell the user how to recover missing dependencies (#8031) by petruconduraru · Pull Request #8993 · IfcOpenShell/IfcOpenShell

X Title: Bonsai: tell the user how to recover missing dependencies (#8031) by petruconduraru · Pull Request #8993 · IfcOpenShell/IfcOpenShell

Description: Problem Bonsai fails to start with ModuleNotFoundError: No module named 'ifcopenshell' and binary_error: Couldn't find ifcopenshell wrapper binary., and the fatal error panel only says "Bonsai could not load." The "How Can I Fix This?" link points at a troubleshooting page with no entry for this failure, so the user has nowhere to go. Root cause (not ours to fix, but ours to explain) Blender extracts every extension's bundled wheels into a single shared folder, extensions/.local/lib/pythonX.XX/site-packages, and re-syncs it only on install, uninstall, enable or disable. Startup never triggers a sync (addon_utils._initialize_extensions_compat_data, _bpy_internal.extensions.wheel_manager.apply_action). If that sync does not complete, the extension folder stays in place while its dependencies are gone. Repairing the install belongs to Blender, so this PR does not touch install state. It only names the condition and states the recovery step. Verification (Blender 5.1.2, isolated BLENDER_USER_RESOURCES profile) With ifcopenshell deleted from the shared site-packages, the extension is still listed as enabled and the import still fails on three consecutive restarts. The broken state is permanent from the user's point of view. Disabling then re-enabling the extension restores the wheels (['ifcopenshell', 'ifcopenshell-0.8.6.dist-info']). That is the recovery step the panel and the docs now give. With two extensions bundling the same wheel, the shared folder is rewritten on every enable and disable (B enabled -> 0.8.7, B disabled -> [], A enabled -> 0.8.6), which is why an incomplete rewrite strands whatever is left enabled. The new panel text renders in exactly the reported state, immediately below the existing System Information box and above "Copy Error Message To Clipboard". Change src/bonsai/bonsai/__init__.py: one extra branch in BIM_PT_fatal_error.draw, next to the existing wrong-Python-version advice, shown only when the traceback is No module named 'ifcopenshell'. No behaviour change, no install state is read or written. src/bonsai/docs/guides/troubleshooting.rst: a matching "Installation issues" entry. Fixes #8031. Correction: this does not fix #8031, which is titled 'Bonsai Auto-Update on daily build fails'. The change only adds a message and a troubleshooting entry that tell the user how to recover (disable then enable Bonsai); it does not stop the failed auto-update from happening. Please read 'Fixes #8031' as 'Related to #8031'. Generated with the assistance of an AI coding tool. Test and corrections, added 2026-10-07 A second commit adds two tests in test/tool/test_blender.py. One fails without the change (the panel shows only the system information) and passes with it; the other checks that a different import failure does not get this advice and passes both ways. Run headless in Blender 5.2: the file goes from 21 to 23 passed. Corrections to the text above: the advice is drawn inside the System Information box, after the version lines, not below it. "No behaviour change" should read: no change to install state; the panel shows five extra lines in this one case. The verification above names Blender 5.1.2; the test run is on 5.2, and the manual check was not repeated.

Open Graph Description: Problem Bonsai fails to start with ModuleNotFoundError: No module named 'ifcopenshell' and binary_error: Couldn't find ifcopenshell wrapper binary., and the fatal error panel only says ...

X Description: Problem Bonsai fails to start with ModuleNotFoundError: No module named 'ifcopenshell' and binary_error: Couldn't find ifcopenshell wrapper binary., and the fatal error pane...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:77f39b88-cb1c-c22c-674a-cee82f05e4da
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD748:377538:27EBAF:350957:6B04B624
html-safe-noncebedf7b8f58643f9a634cd99685c02b7708b9f9fd06c4373dfb85b657a50fe5b4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzQ4OjM3NzUzODoyN0VCQUY6MzUwOTU3OjZCMDRCNjI0IiwidmlzaXRvcl9pZCI6IjU1ODExNDkxNTY0MjIyMzU2ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8cf3d27b5c92ef7c2b6723faca172793d0bb9c0a6baaa0b0072c15e22979a4ad
hovercard-subject-tagpull_request:4135427312
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files
twitter:imagehttps://avatars.githubusercontent.com/u/139251053?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/139251053?s=400&v=4
og:image:altProblem Bonsai fails to start with ModuleNotFoundError: No module named 'ifcopenshell' and binary_error: Couldn't find ifcopenshell wrapper binary., and the fatal error panel only says ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fpull%2F8993%2Ffiles
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%2Fpull%2F8993%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files
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 requests940 (940)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
Sign up for GitHub https://github.com/signup?return_to=%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2Fnew%2Fchoose
petruconduraruhttps://github.com/petruconduraru
IfcOpenShell:v0.9.0https://github.com/IfcOpenShell/IfcOpenShell/tree/v0.9.0
BIMvoice:bonsai-8031-missing-deps-guidancehttps://github.com/BIMvoice/IfcOpenShell/tree/bonsai-8031-missing-deps-guidance
Conversation 0 https://github.com/IfcOpenShell/IfcOpenShell/pull/8993
Commits 4 https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/commits
Checks 6 https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/checks
Files changed https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files
Bonsai: tell the user how to recover missing dependencies (#8031) https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#top
Show all changes 4 commits https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files
5ce3b9d Bonsai: tell the user how to recover missing dependencies (#8031) petruconduraru Jul 26, 2026 https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/commits/5ce3b9d5ed1c64c4be9817377cb2f03715325cab
787604e Bonsai: state the multi extension case as verified, not as a claim petruconduraru Jul 26, 2026 https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/commits/787604e0f1cae851a9415f19e6f4c72bfc3b1c5c
e63328e Merge origin/v0.9.0 into mig/8993 petruconduraru Sep 29, 2026 https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/commits/e63328ef2856fd914209541261ba2d393d2144e3
9adefe6 Bonsai: test the missing dependency advice petruconduraru Oct 7, 2026 https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/commits/9adefe603966adfd375afea7b166236a7010b0fc
Clear filters https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files
__init__.py https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-30758781c70da25245f257c4c6f5ea12d2ac21b778b26798ef91e5fa91bfb841
troubleshooting.rst https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-c68bd67ace3f65054aa630133177039fcdb14b8631f900d0a70fd695e41a1a2d
test_blender.py https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-132e0f4275a27521ba7e814eb065b84a5e33b230ca2666d9dfff0503b1cea457
src/bonsai/bonsai/__init__.pyhttps://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-30758781c70da25245f257c4c6f5ea12d2ac21b778b26798ef91e5fa91bfb841
View file https://github.com/IfcOpenShell/IfcOpenShell/blob/9adefe603966adfd375afea7b166236a7010b0fc/src/bonsai/bonsai/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-30758781c70da25245f257c4c6f5ea12d2ac21b778b26798ef91e5fa91bfb841
https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-30758781c70da25245f257c4c6f5ea12d2ac21b778b26798ef91e5fa91bfb841
src/bonsai/docs/guides/troubleshooting.rsthttps://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-c68bd67ace3f65054aa630133177039fcdb14b8631f900d0a70fd695e41a1a2d
View file https://github.com/IfcOpenShell/IfcOpenShell/blob/9adefe603966adfd375afea7b166236a7010b0fc/src/bonsai/docs/guides/troubleshooting.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-c68bd67ace3f65054aa630133177039fcdb14b8631f900d0a70fd695e41a1a2d
https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-c68bd67ace3f65054aa630133177039fcdb14b8631f900d0a70fd695e41a1a2d
src/bonsai/test/tool/test_blender.pyhttps://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-132e0f4275a27521ba7e814eb065b84a5e33b230ca2666d9dfff0503b1cea457
View file https://github.com/IfcOpenShell/IfcOpenShell/blob/9adefe603966adfd375afea7b166236a7010b0fc/src/bonsai/test/tool/test_blender.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-132e0f4275a27521ba7e814eb065b84a5e33b230ca2666d9dfff0503b1cea457
https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-132e0f4275a27521ba7e814eb065b84a5e33b230ca2666d9dfff0503b1cea457
https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-132e0f4275a27521ba7e814eb065b84a5e33b230ca2666d9dfff0503b1cea457
https://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files#diff-132e0f4275a27521ba7e814eb065b84a5e33b230ca2666d9dfff0503b1cea457
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/8993/files
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-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.