Title: Editor: Slider and SpinBox widgets attempt instantiation via range() · Issue #536 · rawpython/remi · GitHub
Open Graph Title: Editor: Slider and SpinBox widgets attempt instantiation via range() · Issue #536 · rawpython/remi
X Title: Editor: Slider and SpinBox widgets attempt instantiation via range() · Issue #536 · rawpython/remi
Description: The Slider widget creation methods are set to range(), and number() for SpinBox by the editor. It's set in attr_class. If attr_class is changed to 'Slider' or to 'SpinBox' in the editor, the change is persistent, and the script will run ...
Open Graph Description: The Slider widget creation methods are set to range(), and number() for SpinBox by the editor. It's set in attr_class. If attr_class is changed to 'Slider' or to 'SpinBox' in the editor, the change...
X Description: The Slider widget creation methods are set to range(), and number() for SpinBox by the editor. It's set in attr_class. If attr_class is changed to 'Slider' or to 'SpinBox' in th...
Opengraph URL: https://github.com/rawpython/remi/issues/536
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Editor: Slider and SpinBox widgets attempt instantiation via range()","articleBody":"The Slider widget creation methods are set to **range()**, and **number()** for SpinBox by the editor. It's set in **attr_class**.\r\n\r\nIf **attr_class** is changed to 'Slider' or to 'SpinBox' in the editor, the change is persistent, and the script will run (and reload in the editor).\r\n\r\nThe saved files from the editor can be fixed, like so--\r\n\r\nAs saved:\r\n```\r\n slider0 = range()\r\n slider0.attr_class = \"range\"\r\n```\r\nChange to:\r\n```\r\n slider0 = Slider()\r\n slider0.attr_class = \"Slider\"\r\n```\r\n\r\nThe incorrect scripts will neither run, nor load into the editor without the fix.\r\n\r\nA python 3.12 compatibility issue? I'm running Ubuntu 24.04, with remi in a venv environment... There may be other widgets that also manifest this issue.","author":{"url":"https://github.com/GModal","@type":"Person","name":"GModal"},"datePublished":"2024-11-20T23:19:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/536/remi/issues/536"}
| 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:2adf98b1-afb5-466b-a673-efbff755a63d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9CB0:192DFC:59387AD:78B89FC:696E1FD7 |
| html-safe-nonce | db8b733596f0e46c2b1eae59505bac6fae2a0b4a4855f2b0a0ede4f413812b49 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0IwOjE5MkRGQzo1OTM4N0FEOjc4Qjg5RkM6Njk2RTFGRDciLCJ2aXNpdG9yX2lkIjoiMjU2Mzg2MDAwNTg5ODgyMTU5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 868479bac06e6a18cbdd2324a21d16416defc295ade01b3e3e8af7efb11d3b42 |
| hovercard-subject-tag | issue:2677487226 |
| 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/rawpython/remi/536/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0596d7e8ba4e72733f8f04b3c1b423a8094d1ea2ccaff6b9ecf127623e33e21e/rawpython/remi/issues/536 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0596d7e8ba4e72733f8f04b3c1b423a8094d1ea2ccaff6b9ecf127623e33e21e/rawpython/remi/issues/536 |
| og:image:alt | The Slider widget creation methods are set to range(), and number() for SpinBox by the editor. It's set in attr_class. If attr_class is changed to 'Slider' or to 'SpinBox' in the editor, the change... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GModal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2fbe8cba5e260284c10af515699ff9bb2d6ace05ab6c2e2e585b71d93b2812c3 |
| turbo-cache-control | no-preview |
| go-import | github.com/rawpython/remi git https://github.com/rawpython/remi.git |
| octolytics-dimension-user_id | 59974634 |
| octolytics-dimension-user_login | rawpython |
| octolytics-dimension-repository_id | 17938217 |
| octolytics-dimension-repository_nwo | rawpython/remi |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17938217 |
| octolytics-dimension-repository_network_root_nwo | rawpython/remi |
| 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 | 7fb3bc5c995a876085291706b75cf9b08900c338 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width