René's URL Explorer Experiment


Title: geom.app "wrong number or type of arguments" · Issue #1444 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: geom.app "wrong number or type of arguments" · Issue #1444 · IfcOpenShell/IfcOpenShell

X Title: geom.app "wrong number or type of arguments" · Issue #1444 · IfcOpenShell/IfcOpenShell

Description: I'm trying to use the IfcOpenShell.geom.app application example, but get frequent crashes. I'm running Python 3.9 on macOS Big Sur and compiled IfcOpenShell and PythonOCC from sources. OpenCASCADE is version 7.5.1 occ_utils.py Here I get...

Open Graph Description: I'm trying to use the IfcOpenShell.geom.app application example, but get frequent crashes. I'm running Python 3.9 on macOS Big Sur and compiled IfcOpenShell and PythonOCC from sources. OpenCASCADE ...

X Description: I'm trying to use the IfcOpenShell.geom.app application example, but get frequent crashes. I'm running Python 3.9 on macOS Big Sur and compiled IfcOpenShell and PythonOCC from sources. Open...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"geom.app \"wrong number or type of arguments\"","articleBody":"I'm trying to use the `IfcOpenShell.geom.app` application example, but get frequent crashes.\r\n\r\nI'm running `Python 3.9` on `macOS Big Sur` and compiled `IfcOpenShell` and `PythonOCC` from sources.\r\nOpenCASCADE is version 7.5.1\r\n\r\n## occ_utils.py\r\n\r\nHere I get the wrong number or type of arguments, when calling `V3d.V3d_DirectionalLight(viewer_handle)`\r\nWhen I replace it with `light = V3d.V3d_DirectionalLight(*dir)` and comment out the next line (`SetDirection`), I can at least launch the viewer.\r\n\r\n```python\r\n        for dir in dirs:\r\n            light = V3d.V3d_DirectionalLight(*dir)  # viewer_handle)\r\n            # light.SetDirection(*dir)\r\n            viewer.SetLightOn(light.GetHandle() if USE_OCCT_HANDLE else light)\r\n```\r\n\r\n## running the viewer\r\n\r\nI use following minimal script to launch the viewer:\r\n\r\n```python\r\nfrom ifcopenshell.geom.app import application\r\na = application().start()\r\n```\r\n\r\nThis seems to work fairly OK, but whenever I click on one of the Types or try to pick an object, I get a crash when calling into `AIS_InteractiveContext_Select`.\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.9/site-packages/OCC/Display/qtDisplay.py\", line 210, in mouseReleaseEvent\r\n    self._display.Select(pt.x(), pt.y())\r\n  File \"/usr/local/lib/python3.9/site-packages/ifcopenshell/geom/app.py\", line 571, in HandleSelection\r\n    v.Select()\r\n  File \"/usr/local/lib/python3.9/site-packages/OCC/Core/AIS.py\", line 4932, in Select\r\n    return _AIS.AIS_InteractiveContext_Select(self, *args)\r\nTypeError: Wrong number or type of arguments for overloaded function 'AIS_InteractiveContext_Select'.\r\n  Possible C/C++ prototypes are:\r\n    AIS_InteractiveContext::Select(Standard_Integer const,Standard_Integer const,Standard_Integer const,Standard_Integer const,opencascade::handle\u003c V3d_View > const &,Standard_Boolean const)\r\n    AIS_InteractiveContext::Select(TColgp_Array1OfPnt2d const &,opencascade::handle\u003c V3d_View > const &,Standard_Boolean const)\r\n    AIS_InteractiveContext::Select(Standard_Boolean const)\r\n```\r\n\r\nThis seems to be, again, a mismatch between the different libraries (PythonOCC, IfcOpenShell).\r\n","author":{"url":"https://github.com/stefkeB","@type":"Person","name":"stefkeB"},"datePublished":"2021-04-27T08:46:40Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/1444"}

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:0a559412-ae83-d6e5-2f46-e991d74c0041
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB896:23BC15:6ECE6F:95231B:6B04AB02
html-safe-nonce9cd25eaa28426c75f429ce3b5ba50feaead0adcaff8913425abde8c98fe20bc1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODk2OjIzQkMxNTo2RUNFNkY6OTUyMzFCOjZCMDRBQjAyIiwidmlzaXRvcl9pZCI6IjY0NTkxNzc3MzAyODk0Nzg0MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf21aa9754f7c3cdbbaf1986e6f2e39ad09e9b0e2629a3d5c3271f5d4b5730867
hovercard-subject-tagissue:868618256
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/1444/issue_layout
twitter:imagehttps://opengraph.githubassets.com/eca39747baff5443c81587995f1d825d61f2ca0933f41329c79050abac714a07/IfcOpenShell/IfcOpenShell/issues/1444
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eca39747baff5443c81587995f1d825d61f2ca0933f41329c79050abac714a07/IfcOpenShell/IfcOpenShell/issues/1444
og:image:altI'm trying to use the IfcOpenShell.geom.app application example, but get frequent crashes. I'm running Python 3.9 on macOS Big Sur and compiled IfcOpenShell and PythonOCC from sources. OpenCASCADE ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamestefkeB
hostnamegithub.com
expected-hostnamegithub.com
Nonef1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1
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
releaseffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/1444#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F1444
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%2F1444
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/1444
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1444
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/1444
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/1444
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1444
geom.app "wrong number or type of arguments"https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#top
IfcOpenShell-Pythonhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Python%22
https://github.com/stefkeB
stefkeBhttps://github.com/stefkeB
on Apr 27, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issue-868618256
https://github.com/stefkeB
stefkeBhttps://github.com/stefkeB
on Apr 27, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-827488174
app.py#L571https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcopenshell-python/ifcopenshell/geom/app.py#L571
app.py#L575https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcopenshell-python/ifcopenshell/geom/app.py#L575
tpaviot/pythonocc-core#759https://github.com/tpaviot/pythonocc-core/issues/759
app.py#L368https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcopenshell-python/ifcopenshell/geom/app.py#L368
https://github.com/aothms
aothmshttps://github.com/aothms
on Apr 27, 2021https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-827644826
@stefkeBhttps://github.com/stefkeB
https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcopenshell-python/ifcopenshell/geom/app.py#L16https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcopenshell-python/ifcopenshell/geom/app.py#L16
https://dev.opencascade.org/doc/occt-6.9.0/refman/html/class_v3d___directional_light.htmlhttps://dev.opencascade.org/doc/occt-6.9.0/refman/html/class_v3d___directional_light.html
https://dev.opencascade.org/doc/occt-7.4.0/refman/html/class_v3d___directional_light.htmlhttps://dev.opencascade.org/doc/occt-7.4.0/refman/html/class_v3d___directional_light.html
https://github.com/tpaviot/pythonocc-core/blob/master/src/Display/OCCViewer.py#L585https://github.com/tpaviot/pythonocc-core/blob/master/src/Display/OCCViewer.py#L585
https://dev.opencascade.org/doc/refman/html/class_a_i_s___interactive_context.html#ac7879e85fade79a71e4f543a154763ffhttps://dev.opencascade.org/doc/refman/html/class_a_i_s___interactive_context.html#ac7879e85fade79a71e4f543a154763ff
https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py#L152https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.6.0/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py#L152
https://github.com/Moult
Moulthttps://github.com/Moult
on Sep 5, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1236481269
@stefkeBhttps://github.com/stefkeB
https://github.com/cvoivret
cvoivrethttps://github.com/cvoivret
on Sep 9, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1241559008
@aothmshttps://github.com/aothms
https://github.com/aothms
aothmshttps://github.com/aothms
on Sep 9, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1241599445
@cvoivrethttps://github.com/cvoivret
https://github.com/AECgeeks/ifc-pipelinehttps://github.com/AECgeeks/ifc-pipeline
https://github.com/cvoivret
cvoivrethttps://github.com/cvoivret
on Sep 9, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1241619361
@aothmshttps://github.com/aothms
https://github.com/aothms
aothmshttps://github.com/aothms
on Sep 9, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1241629076
https://github.com/IfcOpenShell/IfcOpenShell/#ifcopenshellhttps://github.com/IfcOpenShell/IfcOpenShell/#ifcopenshell
IfcOpenBot@dc67287#commentshttps://github.com/IfcOpenBot/IfcOpenShell/commit/dc67287d4b083cabae39ee4f92fa93b6f74cae11#comments
https://github.com/cvoivret
cvoivrethttps://github.com/cvoivret
on Sep 9, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1241655607
https://github.com/aothms
aothmshttps://github.com/aothms
on Sep 9, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1241700708
https://github.com/cvoivret
cvoivrethttps://github.com/cvoivret
on Sep 9, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1241710949
codehttps://github.com/cvoivret/canopia_ifcocc
https://github.com/aothms
aothmshttps://github.com/aothms
on Sep 9, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1241898883
@stefkeBhttps://github.com/stefkeB
https://github.com/cvoivret
cvoivrethttps://github.com/cvoivret
on Sep 13, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1245166951
https://github.com/cvoivret
cvoivrethttps://github.com/cvoivret
on Oct 11, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1274205299
…https://github.com/IfcOpenShell/IfcOpenShell/issues/1444
@stefkeBhttps://github.com/stefkeB
https://github.com/stefkeBhttps://github.com/stefkeB
http://geom.app>*http://geom.app>*
#1444 (comment)https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1241898883
https://github.com/notifications/unsubscribe-auth/ABWLGA5PMMQ2FOD4F7JLLALV5MSEJANCNFSM43URF76Qhttps://github.com/notifications/unsubscribe-auth/ABWLGA5PMMQ2FOD4F7JLLALV5MSEJANCNFSM43URF76Q
https://github.com/aothms
aothmshttps://github.com/aothms
on Oct 14, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1278656740
https://dev.opencascade.org/doc/occt-7.4.0/refman/html/class_v3d___directional_light.htmlhttps://dev.opencascade.org/doc/occt-7.4.0/refman/html/class_v3d___directional_light.html
https://dev.opencascade.org/doc/occt-7.6.0/refman/html/class_v3d___directional_light.htmlhttps://dev.opencascade.org/doc/occt-7.6.0/refman/html/class_v3d___directional_light.html
https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.7.0/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py#L93https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.7.0/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py#L93
aothmshttps://github.com/aothms
on Oct 22, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#event-7646745312
#1444 V3d_DirectionalLight compatibility fixhttps://github.com/IfcOpenShell/IfcOpenShell/commit/6346c5ba471b3e385858411fe9ee52ae4d21bafe
#1444https://github.com/IfcOpenShell/IfcOpenShell/issues/1444
6346c5bhttps://github.com/IfcOpenShell/IfcOpenShell/commit/6346c5ba471b3e385858411fe9ee52ae4d21bafe
https://github.com/aothms
aothmshttps://github.com/aothms
on Oct 22, 2022https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#issuecomment-1287876554
6346c5bhttps://github.com/IfcOpenShell/IfcOpenShell/commit/6346c5ba471b3e385858411fe9ee52ae4d21bafe
Moulthttps://github.com/Moult
IfcOpenShell-Pythonhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Python%22
on Feb 14, 2023https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#event-8511144410
Moulthttps://github.com/Moult
completedhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 26, 2025https://github.com/IfcOpenShell/IfcOpenShell/issues/1444#event-20508579087
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1444
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/1444
IfcOpenShell-Pythonhttps://github.com/IfcOpenShell/IfcOpenShell/issues?q=state%3Aopen%20label%3A%22IfcOpenShell-Python%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.