You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click on the value {'lst': [1,2,3]} of dic in the Variable Explorer to open the dictionary editor.
Hover over the value [1, 2, 3] in the dictionary editor.
Traceback
Traceback (most recent call last):
File "/apps/srv01/amt/jitse/misc/spyder/spyder/widgets/collectionseditor.py", line 410, in datareturn value['view']
TypeError: list indices must be integers or slices, not str
Pinging @dalthviz about this one too. I think the problem is that the changes done in PR #20868 assume the only collections editor usage is the one in the Variable Explorer, where you can run value['view'] without issues.
The problem is other usages (like in @jitseniesen's example) are not working with remote data, so it's possible to do that in those cases.
Description
What steps will reproduce the problem?
dic = {'lst': [1,2,3]}
in the console.{'lst': [1,2,3]}
ofdic
in the Variable Explorer to open the dictionary editor.[1, 2, 3]
in the dictionary editor.Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: