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
Interactive Window and/or Cell Scripts (.py files with #%% markers)
What happened?
When running a cell via the Run By Line option, after running each line by continually clicking "run next line" until I got to the end of the cell, a green check mark appeared indicating the cell run was done. However, the "Continue Execution" option was still available, and I was not able to view the "debug cell" dropdown to the left of a cell until I clicked "continue execution". Recording is here, starting at 28:15. I was able to repro several times over the course of about 5 minutes
Not sure if this is just a fluke or related to the above issue, because I only experienced this while running this recording, and have never experienced it in another notebook run: while running by line a cell that calls a method in another cell, and that original cell has a breakpoint in it, the run by line just spins and spins and does not run the cell. Specific point in the recording begins at 31:00
error 14:53:50.698: Jupyter Extension (Error in requestVariables, method:requestVariables): Canceled: Canceled
at c.handleErrorResponse (vscode-file://vscode-app/c:/Users/olguzzar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1056:47042)
at vscode-file://vscode-app/c:/Users/olguzzar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1056:46933
error 14:53:50.729: Jupyter Extension (Error in requestVariables, method:requestVariables): Error [CodeExpectedError]: custom request failed
at vscode-file://vscode-app/c:/Users/olguzzar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1725:7640
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
error 14:53:56.483: Jupyter Extension (Error in requestVariables, method:requestVariables): Error [CodeExpectedError]: Thread id: pid_32940_id_2661408800264 is not current thread id.
at c.handleErrorResponse (vscode-file://vscode-app/c:/Users/olguzzar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1056:47505)
at vscode-file://vscode-app/c:/Users/olguzzar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1056:46933
error 14:53:58.379: Jupyter Extension (Error in requestVariables, method:requestVariables): Error [CodeExpectedError]: Thread id: pid_32940_id_2661408800264 is not current thread id.
at c.handleErrorResponse (vscode-file://vscode-app/c:/Users/olguzzar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1056:47505)
at vscode-file://vscode-app/c:/Users/olguzzar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1056:46933
error 14:53:58.460: Jupyter Extension (Error in requestVariables, method:requestVariables): Error [CodeExpectedError]: Unable to find thread for evaluation.
at c.handleErrorResponse (vscode-file://vscode-app/c:/Users/olguzzar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1056:47505)
at vscode-file://vscode-app/c:/Users/olguzzar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1056:46933
error 14:54:01.701: Jupyter Extension (Error in requestVariables, method:requestVariables): Error [CodeExpectedError]: Thread id: pid_32940_id_2661408800264 is not current thread id.
at c.handleErrorResponse (vscode-file://vscode-app/c:/Users/olguzzar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1056:47505)
at vscode-file://vscode-app/c:/Users/olguzzar/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1056:46933
warn 14:54:01.727: StdErr from Kernel Process [IPKernelApp] ERROR | Exception in control handler:
Traceback (most recent call last):
File "c:\Users\olguzzar\Anaconda3\envs\golden_scenario_env2\lib\site-packages\ipykernel\kernelbase.py", line 334, in process_control
await result
File "c:\Users\olguzzar\Anaconda3\envs\golden_scenario_env2\lib\site-packages\ipykernel\kernelbase.py", line 953, in debug_request
reply_content = await reply_content
File "c:\Users\olguzzar\Anaconda3\envs\golden_scenario_env2\lib\site-packages\ipykernel\ipkernel.py", line 466, in do_debug_request
return await self.debugger.process_request(msg)
File "c:\Users\olguzzar\Anaconda3\envs\golden_scenario_env2\lib\site-packages\ipykernel\debugger.py", line 665, in process_request
self.stop()
File "c:\Users\olguzzar\Anaconda3\envs\golden_scenario_env2\lib\site-packages\ipykernel\debugger.py", line 408, in stop
self.debugpy_client.disconnect_tcp_socket()
File "c:\Users\olguzzar\Anaconda3\envs\golden_scenario_env2\lib\site-packages\ipykernel\debugger.py", line 254, in disconnect_tcp_socket
self.debugpy_stream.socket.disconnect(self._get_endpoint())
File "zmq/backend/cython/socket.pyx", line 668, in zmq.backend.cython.socket.Socket.disconnect
zmq.error.ZMQError: No such file or directory
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
2022.05
Running Jupyter locally or remotely?
Local
The text was updated successfully, but these errors were encountered:
Thanks! I think this is probably the same issue that we are getting from microsoft/debugpy#1051. We should run the golden scenario with verbose logging enabled though which would tell me if it's actually something else. I will add that setting to the golden scenario script.
Applies To
What happened?
VS Code Version
Version: 1.72.2 (user setup) Commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075 Date: 2022-10-12T22:15:18.074Z Electron: 19.0.17 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Windows_NT x64 10.0.22621 Sandboxed: No
Jupyter Extension Version
v2022.9.1202862440
Jupyter logs
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
2022.05
Running Jupyter locally or remotely?
Local
The text was updated successfully, but these errors were encountered: