Title: "len() of unsized object" exception when trying to display "scalar" Group · Issue #313 · larray-project/larray-editor · GitHub
Open Graph Title: "len() of unsized object" exception when trying to display "scalar" Group · Issue #313 · larray-project/larray-editor
X Title: "len() of unsized object" exception when trying to display "scalar" Group · Issue #313 · larray-project/larray-editor
Description: Typing: >>> la.Axis('age=0..3')[2] in the console leads to an error box with the following traceback : Traceback (most recent call last): File "C:\usr\devel\larray-editor\larray_editor\editor.py", line 1044, in ipython_cell_executed File...
Open Graph Description: Typing: >>> la.Axis('age=0..3')[2] in the console leads to an error box with the following traceback : Traceback (most recent call last): File "C:\usr\devel\larray-editor\larray_editor\editor.py", ...
X Description: Typing: >>> la.Axis('age=0..3')[2] in the console leads to an error box with the following traceback : Traceback (most recent call last): File "C:\usr\devel\larray-editor\larr...
Opengraph URL: https://github.com/larray-project/larray-editor/issues/313
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"len() of unsized object\" exception when trying to display \"scalar\" Group","articleBody":"Typing:\n\n```python\n>>> la.Axis('age=0..3')[2]\n```\nin the console leads to an error box with the following traceback :\n\n```python\nTraceback (most recent call last):\n File \"C:\\usr\\devel\\larray-editor\\larray_editor\\editor.py\", line 1044, in ipython_cell_executed\n File \"C:\\usr\\devel\\larray-editor\\larray_editor\\editor.py\", line 887, in select_list_item\n self.set_current_array(self.data[to_display], to_display)\n File \"C:\\usr\\devel\\larray-editor\\larray_editor\\editor.py\", line 1131, in set_current_array\n # FIXME: we should never store the current_array but current_adapter instead\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\usr\\devel\\larray-editor\\larray_editor\\arraywidget.py\", line 1888, in set_data\n self.set_data_adapter(data_adapter, frac_digits)\n File \"C:\\usr\\devel\\larray-editor\\larray_editor\\arraywidget.py\", line 1914, in set_data_adapter\n self._set_models_adapter()\n File \"C:\\usr\\devel\\larray-editor\\larray_editor\\arraywidget.py\", line 1872, in _set_models_adapter\n self.model_axes.set_adapter(self.data_adapter)\n File \"C:\\usr\\devel\\larray-editor\\larray_editor\\arraymodel.py\", line 211, in set_adapter\n self._get_current_data()\n File \"C:\\usr\\devel\\larray-editor\\larray_editor\\arraymodel.py\", line 494, in _get_current_data\n max_row, max_col = self.adapter.shape2d()\n ^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\usr\\devel\\larray-editor\\larray_editor\\arrayadapter.py\", line 1276, in shape2d\n return len(self.data), 1\n ^^^^^^^^^^^^^^\n File \"C:\\usr\\devel\\larray\\larray\\core\\group.py\", line 896, in __len__\n raise TypeError(f'len() of unsized object ({value})')\nTypeError: len() of unsized object (2)\n```","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2026-03-19T12:30:52Z","url":"https://github.com/larray-project/larray-editor/issues/313"}
| 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:16063c02-9449-ac48-7b9a-2b2d643878a8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B62A:22BD05:1FBDF7A:2AECE87:6B001995 |
| html-safe-nonce | b942ddcc4ec5502d5d8ee0e145c08faf5902d9883d55497f63b659efec3ba0b9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjJBOjIyQkQwNToxRkJERjdBOjJBRUNFODc6NkIwMDE5OTUiLCJ2aXNpdG9yX2lkIjoiMjQ1Mzg0NTkxNjU1ODM2MDUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 59abf5bf8834704e46bf9368e2e5f12a204cf4f934dd18d1350b8288859a8d82 |
| hovercard-subject-tag | issue:4101377478 |
| 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/larray-project/larray-editor/313/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1f85d10552cfe2058664e1b347c5acdb6de0d8ed047f3ff8e8e983240fda9956/larray-project/larray-editor/issues/313 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1f85d10552cfe2058664e1b347c5acdb6de0d8ed047f3ff8e8e983240fda9956/larray-project/larray-editor/issues/313 |
| og:image:alt | Typing: >>> la.Axis('age=0..3')[2] in the console leads to an error box with the following traceback : Traceback (most recent call last): File "C:\usr\devel\larray-editor\larray_editor\editor.py", ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gdementen |
| hostname | github.com |
| expected-hostname | github.com |
| None | a2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4 |
| turbo-cache-control | no-preview |
| go-import | github.com/larray-project/larray-editor git https://github.com/larray-project/larray-editor.git |
| octolytics-dimension-user_id | 26460981 |
| octolytics-dimension-user_login | larray-project |
| octolytics-dimension-repository_id | 95664837 |
| octolytics-dimension-repository_nwo | larray-project/larray-editor |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 95664837 |
| octolytics-dimension-repository_network_root_nwo | larray-project/larray-editor |
| 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 | 70121d4e855ee0bb7b75cf15d061d91f8863c0f8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width