René's URL Explorer Experiment


Title: [ifcopenshell-python] file.remove() on rooted elem without globalid gives error message · Issue #2796 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: [ifcopenshell-python] file.remove() on rooted elem without globalid gives error message · Issue #2796 · IfcOpenShell/IfcOpenShell

X Title: [ifcopenshell-python] file.remove() on rooted elem without globalid gives error message · Issue #2796 · IfcOpenShell/IfcOpenShell

Description: to reproduce use this code: import ifcopenshell ifc = ifcopenshell.file(schema='IFC4') wall = ifc.createIfcWall() print("Wall is here") print(wall) print("Wall is deleted") ifc.remove(wall) print("Wall should be deleted") print(wall) pri...

Open Graph Description: to reproduce use this code: import ifcopenshell ifc = ifcopenshell.file(schema='IFC4') wall = ifc.createIfcWall() print("Wall is here") print(wall) print("Wall is deleted") ifc.remove(wall) print("...

X Description: to reproduce use this code: import ifcopenshell ifc = ifcopenshell.file(schema='IFC4') wall = ifc.createIfcWall() print("Wall is here") print(wall) print("Wall is deleted&quo...

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

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":"[ifcopenshell-python] file.remove() on rooted elem without globalid gives error message","articleBody":"to reproduce use this code:\r\n\r\n```python\r\nimport ifcopenshell\r\n\r\nifc = ifcopenshell.file(schema='IFC4')\r\n\r\nwall = ifc.createIfcWall()\r\n\r\nprint(\"Wall is here\")\r\nprint(wall)\r\n\r\n\r\nprint(\"Wall is deleted\")\r\nifc.remove(wall)\r\n\r\nprint(\"Wall should be deleted\")\r\nprint(wall)\r\nprint(\"Is it?\")\r\n\r\n```\r\n\r\nand the error traceback was:\r\n\r\n```shell\r\nWall is here\r\n#1=IfcWall($,$,$,$,$,$,$,$,$)\r\nWall is deleted\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\martin\\remove_test\\remove_test.py\", line 19, in \u003cmodule>\r\n    ifc.remove(wall)\r\n  File \"C:\\Users\\martin\\Documents\\miniforge\\envs\\ifcopenshell\\Lib\\site-packages\\ifcopenshell\\file.py\", line 428, in remove\r\n    return self.wrapped_data.remove(inst.wrapped_data)\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"C:\\Users\\martin\\Documents\\miniforge\\envs\\ifcopenshell\\Lib\\site-packages\\ifcopenshell\\ifcopenshell_wrapper.py\", line 4497, in remove\r\n    return _ifcopenshell_wrapper.file_remove(self, entity)\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nRuntimeError: Invalid cast\r\n\r\n```\r\n\r\ni found the remove method in the doc, see https://blenderbim.org/docs-python/ifcopenshell-python/hello_world.html","author":{"url":"https://github.com/Martin15135215","@type":"Person","name":"Martin15135215"},"datePublished":"2023-02-21T09:27:44Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/2796"}

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:5129fd2c-22dc-02ba-06cd-272da3c1301d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB458:4AE08:2B1D56:39F5CF:6B049BA0
html-safe-noncea6979822156736d7972a00b919bb9d784bf4087a7fa9f2f552252beec405d592
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDU4OjRBRTA4OjJCMUQ1NjozOUY1Q0Y6NkIwNDlCQTAiLCJ2aXNpdG9yX2lkIjoiOTExMTc5NTU0NDI4MzcxNjUxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd96af6f57009d543d7c1866fa565a4fe1bff75de5d6f036d74921023e02c3c30
hovercard-subject-tagissue:1593129376
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/2796/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5197dd2da662f274a4fb7339d83a5aa8dc82a9b7e98bac516b3085c3d2f6339d/IfcOpenShell/IfcOpenShell/issues/2796
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5197dd2da662f274a4fb7339d83a5aa8dc82a9b7e98bac516b3085c3d2f6339d/IfcOpenShell/IfcOpenShell/issues/2796
og:image:altto reproduce use this code: import ifcopenshell ifc = ifcopenshell.file(schema='IFC4') wall = ifc.createIfcWall() print("Wall is here") print(wall) print("Wall is deleted") ifc.remove(wall) print("...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMartin15135215
hostnamegithub.com
expected-hostnamegithub.com
None9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d
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
release3fd14143b75b2af7b76bbd23b069867d091adfcc
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/2796#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F2796
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%2F2796
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/2796
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/2796
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/2796
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/2796
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/2796
[ifcopenshell-python] file.remove() on rooted elem without globalid gives error messagehttps://github.com/IfcOpenShell/IfcOpenShell/issues/2796#top
IfcOpenShell-Pythonhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Python%22
0.7.0 releasehttps://github.com/IfcOpenShell/IfcOpenShell/milestone/4
https://github.com/Martin15135215
Martin15135215https://github.com/Martin15135215
on Feb 21, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#issue-1593129376
https://blenderbim.org/docs-python/ifcopenshell-python/hello_world.htmlhttps://blenderbim.org/docs-python/ifcopenshell-python/hello_world.html
https://github.com/Moult
Moulthttps://github.com/Moult
on Feb 21, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#issuecomment-1438159026
Moulthttps://github.com/Moult
IfcOpenShell-Pythonhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Python%22
on Feb 21, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#event-8568881647
https://github.com/Martin15135215
Martin15135215https://github.com/Martin15135215
on Feb 21, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#issuecomment-1438185985
https://github.com/Moult
Moulthttps://github.com/Moult
on Feb 21, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#issuecomment-1438225576
https://github.com/aothms
aothmshttps://github.com/aothms
on Feb 21, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#issuecomment-1438258501
https://github.com/Moult
Moulthttps://github.com/Moult
on Feb 21, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#issuecomment-1438262459
@aothmshttps://github.com/aothms
https://github.com/aothms
aothmshttps://github.com/aothms
on Feb 21, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#issuecomment-1438376737
aothmshttps://github.com/aothms
on Feb 21, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#event-8570298582
aothmshttps://github.com/aothms
0.7.0 releasehttps://github.com/IfcOpenShell/IfcOpenShell/milestone/4
on Feb 21, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#event-8570299566
https://github.com/Andrej730
Andrej730https://github.com/Andrej730
on Nov 10, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#issuecomment-1805208146
aothmshttps://github.com/aothms
on Dec 1, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#event-11123085836
#2796 don't fail on null guid for rooted element deletionhttps://github.com/IfcOpenShell/IfcOpenShell/commit/7168f8eeffc0f36155e10e10e05dcfd85a73f299
#2796https://github.com/IfcOpenShell/IfcOpenShell/issues/2796
7168f8ehttps://github.com/IfcOpenShell/IfcOpenShell/commit/7168f8eeffc0f36155e10e10e05dcfd85a73f299
Moulthttps://github.com/Moult
completedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 14, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#event-11482383658
aothmshttps://github.com/aothms
on Apr 18, 2024https://github.com/IfcOpenShell/IfcOpenShell/issues/2796#event-12527801867
don't fail on null guid for rooted element deletion #2796https://github.com/IfcOpenShell/IfcOpenShell/commit/4f64b658b0469bc1d5aefea7c9b352c9befb16c0
#2796https://github.com/IfcOpenShell/IfcOpenShell/issues/2796
4f64b65https://github.com/IfcOpenShell/IfcOpenShell/commit/4f64b658b0469bc1d5aefea7c9b352c9befb16c0
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/2796
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/2796
IfcOpenShell-Pythonhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Python%22
0.7.0 releaseNo due datehttps://github.com/IfcOpenShell/IfcOpenShell/milestone/4
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.