Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native editor often hangs reexecuting when working with a reopened file #3063

Closed
IanMatthewHuff opened this issue Sep 16, 2019 · 1 comment
Closed
Assignees

Comments

@IanMatthewHuff
Copy link
Member

  1. Open up the Native Editor
  2. Actually execute a cell in the Native Editor
  3. Close the Native Editor
  4. Open up the same file in the Native Editor
  5. Execute a cell in the Native Editor

UI is stuck forever in executing state.

ReexecuteFail.png

Note: Currently I'm reproing this always on the first reopen and run, but I feel like I saw it once or twice on a second reopen and run, so try another time or two with the reopen and rerun if you don't see it right away.

...

[Extension Host] Info Python Extension: 2019-09-16 10:44:32: Using colors to generate CSS ... (at logToConsole (d:\vscode-python-ianhu\out\client\common\logger.js:76:9))
console.ts:137 [Extension Host] Info Python Extension: 2019-09-16 10:44:32: Cached data exists getEnvironmentVariables, c:\Users\ianhu\Documents\JupyterExt (at logToConsole (d:\vscode-python-ianhu\out\client\common\logger.js:76:9))
console.ts:137 [Extension Host] Info Python Extension: 2019-09-16 10:44:33: Request for tmlanguage file. (at logToConsole (d:\vscode-python-ianhu\out\client\common\logger.js:76:9))
webviewElement.ts:296 [Embedded Page] Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq
webviewElement.ts:296 [Embedded Page] Failed to construct 'Worker': Script at 'vscode-resource:/d%3A/vscode-python-ianhu/out/datascience-ui/native-editor/editor.worker.js' cannot be accessed from origin 'null'.
console.ts:137 [Extension Host] Info Python Extension: 2019-09-16 10:44:35: Submitting code for 524ded2f-b86d-483e-acfb-7f27f4ddb474 (at logToConsole (d:\vscode-python-ianhu\out\client\common\logger.js:76:9))
console.ts:137 [Extension Host] Info Python Extension: 2019-09-16 10:44:35: Waiting for jupyter server and web panel ... (at logToConsole (d:\vscode-python-ianhu\out\client\common\logger.js:76:9))
2console.ts:137 [Extension Host] Info Python Extension: 2019-09-16 10:44:35: Cached data exists getEnvironmentVariables, (at logToConsole (d:\vscode-python-ianhu\out\client\common\logger.js:76:9))
console.ts:137 [Extension Host] Info Python Extension: 2019-09-16 10:44:35: Getting jupyter server options ... (at logToConsole (d:\vscode-python-ianhu\out\client\common\logger.js:76:9))
console.ts:137 [Extension Host] Info Python Extension: 2019-09-16 10:44:35: Connecting to jupyter server ... (at logToConsole (d:\vscode-python-ianhu\out\client\common\logger.js:76:9))
console.ts:137 [Extension Host] Info Python Extension: 2019-09-16 10:44:35: Connected to jupyter server. (at logToConsole (d:\vscode-python-ianhu\out\client\common\logger.js:76:9))
2console.ts:137 [Extension Host] Info Python Extension: 2019-09-16 10:44:35: Wait for sys info for 524ded2f-b86d-483e-acfb-7f27f4ddb474 0 (at logToConsole (d:\vscode-python-ianhu\out\client\common\logger.js:76:9))

@rchiodo rchiodo self-assigned this Sep 18, 2019
@DavidKutu
Copy link

Validated

@rchiodo rchiodo closed this as completed Oct 28, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Nov 6, 2019
@microsoft microsoft unlocked this conversation Nov 14, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 14, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants