Stoner bug when using external COMP as project

There’s a bug in the stoner (TD 2023.12000 Windows 11).

Just drag in the stoner, create an empty containerCOMP, drag that one into the project parameter of the stoner. The container gets converted into a Stoner project. Now do something, like change the number of rows/columns in the stoner editor. And you’ll be greeted with this:

  File "/globu/mapping/stoner/settingsUI/newCols", line 20, in onToOff
AttributeError: 'NoneType' object has no attribute 'run'

Thanks @mickeyvanolst,

this seems to be a cook order issue. Fixing this one triggered a whole bunch of others - looking at it.

cheers
Markus

1 Like

hope the rabbit hole will not get too long :wink:

This will be fixed in an upcoming release.

cheers
Markus

1 Like

@snaut I’m affraid this isn’t quite the end of this bug :confused:

I just had a look at 2023.12120. Simply dragging in the stoner from the palette and dragging an empty comp into the project parameter. And then updating the number of rows or columns gives me the following error:

Traceback (most recent call last):
  File "/project1/stoner/settingsUI/newRows", line 20, in onToOff
AttributeError: 'NoneType' object has no attribute 'run'
Traceback (most recent call last):
  File "/project1/stoner/settingsUI/newCols", line 20, in onToOff
AttributeError: 'NoneType' object has no attribute 'run'
python >>> 

Hey @mickeyvanolst

checking on it. Sorry about this!

cheers
Markus

1 Like

Hi @mickeyvanolst,

this will be fixed in a next release. Attached though a fixed version in case you need it.

cheers
Markus
stoner.tox (2.1 MB)

Amazing, thank you!