JupyterConsole can give ModuleNotFoundError when getting workspace variable
smathot opened this issue · 0 comments
smathot commented
When trying to unpickle a workspace variable, the JupyterConsole extension can run into an uncaught ModuleNotFoundError
:
Traceback:
File "/usr/lib/python3/dist-packages/libqtopensesame/extensions/_extension_manager.py", line 199, in provide
return ext.provide(provide, **kwdict)
File "/usr/lib/python3/dist-packages/libqtopensesame/misc/base_subcomponent.py", line 100, in provide
return getattr(self, u'provide_%s' % provide)(**kwdict)
File "/usr/share/opensesame_extensions/JupyterConsole/JupyterConsole.py", line 166, in provide_jupyter_workspace_variable
return self._jupyter_console.current.get_workspace_variable(name)
File "/usr/share/opensesame_extensions/JupyterConsole/jupyter_tabwidget/jupyter_console.py", line 197, in get_workspace_variable
return self._jupyter_widget.get_workspace_variable(name)
File "/usr/share/opensesame_extensions/JupyterConsole/jupyter_tabwidget/transparent_jupyter_widget.py", line 216, in get_workspace_variable
return pickle.loads(eval(reply))
ModuleNotFoundError: No module named 'number_list'