René's URL Explorer Experiment


Title: fix(bonsai): resolve TypeError when importing Quick Favorites with Enum values (Resolves #7773) by dipayansardar73-decode · Pull Request #7933 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: fix(bonsai): resolve TypeError when importing Quick Favorites with Enum values (Resolves #7773) by dipayansardar73-decode · Pull Request #7933 · IfcOpenShell/IfcOpenShell

X Title: fix(bonsai): resolve TypeError when importing Quick Favorites with Enum values (Resolves #7773) by dipayansardar73-decode · Pull Request #7933 · IfcOpenShell/IfcOpenShell

Description: Fixes #7773 Description This PR resolves a TypeError that occurred when running bim.import_quick_favorites in Bonsai. The Bug: Blender's internal metadata for the Quick Favorites menu sometimes stores property values as integer indices for EnumProperty fields. However, when Bonsai attempts to synchronize these values into its own internal PropertyGroup representations, it uses setattr on EnumProperty fields which expects a string identifier, not an integer. This caused a fatal TypeError: expected a string enum, not int, preventing the import from completing successfully. The Fix: I've added a robust guard in QuickFavoriteProperty.set_value. It now checks if a value is being assigned to an enum_value field. If the value provided is an integer, it automatically looks up the corresponding string identifier from the enum_items collection before performing the assignment. This ensures a seamless import of user settings from Blender into Bonsai without traceback errors.

Open Graph Description: Fixes #7773 Description This PR resolves a TypeError that occurred when running bim.import_quick_favorites in Bonsai. The Bug: Blender's internal metadata for the Quick Favorites menu sometimes...

X Description: Fixes #7773 Description This PR resolves a TypeError that occurred when running bim.import_quick_favorites in Bonsai. The Bug: Blender's internal metadata for the Quick Favorites menu somet...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.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:7e9d5241-5df0-a9c8-4ef2-e1d5994f885b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB6C4:327701:23F429:310829:6B04B653
html-safe-noncef08a60b543b77970fa4c31de08a8c4fd54ea373f189e0bbcbecbda0a777aeccc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkM0OjMyNzcwMToyM0Y0Mjk6MzEwODI5OjZCMDRCNjUzIiwidmlzaXRvcl9pZCI6IjE5NTA1ODY5NDcxOTQxMDc0NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3b8e6538b839d2bad31fd39394f00b7eb7b9c7a11862f840ea6e8bfd6889e5f3
hovercard-subject-tagpull_request:3519807752
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/7933/files
twitter:imagehttps://avatars.githubusercontent.com/u/233535167?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/233535167?s=400&v=4
og:image:altFixes #7773 Description This PR resolves a TypeError that occurred when running bim.import_quick_favorites in Bonsai. The Bug: Blender's internal metadata for the Quick Favorites menu sometimes...
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/7933/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fpull%2F7933%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%2F7933%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/7933/files
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/pull/7933/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
dipayansardar73-decodehttps://github.com/dipayansardar73-decode
IfcOpenShell:v0.8.0https://github.com/IfcOpenShell/IfcOpenShell/tree/v0.8.0
dipayansardar73-decode:fix/issue-7773-quick-favorites-typeerrorhttps://github.com/dipayansardar73-decode/IfcOpenShell/tree/fix/issue-7773-quick-favorites-typeerror
Conversation 0 https://github.com/IfcOpenShell/IfcOpenShell/pull/7933
Commits 4 https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/commits
Checks 0 https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/checks
Files changed https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files
fix(bonsai): resolve TypeError when importing Quick Favorites with Enum values (Resolves #7773) https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#top
Show all changes 4 commits https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files
cdc9acc fix: resolve AttributeError in ChangeExtrusionXAngle and Style API (#… Apr 2, 2026 https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/commits/cdc9acc2ca3f277c90bbea5fd04c8980eae32e84
9b11e3b fix: resolve AttributeError in toggle_hide_spaces (#7889) Apr 2, 2026 https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/commits/9b11e3bcd63950560c13f44a24b4da8d488468df
f6056e3 fix(bonsai): prevent NoneType assignment crash when shifting spacial … Apr 12, 2026 https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/commits/f6056e322d82c0437e6207d2eb25810ae877ecd5
350ca1c fix(bonsai): resolve TypeError when importing Quick Favorites with En… Apr 12, 2026 https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/commits/350ca1c186d0bbb74cd3788cc6bdde60a598a76e
Clear filters https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files
Please reload this pagehttps://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files
prop.py https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-f512cd7117ff594d400e935fa60089592217e96c762bc3fcbc46a79ae97964b9
wall.py https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-d50c3603c07887cdac54f66837aace8b6bd1aff890306b5f4fe4e3de361730a2
collector.py https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-00738d8b36af032b7e8170401f7fb18cb1257591d3e98d5c4edbc66f6bf7c9dc
spatial.py https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-aa87883ea0653ab5d6c41e2cc2725336df41bed006d1ab81a848d7dd2b7038a3
assign_representation_styles.py https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-f1081203b957ce0097e4c0e54feee789a1fd54f12daded2d6047b82596586d79
src/bonsai/bonsai/bim/module/misc/prop.pyhttps://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-f512cd7117ff594d400e935fa60089592217e96c762bc3fcbc46a79ae97964b9
View file https://github.com/IfcOpenShell/IfcOpenShell/blob/350ca1c186d0bbb74cd3788cc6bdde60a598a76e/src/bonsai/bonsai/bim/module/misc/prop.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-f512cd7117ff594d400e935fa60089592217e96c762bc3fcbc46a79ae97964b9
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-f512cd7117ff594d400e935fa60089592217e96c762bc3fcbc46a79ae97964b9
src/bonsai/bonsai/bim/module/model/wall.pyhttps://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-d50c3603c07887cdac54f66837aace8b6bd1aff890306b5f4fe4e3de361730a2
View file https://github.com/IfcOpenShell/IfcOpenShell/blob/350ca1c186d0bbb74cd3788cc6bdde60a598a76e/src/bonsai/bonsai/bim/module/model/wall.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-d50c3603c07887cdac54f66837aace8b6bd1aff890306b5f4fe4e3de361730a2
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-d50c3603c07887cdac54f66837aace8b6bd1aff890306b5f4fe4e3de361730a2
src/bonsai/bonsai/tool/collector.pyhttps://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-00738d8b36af032b7e8170401f7fb18cb1257591d3e98d5c4edbc66f6bf7c9dc
View file https://github.com/IfcOpenShell/IfcOpenShell/blob/350ca1c186d0bbb74cd3788cc6bdde60a598a76e/src/bonsai/bonsai/tool/collector.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-00738d8b36af032b7e8170401f7fb18cb1257591d3e98d5c4edbc66f6bf7c9dc
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-00738d8b36af032b7e8170401f7fb18cb1257591d3e98d5c4edbc66f6bf7c9dc
src/bonsai/bonsai/tool/spatial.pyhttps://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-aa87883ea0653ab5d6c41e2cc2725336df41bed006d1ab81a848d7dd2b7038a3
View file https://github.com/IfcOpenShell/IfcOpenShell/blob/350ca1c186d0bbb74cd3788cc6bdde60a598a76e/src/bonsai/bonsai/tool/spatial.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-aa87883ea0653ab5d6c41e2cc2725336df41bed006d1ab81a848d7dd2b7038a3
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-aa87883ea0653ab5d6c41e2cc2725336df41bed006d1ab81a848d7dd2b7038a3
src/ifcopenshell-python/ifcopenshell/api/style/assign_representation_styles.pyhttps://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-f1081203b957ce0097e4c0e54feee789a1fd54f12daded2d6047b82596586d79
View file https://github.com/IfcOpenShell/IfcOpenShell/blob/350ca1c186d0bbb74cd3788cc6bdde60a598a76e/src/ifcopenshell-python/ifcopenshell/api/style/assign_representation_styles.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/{{ revealButtonHref }}
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-f1081203b957ce0097e4c0e54feee789a1fd54f12daded2d6047b82596586d79
https://github.com/IfcOpenShell/IfcOpenShell/pull/7933/files#diff-f1081203b957ce0097e4c0e54feee789a1fd54f12daded2d6047b82596586d79
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.