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
I hit the 'reload' button in the corner of the variable explorer. It was open to the class I was looking at. It crashed as soon as I hit it.
Traceback
Traceback (most recent call last):
File "C:\Users\cgburnsi\AppData\Local\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\namespacebrowser.py", line 54, in get_value
value = cloudpickle.loads(value)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cgburnsi\AppData\Local\anaconda3\Lib\site-packages\cloudpickle\cloudpickle.py", line 457, in subimport__import__(name)
ModuleNotFoundError: No module named 'convert'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\cgburnsi\AppData\Local\anaconda3\Lib\site-packages\spyder\plugins\variableexplorer\widgets\objectexplorer\objectexplorer.py", line 428, in refresh_editor
data =self.data_function()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cgburnsi\AppData\Local\anaconda3\Lib\site-packages\spyder\widgets\collectionseditor.py", line 1875, in get_datareturn parent.get_value(name)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cgburnsi\AppData\Local\anaconda3\Lib\site-packages\spyder\widgets\collectionseditor.py", line 1929, in get_value
value =self.shellwidget.get_value(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cgburnsi\AppData\Local\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\namespacebrowser.py", line 67, in get_valueraiseValueError(msg % reason_other)
ValueError: <br><i>An unkown error occurred. Check the console because its contents could have been printed there.</i><br><br><br><b>Note</b>: Please don't report this problem on Github, there's nothing to do about it.
I've continued to look at the code I wrote. This seems to happen when I have a method inside of another method. I pulled the inner method out and made it a staticmethod. As soon as I did that, the variable explorer was able to see the class again. I don't know if that is helpful for others or not, but I know this is an issue outside of Spyder.
Description
What steps will reproduce the problem?
I hit the 'reload' button in the corner of the variable explorer. It was open to the class I was looking at. It crashed as soon as I hit it.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: