Title: Altering pyradiance files during Bonsaï activation feels wrong and cause issue for packaging purpose · Issue #7156 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: Altering pyradiance files during Bonsaï activation feels wrong and cause issue for packaging purpose · Issue #7156 · IfcOpenShell/IfcOpenShell
X Title: Altering pyradiance files during Bonsaï activation feels wrong and cause issue for packaging purpose · Issue #7156 · IfcOpenShell/IfcOpenShell
Description: Bug Description Using AUR packaged version with pyradiance installed systemwide there is an issue here: IfcOpenShell/src/bonsai/bonsai/bim/module/light/__init__.py Line 69 in ab59173 file.chmod(file.stat().st_mode | stat.S_IEXEC) I don't...
Open Graph Description: Bug Description Using AUR packaged version with pyradiance installed systemwide there is an issue here: IfcOpenShell/src/bonsai/bonsai/bim/module/light/__init__.py Line 69 in ab59173 file.chmod(fil...
X Description: Bug Description Using AUR packaged version with pyradiance installed systemwide there is an issue here: IfcOpenShell/src/bonsai/bonsai/bim/module/light/__init__.py Line 69 in ab59173 file.chmod(fil...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/7156
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Altering pyradiance files during Bonsaï activation feels wrong and cause issue for packaging purpose","articleBody":"### Bug Description\n\nUsing AUR packaged version with `pyradiance` installed systemwide there is an issue here:\nhttps://github.com/IfcOpenShell/IfcOpenShell/blob/ab5917313508513a89d4c4417e261383f7415157/src/bonsai/bonsai/bim/module/light/__init__.py#L69\nI don't these commands but I assume that it try to change exec rights on file which is not possible to a non root user. Also, `3ds2mgf` is already executable. It might be good to make change exec rights during https://github.com/IfcOpenShell/IfcOpenShell/blob/ab5917313508513a89d4c4417e261383f7415157/src/bonsai/Makefile instead ?\n\n### Attachments\n\n_No response_\n\n### Debug and Error Output\n\n```true\nException in module register(): /usr/share/blender/4.5/extensions/system/bonsai/__init__.py\nTraceback (most recent call last):\n File \"/usr/share/blender/4.5/scripts/modules/addon_utils.py\", line 515, in enable\n mod.register()\n ~~~~~~~~~~~~^^\n File \"/usr/share/blender/4.5/extensions/system/bonsai/__init__.py\", line 278, in register\n bonsai.bim.register()\n ~~~~~~~~~~~~~~~~~~~^^\n File \"/usr/lib/python3.13/site-packages/bonsai/bim/__init__.py\", line 257, in register\n mod.register()\n ~~~~~~~~~~~~^^\n File \"/usr/lib/python3.13/site-packages/bonsai/bim/module/light/__init__.py\", line 69, in register\n file.chmod(file.stat().st_mode | stat.S_IEXEC)\n ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/lib/python3.13/pathlib/_local.py\", line 738, in chmod\n os.chmod(self, mode, follow_symlinks=follow_symlinks)\n ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nPermissionError: [Errno 1] Operation not permitted: '/usr/lib/python3.13/site-packages/pyradiance/bin/3ds2mgf'\n```","author":{"url":"https://github.com/CyrilWaechter","@type":"Person","name":"CyrilWaechter"},"datePublished":"2025-09-24T10:15:55Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/7156"}
| 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:8d5819c3-ca59-eafc-b558-e9cb480c574b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A90E:DBD8D:2B6F2A:3A9D14:6B049B92 |
| html-safe-nonce | ade9f806b05f9203c7a8e0b379425923c62a2510ccef4f096d64f42afef50650 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTBFOkRCRDhEOjJCNkYyQTozQTlEMTQ6NkIwNDlCOTIiLCJ2aXNpdG9yX2lkIjoiMTg3NjQxMzM5ODg2MzA5MjYyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2078c6badf48c99c835fe34b800aa9e133cdfcbf753c5b0f6d8eeb866a98fa42 |
| hovercard-subject-tag | issue:3448722618 |
| 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/7156/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c21349ae42d50a5acb9e3a79467a48dc577086ad03c3f379880ec297db9a38e/IfcOpenShell/IfcOpenShell/issues/7156 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c21349ae42d50a5acb9e3a79467a48dc577086ad03c3f379880ec297db9a38e/IfcOpenShell/IfcOpenShell/issues/7156 |
| og:image:alt | Bug Description Using AUR packaged version with pyradiance installed systemwide there is an issue here: IfcOpenShell/src/bonsai/bonsai/bim/module/light/__init__.py Line 69 in ab59173 file.chmod(fil... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CyrilWaechter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d |
| 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 | 3fd14143b75b2af7b76bbd23b069867d091adfcc |
| 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