Title: ifc2sql recipe error · Issue #5052 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: ifc2sql recipe error · Issue #5052 · IfcOpenShell/IfcOpenShell
X Title: ifc2sql recipe error · Issue #5052 · IfcOpenShell/IfcOpenShell
Description: I try to use ifc2sql recipe: it returns error: Python: Traceback (most recent call last): File "C:\Users\user.name\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderbim\bim\module\patch\operator.py", line 94, in execut...
Open Graph Description: I try to use ifc2sql recipe: it returns error: Python: Traceback (most recent call last): File "C:\Users\user.name\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderbim\bim\modul...
X Description: I try to use ifc2sql recipe: it returns error: Python: Traceback (most recent call last): File "C:\Users\user.name\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderbim\bim\...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/5052
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ifc2sql recipe error","articleBody":"I try to use ifc2sql recipe:\r\n\r\n\r\n\r\nit returns error:\r\n```\r\nPython: Traceback (most recent call last):\r\n File \"C:\\Users\\user.name\\AppData\\Roaming\\Blender Foundation\\Blender\\4.1\\scripts\\addons\\blenderbim\\bim\\module\\patch\\operator.py\", line 94, in execute\r\n output = ifcpatch.execute(\r\n ^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\user.name\\AppData\\Roaming\\Blender Foundation\\Blender\\4.1\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcpatch\\__init__.py\", line 84, in execute\r\n patcher.patch()\r\n File \"C:\\Users\\user.name\\AppData\\Roaming\\Blender Foundation\\Blender\\4.1\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcpatch\\recipes\\Ifc2Sql.py\", line 133, in patch\r\n self.create_geometry()\r\n File \"C:\\Users\\user.name\\AppData\\Roaming\\Blender Foundation\\Blender\\4.1\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcpatch\\recipes\\Ifc2Sql.py\", line 225, in create_geometry\r\n m = json.dumps([int(m.name.split(\"-\")[2]) for m in shape.geometry.materials])\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\user.name\\AppData\\Roaming\\Blender Foundation\\Blender\\4.1\\scripts\\addons\\blenderbim\\libs\\site\\packages\\ifcpatch\\recipes\\Ifc2Sql.py\", line 225, in \u003clistcomp>\r\n m = json.dumps([int(m.name.split(\"-\")[2]) for m in shape.geometry.materials])\r\n ~~~~~~~~~~~~~~~~~^^^\r\nIndexError: list index out of range\r\n```\r\n\r\nI can see it from 2024.07.14, first [blenderbim-0.7.10](https://github.com/IfcOpenShell/IfcOpenShell/releases/tag/blenderbim-0.7.10) version.\r\nLast version working seems to be 20240605. After that version I see a lot basic problems with loading bbim or UI visibility, so It is hard to say if that problem was present.\r\nI use Blender 4.1.1\r\n","author":{"url":"https://github.com/ppaawweeuu","@type":"Person","name":"ppaawweeuu"},"datePublished":"2024-07-21T11:44:04Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5052"}
| 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:6fa355eb-95f5-c934-dd19-ee2c6d20e385 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E76:3A0E8F:80BF79:B0570D:6B047CBC |
| html-safe-nonce | 2bac34189e8b540db66784a8fcdf98338ffbb5db7a07d8112285c8c8514d15f6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTc2OjNBMEU4Rjo4MEJGNzk6QjA1NzBEOjZCMDQ3Q0JDIiwidmlzaXRvcl9pZCI6IjY2Mjk2NjU0NzM1NTY2NzU3NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 56690363f77b859b4ebe1644c6a57a00c816724083355ca8c7b7264c65248026 |
| hovercard-subject-tag | issue:2421362909 |
| 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/5052/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f27c0f94670cc7fa6a80a7391e65c125b081c98af8f40703eae3ff43ea95ae52/IfcOpenShell/IfcOpenShell/issues/5052 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f27c0f94670cc7fa6a80a7391e65c125b081c98af8f40703eae3ff43ea95ae52/IfcOpenShell/IfcOpenShell/issues/5052 |
| og:image:alt | I try to use ifc2sql recipe: it returns error: Python: Traceback (most recent call last): File "C:\Users\user.name\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderbim\bim\modul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ppaawweeuu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511 |
| 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 | ed3f2e01f6b7672780c586c8af0e72726374d7b6 |
| 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