Switched python interpreter within Spyder to recently built new environnment.
Restarted kernel
In new kernel, simple functions (e.g. 1+1) return correct values, but console spits errors:
Exception in comm_msg for 82c5022f905611ef95c1a4423b078dfb
Traceback (most recent call last):
File "C:\Users\AHBL\AppData\Local\miniforge3\envs\pyl_whl\lib\site-packages\comm\base_comm.py", line 296, in comm_msg
comm.handle_msg(msg)
File "C:\Users\AHBL\AppData\Local\miniforge3\envs\pyl_whl\lib\site-packages\spyder_kernels\comms\frontendcomm.py", line 206, in handle_msg
comm._msg_callback(msg)
File "C:\Users\AHBL\AppData\Local\miniforge3\envs\pyl_whl\lib\site-packages\spyder_kernels\comms\commbase.py", line 339, in _comm_message
self._message_handlers[spyder_msg_type](msg_dict, buffers)
File "C:\Users\AHBL\AppData\Local\miniforge3\envs\pyl_whl\lib\site-packages\spyder_kernels\comms\commbase.py", line 487, in _handle_remote_call_reply
return_value = content['call_return_value']
KeyError: 'call_return_value'
This error message repeats in the console, even without user input.
Traceback
Exception in comms call get_namespace_view:
File "C:\Users\AHBL\Anaconda3\lib\site-packages\spyder_kernels\comms\commbase.py", line 317, in _comm_message
buffer = cloudpickle.loads(msg['buffers'][0],
IndexError: list index out of range
Exception in comms call get_var_properties:
File "C:\Users\AHBL\Anaconda3\lib\site-packages\spyder_kernels\comms\commbase.py", line 317, in _comm_message
buffer = cloudpickle.loads(msg['buffers'][0],
IndexError: list index out of range
Exception in comms call is_special_kernel_valid:
File "C:\Users\AHBL\Anaconda3\lib\site-packages\spyder_kernels\comms\commbase.py", line 317, in _comm_message
buffer = cloudpickle.loads(msg['buffers'][0],
IndexError: list index out of range
Exception in comms call get_namespace_view:
File "C:\Users\AHBL\Anaconda3\lib\site-packages\spyder_kernels\comms\commbase.py", line 317, in _comm_message
buffer = cloudpickle.loads(msg['buffers'][0],
IndexError: list index out of range
Exception in comms call get_var_properties:
File "C:\Users\AHBL\Anaconda3\lib\site-packages\spyder_kernels\comms\commbase.py", line 317, in _comm_message
buffer = cloudpickle.loads(msg['buffers'][0],
IndexError: list index out of range
Exception in comms call get_cwd:
File "C:\Users\AHBL\Anaconda3\lib\site-packages\spyder_kernels\comms\commbase.py", line 317, in _comm_message
buffer = cloudpickle.loads(msg['buffers'][0],
IndexError: list index out of range
Exception in comms call get_namespace_view:
File "C:\Users\AHBL\Anaconda3\lib\site-packages\spyder_kernels\comms\commbase.py", line 317, in _comm_message
buffer = cloudpickle.loads(msg['buffers'][0],
IndexError: list index out of range
Exception in comms call get_var_properties:
File "C:\Users\AHBL\Anaconda3\lib\site-packages\spyder_kernels\comms\commbase.py", line 317, in _comm_message
buffer = cloudpickle.loads(msg['buffers'][0],
IndexError: list index out of range
Exception in comms call get_cwd:
File "C:\Users\AHBL\Anaconda3\lib\site-packages\spyder_kernels\comms\commbase.py", line 317, in _comm_message
buffer = cloudpickle.loads(msg['buffers'][0],
IndexError: list index out of range
Description
What steps will reproduce the problem?
Switched python interpreter within Spyder to recently built new environnment.
Restarted kernel
In new kernel, simple functions (e.g. 1+1) return correct values, but console spits errors:
Exception in comm_msg for 82c5022f905611ef95c1a4423b078dfb Traceback (most recent call last): File "C:\Users\AHBL\AppData\Local\miniforge3\envs\pyl_whl\lib\site-packages\comm\base_comm.py", line 296, in comm_msg comm.handle_msg(msg) File "C:\Users\AHBL\AppData\Local\miniforge3\envs\pyl_whl\lib\site-packages\spyder_kernels\comms\frontendcomm.py", line 206, in handle_msg comm._msg_callback(msg) File "C:\Users\AHBL\AppData\Local\miniforge3\envs\pyl_whl\lib\site-packages\spyder_kernels\comms\commbase.py", line 339, in _comm_message self._message_handlers[spyder_msg_type](msg_dict, buffers) File "C:\Users\AHBL\AppData\Local\miniforge3\envs\pyl_whl\lib\site-packages\spyder_kernels\comms\commbase.py", line 487, in _handle_remote_call_reply return_value = content['call_return_value'] KeyError: 'call_return_value'
This error message repeats in the console, even without user input.
Traceback
Versions
Dependencies