Title: running code_pane_viewer crashes when loading file · Issue #1098 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: running code_pane_viewer crashes when loading file · Issue #1098 · IfcOpenShell/IfcOpenShell
X Title: running code_pane_viewer crashes when loading file · Issue #1098 · IfcOpenShell/IfcOpenShell
Description: When starting the code_pane_viewer in python and loading an ifc-model, the program crashes with following output: $ ./test.py INFO:OCC.Display.backend:backend loaded: qt-pyqt5 QLayout: Attempting to add QLayout "" to code_edit "", which ...
Open Graph Description: When starting the code_pane_viewer in python and loading an ifc-model, the program crashes with following output: $ ./test.py INFO:OCC.Display.backend:backend loaded: qt-pyqt5 QLayout: Attempting t...
X Description: When starting the code_pane_viewer in python and loading an ifc-model, the program crashes with following output: $ ./test.py INFO:OCC.Display.backend:backend loaded: qt-pyqt5 QLayout: Attempting t...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/1098
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"running code_pane_viewer crashes when loading file","articleBody":"When starting the code_pane_viewer in python and loading an ifc-model, the program crashes with following output:\r\n```\r\n$ ./test.py \r\nINFO:OCC.Display.backend:backend loaded: qt-pyqt5\r\nQLayout: Attempting to add QLayout \"\" to code_edit \"\", which already has a layout\r\n ###### 3D rendering pipe initialisation #####\r\nDisplay3d class initialization starting ...\r\nAspect_DisplayConnection created.\r\nGraphic_Driver created.\r\nV3d_Viewer created.\r\nAIS_InteractiveContext created.\r\nV3d_View created\r\nXw_Window created.\r\nDisplay3d class successfully initialized.\r\n ########################################\r\nGtk-Message: 10:31:52.809: GtkDialog mapped without a transient parent. This is discouraged.\r\nproperty set dictionary has 14 entries\r\nTraceback (most recent call last):\r\n File \"path/miniconda3/envs/py36/lib/python3.6/site-packages/ifcopenshell/geom/app.py\", line 457, in finished\r\n ais.GetObject().SetSelectionPriority(self.counter)\r\nAttributeError: 'AIS_Shape' object has no attribute 'GetObject'\r\nAborted (core dumped)\r\n```\r\n\r\ntest.py:\r\n```\r\n#!/usr/bin/env python3\r\n\r\nimport ifcopenshell\r\nimport ifcopenshell.geom.app\r\nfrom ifcopenshell.geom.app import application \r\n\r\napplication().start()\r\n```\r\n$python -V:\r\nPython 3.6.11\r\n\r\nI have seen this [post](https://www.gitmemory.com/issue/tpaviot/pythonocc-core/784/598000280). What is the set of versions that I need?\r\n\r\nThanks\r\n\r\nMichael","author":{"url":"https://github.com/fmros","@type":"Person","name":"fmros"},"datePublished":"2020-11-10T09:37:23Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/1098"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6dcfe718-04b9-715f-bec3-44c8bec5ba6e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE92:1CF439:10D9D7:166F00:6B04B10B |
| html-safe-nonce | 2cda45dc2377ae93a9d7c85aaab7419a5fef652e60ec4c72aa1f949f7c973798 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTkyOjFDRjQzOToxMEQ5RDc6MTY2RjAwOjZCMDRCMTBCIiwidmlzaXRvcl9pZCI6IjExNDEyMDUwMDc0MTc1MjAzOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2e55ee7b90a102045d8d7442e157da7b3b0a9b4b388e497207a74284190e3d3c |
| hovercard-subject-tag | issue:739746680 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/1098/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7aa06fe42849af17863612acb799e11a7469712bd27404546c36f8169274fed7/IfcOpenShell/IfcOpenShell/issues/1098 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7aa06fe42849af17863612acb799e11a7469712bd27404546c36f8169274fed7/IfcOpenShell/IfcOpenShell/issues/1098 |
| og:image:alt | When starting the code_pane_viewer in python and loading an ifc-model, the program crashes with following output: $ ./test.py INFO:OCC.Display.backend:backend loaded: qt-pyqt5 QLayout: Attempting t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fmros |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width