[2022.28040] Drag and Drop bug

I am trying to use/modify the ‘opBrowser’ from the Palette, and when I want to drag and drop an operator from the tree list I get the following error in the textport:

Traceback (most recent call last):
  File "/ui/dialogs/palette/palette/list/components/tree/table/drag", line 9
AttributeError: 'NoneType' object has no attribute 'numRows'
Traceback (most recent call last):
  File "/ui/dialogs/palette/palette/list/components/tree/table/drag", line 9
AttributeError: 'NoneType' object has no attribute 'numRows'

Oddly enough if I navigate to the line in the ui component causing the issue, and add an arbitrary

print(fullSource)

before line #9 the Drag and Drop works.

I see the problem. Thank you for report! Will get this in the bug queue

Hi @Ivan

As I can see this has not been fixed. While further investigating I noticed something however: navigating to ‘/sys’ I can see that there is a warning for ‘drag’ that there is a missing .txt in the TD Config folder. Thought this might be relevant to this case.

Hmph! I see you’re right and it hasn’t been fixed. Investigating further.

1 Like

This will be fixed in next release

2 Likes