René's URL Explorer Experiment


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

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@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-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:16063c02-9449-ac48-7b9a-2b2d643878a8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB62A:22BD05:1FBDF7A:2AECE87:6B001995
html-safe-nonceb942ddcc4ec5502d5d8ee0e145c08faf5902d9883d55497f63b659efec3ba0b9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjJBOjIyQkQwNToxRkJERjdBOjJBRUNFODc6NkIwMDE5OTUiLCJ2aXNpdG9yX2lkIjoiMjQ1Mzg0NTkxNjU1ODM2MDUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac59abf5bf8834704e46bf9368e2e5f12a204cf4f934dd18d1350b8288859a8d82
hovercard-subject-tagissue:4101377478
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/larray-project/larray-editor/313/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1f85d10552cfe2058664e1b347c5acdb6de0d8ed047f3ff8e8e983240fda9956/larray-project/larray-editor/issues/313
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1f85d10552cfe2058664e1b347c5acdb6de0d8ed047f3ff8e8e983240fda9956/larray-project/larray-editor/issues/313
og:image:altTyping: >>> 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegdementen
hostnamegithub.com
expected-hostnamegithub.com
Nonea2dd2291b1b13cc9c06f27ec92fa3dbaf34116fc24c9347b8539db61884c59f4
turbo-cache-controlno-preview
go-importgithub.com/larray-project/larray-editor git https://github.com/larray-project/larray-editor.git
octolytics-dimension-user_id26460981
octolytics-dimension-user_loginlarray-project
octolytics-dimension-repository_id95664837
octolytics-dimension-repository_nwolarray-project/larray-editor
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id95664837
octolytics-dimension-repository_network_root_nwolarray-project/larray-editor
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
release70121d4e855ee0bb7b75cf15d061d91f8863c0f8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/larray-project/larray-editor/issues/313#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flarray-project%2Flarray-editor%2Fissues%2F313
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%2Flarray-project%2Flarray-editor%2Fissues%2F313
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=larray-project%2Flarray-editor
Reloadhttps://github.com/larray-project/larray-editor/issues/313
Reloadhttps://github.com/larray-project/larray-editor/issues/313
Reloadhttps://github.com/larray-project/larray-editor/issues/313
larray-projecthttps://github.com/larray-project
larray-editorhttps://github.com/larray-project/larray-editor
Codehttps://github.com/larray-project/larray-editor
Issues64 (64)https://github.com/larray-project/larray-editor/issues
Pull requests1 (1)https://github.com/larray-project/larray-editor/pulls
Actionshttps://github.com/larray-project/larray-editor/actions
Projectshttps://github.com/larray-project/larray-editor/projects
Security and qualityhttps://github.com/larray-project/larray-editor/security
Insightshttps://github.com/larray-project/larray-editor/insights
https://github.com/larray-project/larray-editor
New issuehttps://github.com/login?return_to=https://github.com/larray-project/larray-editor/issues/313
New issuehttps://github.com/login?return_to=https://github.com/larray-project/larray-editor/issues/313
"len() of unsized object" exception when trying to display "scalar" Grouphttps://github.com/larray-project/larray-editor/issues/313#top
https://github.com/gdementen
bughttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22bug%22
priority: highhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22priority%3A%20high%22
0.35.1https://github.com/larray-project/larray-editor/milestone/23
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Mar 19, 2026https://github.com/larray-project/larray-editor/issues/313#issue-4101377478
gdementenhttps://github.com/gdementen
0.35.1https://github.com/larray-project/larray-editor/milestone/23
on Mar 19, 2026https://github.com/larray-project/larray-editor/issues/313#event-23716029817
gdementenhttps://github.com/gdementen
on Mar 19, 2026https://github.com/larray-project/larray-editor/issues/313#event-23716029905
gdementenhttps://github.com/gdementen
bughttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22bug%22
priority: highhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22priority%3A%20high%22
on Mar 19, 2026https://github.com/larray-project/larray-editor/issues/313#event-23716030530
https://github.com/gdementen
gdementenhttps://github.com/gdementen
on Mar 19, 2026https://github.com/larray-project/larray-editor/issues/313#issuecomment-4091130938
larray-project/larray#1174https://github.com/larray-project/larray/issues/1174
gdementenhttps://github.com/gdementen
work in progresshttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22work%20in%20progress%22
on Mar 20, 2026https://github.com/larray-project/larray-editor/issues/313#event-23748603080
gdementenhttps://github.com/gdementen
on Mar 20, 2026https://github.com/larray-project/larray-editor/issues/313#event-23752128450
FIX: displaying scalar Collection objects (closes larray-project#313)https://github.com/gdementen/larray-editor/commit/4db98f277bcae3afac4e1356a1f5604dbdaba57f
larray-project#313https://github.com/larray-project/larray-editor/issues/313
https://docs.github.com/articles/closing-issues-via-commit-messages
4db98f2https://github.com/gdementen/larray-editor/commit/4db98f277bcae3afac4e1356a1f5604dbdaba57f
fixup! FIX: displaying scalar Collection objects (closes larray-proje…https://github.com/gdementen/larray-editor/commit/3161eda6bf2d93d1c83c9f1739ce3220d90e5dda
larray-proje…https://github.com/larray-project/larray-editor/issues/313
https://docs.github.com/articles/closing-issues-via-commit-messages
3161edahttps://github.com/gdementen/larray-editor/commit/3161eda6bf2d93d1c83c9f1739ce3220d90e5dda
FIX: displaying scalar Collection objects (fixes larray-project#313)https://github.com/gdementen/larray-editor/commit/79b3cee530f6f69d5775cfde649c9449d878af6d
larray-project#313https://github.com/larray-project/larray-editor/issues/313
https://docs.github.com/articles/closing-issues-via-commit-messages
79b3ceehttps://github.com/gdementen/larray-editor/commit/79b3cee530f6f69d5775cfde649c9449d878af6d
gdementenhttps://github.com/gdementen
completedhttps://github.com/larray-project/larray-editor/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
655fa93https://github.com/larray-project/larray-editor/commit/655fa9355003a5121b25809c636fd2a1c03bc9b4
on Mar 23, 2026https://github.com/larray-project/larray-editor/issues/313#event-23807318677
gdementenhttps://github.com/gdementen
work in progresshttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22work%20in%20progress%22
on Mar 23, 2026https://github.com/larray-project/larray-editor/issues/313#event-23812230851
gdementenhttps://github.com/gdementen
on Mar 26, 2026https://github.com/larray-project/larray-editor/issues/313#event-23923854553
FIX: displaying scalar Collection objects (fixes larray-project#313)https://github.com/gdementen/larray-editor/commit/655fa9355003a5121b25809c636fd2a1c03bc9b4
larray-project#313https://github.com/larray-project/larray-editor/issues/313
https://docs.github.com/articles/closing-issues-via-commit-messages
655fa93https://github.com/gdementen/larray-editor/commit/655fa9355003a5121b25809c636fd2a1c03bc9b4
Sign up for freehttps://github.com/signup?return_to=https://github.com/larray-project/larray-editor/issues/313
Sign in to commenthttps://github.com/login?return_to=https://github.com/larray-project/larray-editor/issues/313
gdementenhttps://github.com/gdementen
bughttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22bug%22
priority: highhttps://github.com/larray-project/larray-editor/issues?q=state%3Aopen%20label%3A%22priority%3A%20high%22
0.35.1https://github.com/larray-project/larray-editor/milestone/23
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

Viewport: width=device-width


URLs of crawlers that visited me.