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 (and reload in the editor).
The saved files from the editor can be fixed, like so--
As saved:
slider0 = range()
slider0.attr_class = "range"
Change to:
slider0 = Slider()
slider0.attr_class = "Slider"
The incorrect scripts will neither run, nor load into the editor without the fix.
A 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.
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 (and reload in the editor).
The saved files from the editor can be fixed, like so--
As saved:
Change to:
The incorrect scripts will neither run, nor load into the editor without the fix.
A 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.