Jupyter Extension Version: 2022.1.1001614873.
Python Extension Verison: 2021.12.1559732655.
the cell code runs, but then the editor 'hangs' while running the code. clicking 'restart' is required.
Info 12:06:22: Execute Cell 8 ~/notebooks/mwd/pierbridge-carrierlist-to-csv.ipynb
Warn 12:06:22: StdErr from Kernel Process [IPKernelApp] ERROR | Exception in message handler:
Warn 12:06:22: StdErr from Kernel Process Traceback (most recent call last):
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 3251, in run_code
Warn 12:06:22: StdErr from Kernel Process exec(code_obj, self.user_global_ns, self.user_ns)
Warn 12:06:22: StdErr from Kernel Process File "/tmp/ipykernel_11358/939499826.py", line 1, in <module>
Warn 12:06:22: StdErr from Kernel Process process_carriers()
Warn 12:06:22: StdErr from Kernel Process NameError: name 'process_carriers' is not defined
Warn 12:06:22: StdErr from Kernel Process
Warn 12:06:22: StdErr from Kernel Process During handling of the above exception, another exception occurred:
Warn 12:06:22: StdErr from Kernel Process
Warn 12:06:22: StdErr from Kernel Process Traceback (most recent call last):
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 1934, in showtraceback
Warn 12:06:22: StdErr from Kernel Process stb = value._render_traceback_()
Warn 12:06:22: StdErr from Kernel Process AttributeError: 'NameError' object has no attribute '_render_traceback_'
Warn 12:06:22: StdErr from Kernel Process
Warn 12:06:22: StdErr from Kernel Process During handling of the above exception, another exception occurred:
Warn 12:06:22: StdErr from Kernel Process
Warn 12:06:22: StdErr from Kernel Process Traceback (most recent call last):
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 3191, in run_ast_nodes
Warn 12:06:22: StdErr from Kernel Process if await self.run_code(code, result, async_=asy):
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 3268, in run_code
Warn 12:06:22: StdErr from Kernel Process self.showtraceback(running_compiled_code=True)
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 1936, in showtraceback
Warn 12:06:22: StdErr from Kernel Process stb = self.InteractiveTB.structured_traceback(etype,
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 1105, in structured_traceback
Warn 12:06:22: StdErr from Kernel Process return FormattedTB.structured_traceback(
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 999, in structured_traceback
Warn 12:06:22: StdErr from Kernel Process return VerboseTB.structured_traceback(
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 852, in structured_traceback
Warn 12:06:22: StdErr from Kernel Process formatted_exception = self.format_exception_as_a_whole(etype, evalue, etb, number_of_lines_of_context,
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 786, in format_exception_as_a_whole
Warn 12:06:22: StdErr from Kernel Process records = self.get_records(etb, number_of_lines_of_context, tb_offset)
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 830, in get_records
Warn 12:06:22: StdErr from Kernel Process style = stack_data.style_with_executing_node(style, "bg:ansiyellow")
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/stack_data/core.py", line 412, in style_with_executing_node
Warn 12:06:22: StdErr from Kernel Process class NewStyle(style):
Warn 12:06:22: StdErr from Kernel Process File "/usr/lib/python3/dist-packages/pygments/style.py", line 91, in __new__
Warn 12:06:22: StdErr from Kernel Process ndef[4] = colorformat(styledef[3:])
Warn 12:06:22: StdErr from Kernel Process File "/usr/lib/python3/dist-packages/pygments/style.py", line 58, in colorformat
Warn 12:06:22: StdErr from Kernel Process assert False, "wrong color format %r" % text
Warn 12:06:22: StdErr from Kernel Process AssertionError: wrong color format 'ansiyellow'
Warn 12:06:22: StdErr from Kernel Process
Warn 12:06:22: StdErr from Kernel Process During handling of the above exception, another exception occurred:
Warn 12:06:22: StdErr from Kernel Process
Warn 12:06:22: StdErr from Kernel Process Traceback (most recent call last):
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 1934, in showtraceback
Warn 12:06:22: StdErr from Kernel Process stb = value._render_traceback_()
Warn 12:06:22: StdErr from Kernel Process AttributeError: 'AssertionError' object has no attribute '_render_traceback_'
Warn 12:06:22: StdErr from Kernel Process
Warn 12:06:22: StdErr from Kernel Process During handling of the above exception, another exception occurred:
Warn 12:06:22: StdErr from Kernel Process
Warn 12:06:22: StdErr from Kernel Process Traceback (most recent call last):
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 2814, in _run_cell
Warn 12:06:22: StdErr from Kernel Process return runner(coro)
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/async_helpers.py", line 129, in _pseudo_sync_runner
Warn 12:06:22: StdErr from Kernel Process coro.send(None)
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 3012, in run_cell_async
Warn 12:06:22: StdErr from Kernel Process has_raised = await self.run_ast_nodes(code_ast.body, cell_name,
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 3210, in run_ast_nodes
Warn 12:06:22: StdErr from Kernel Process self.showtraceback()
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 1936, in showtraceback
Warn 12:06:22: StdErr from Kernel Process stb = self.InteractiveTB.structured_traceback(etype,
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 1105, in structured_traceback
Warn 12:06:22: StdErr from Kernel Process return FormattedTB.structured_traceback(
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 999, in structured_traceback
Warn 12:06:22: StdErr from Kernel Process return VerboseTB.structured_traceback(
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 852, in structured_traceback
Warn 12:06:22: StdErr from Kernel Process formatted_exception = self.format_exception_as_a_whole(etype, evalue, etb, number_of_lines_of_context,
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 786, in format_exception_as_a_whole
Warn 12:06:22: StdErr from Kernel Process records = self.get_records(etb, number_of_lines_of_context, tb_offset)
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 830, in get_records
Warn 12:06:22: StdErr from Kernel Process style = stack_data.style_with_executing_node(style, "bg:ansiyellow")
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/stack_data/core.py", line 412, in style_with_executing_node
Warn 12:06:22: StdErr from Kernel Process class NewStyle(style):
Warn 12:06:22: StdErr from Kernel Process File "/usr/lib/python3/dist-packages/pygments/style.py", line 91, in __new__
Warn 12:06:22: StdErr from Kernel Process ndef[4] = colorformat(styledef[3:])
Warn 12:06:22: StdErr from Kernel Process File "/usr/lib/python3/dist-packages/pygments/style.py", line 58, in colorformat
Warn 12:06:22: StdErr from Kernel Process assert False, "wrong color format %r" % text
Warn 12:06:22: StdErr from Kernel Process AssertionError: wrong color format 'ansiyellow'
Warn 12:06:22: StdErr from Kernel Process
Warn 12:06:22: StdErr from Kernel Process During handling of the above exception, another exception occurred:
Warn 12:06:22: StdErr from Kernel Process
Warn 12:06:22: StdErr from Kernel Process Traceback (most recent call last):
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 1934, in showtraceback
Warn 12:06:22: StdErr from Kernel Process stb = value._render_traceback_()
Warn 12:06:22: StdErr from Kernel Process AttributeError: 'AssertionError' object has no attribute '_render_traceback_'
Warn 12:06:22: StdErr from Kernel Process
Warn 12:06:22: StdErr from Kernel Process During handling of the above exception, another exception occurred:
Warn 12:06:22: StdErr from Kernel Process
Warn 12:06:22: StdErr from Kernel Process Traceback (most recent call last):
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/ipykernel/kernelbase.py", line 357, in dispatch_shell
Warn 12:06:22: StdErr from Kernel Process await result
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/ipykernel/kernelbase.py", line 652, in execute_request
Warn 12:06:22: StdErr from Kernel Process reply_content = await reply_content
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/ipykernel/ipkernel.py", line 353, in do_execute
Warn 12:06:22: StdErr from Kernel Process res = shell.run_cell(code, store_history=store_history, silent=silent)
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/ipykernel/zmqshell.py", line 532, in run_cell
Warn 12:06:22: StdErr from Kernel Process return super().run_cell(*args, **kwargs)
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 2768, in run_cell
Warn 12:06:22: StdErr from Kernel Process result = self._run_cell(
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 2819, in _run_cell
Warn 12:06:22: StdErr from Kernel Process self.showtraceback(running_compiled_code=True)
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 1936, in showtraceback
Warn 12:06:22: StdErr from Kernel Process stb = self.InteractiveTB.structured_traceback(etype,
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 1105, in structured_traceback
Warn 12:06:22: StdErr from Kernel Process return FormattedTB.structured_traceback(
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 999, in structured_traceback
Warn 12:06:22: StdErr from Kernel Process return VerboseTB.structured_traceback(
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 852, in structured_traceback
Warn 12:06:22: StdErr from Kernel Process formatted_exception = self.format_exception_as_a_whole(etype, evalue, etb, number_of_lines_of_context,
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 786, in format_exception_as_a_whole
Warn 12:06:22: StdErr from Kernel Process records = self.get_records(etb, number_of_lines_of_context, tb_offset)
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/IPython/core/ultratb.py", line 830, in get_records
Warn 12:06:22: StdErr from Kernel Process style = stack_data.style_with_executing_node(style, "bg:ansiyellow")
Warn 12:06:22: StdErr from Kernel Process File "/home/redacted-name/.local/lib/python3.9/site-packages/stack_data/core.py", line 412, in style_with_executing_node
Warn 12:06:22: StdErr from Kernel Process class NewStyle(style):
Warn 12:06:22: StdErr from Kernel Process File "/usr/lib/python3/dist-packages/pygments/style.py", line 91, in __new__
Warn 12:06:22: StdErr from Kernel Process ndef[4] = colorformat(styledef[3:])
Warn 12:06:22: StdErr from Kernel Process File "/usr/lib/python3/dist-packages/pygments/style.py", line 58, in colorformat
Warn 12:06:22: StdErr from Kernel Process assert False, "wrong color format %r" % text
Warn 12:06:22: StdErr from Kernel Process AssertionError: wrong color format 'ansiyellow'
Issue Type: Bug
Jupyter Extension Version: 2022.1.1001614873.
Python Extension Verison: 2021.12.1559732655.
Create a Jupyter notebook using the 'local default' engine built into vscode
write some python code in cells
make a mistake in the python code that will raise an exception when executed
execute the code
the cell code runs, but then the editor 'hangs' while running the code. clicking 'restart' is required.
see this in the jupyter log window
Extension version: 1.0.4
VS Code version: Code - Insiders 1.64.0-insider (0c6d1e9f7ef648cfa50733abb62388bc0791856a, 2022-01-20T06:29:50.054Z)
OS version: Linux x64 5.4.0-94-generic
Restricted Mode: No
Remote OS version: Linux x64 5.0.0-37-generic
Remote OS version: Linux x64 5.0.0-37-generic
Remote OS version: Linux x64 5.0.0-37-generic
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments