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

[ms-python.python] provider FAILED #5301

Closed
yuuuxt opened this issue Dec 22, 2023 · 5 comments
Closed

[ms-python.python] provider FAILED #5301

yuuuxt opened this issue Dec 22, 2023 · 5 comments
Assignees
Labels
needs repro Issue has not been reproduced yet waiting for user response Requires more information from user

Comments

@yuuuxt
Copy link

yuuuxt commented Dec 22, 2023

Environment data

  • Language Server version: v2023.12.1
  • OS and version: win10 22H2
  • Python version (& distribution if applicable, e.g. Anaconda): remote anaconda 3.9.7 (jupyter server)

Code Snippet

one_pd_df.one_col.value_counts()

Repro Steps

run the code in jupyter notebook (connected to a remote jupyter server)

Expected behavior

the cell gets executed almost immediately. (example below)

image

Actual behavior

it takes a long time in "pending" status without really executing the code. (ref: microsoft/vscode-jupyter#14459)

image

Logs

2023-12-22 14:00:49.477 [error] [ms-python.python] provider FAILED
2023-12-22 14:00:49.478 [error] TypeError: Cannot read properties of undefined (reading 'data')
	at c:\Users\<user-name>\.vscode\extensions\ms-python.vscode-pylance-2023.12.1\dist\extension.bundle.js:1:139734
	at _0x1be708 (c:\Users\<user-name>\.vscode\extensions\ms-python.vscode-pylance-2023.12.1\dist\extension.bundle.js:1:152918)
	at async ve.provideCompletionItems (c:\Users\<user-name>\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:143:53055)
2023-12-22 14:01:12.686 [error] Error: connect ETIMEDOUT 13.89.179.8:443
	at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
2023-12-22 14:01:37.880 [error] Error: connect ETIMEDOUT 13.89.179.8:443
	at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)

another case:

2023-12-22 14:45:03.404 [error] [ms-python.python] provider FAILED
2023-12-22 14:45:03.404 [error] TypeError: Cannot read properties of undefined (reading 'data')
	at c:\Users\<user-name>\.vscode\extensions\ms-python.vscode-pylance-2023.12.1\dist\extension.bundle.js:1:139734
	at _0x1be708 (c:\Users\<user-name>\.vscode\extensions\ms-python.vscode-pylance-2023.12.1\dist\extension.bundle.js:1:152918)
	at async ve.provideCompletionItems (c:\Users\<user-name>\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:143:53055)
2023-12-22 14:45:30.398 [error] Error: connect ETIMEDOUT 20.189.173.12:443
	at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
2023-12-22 14:45:55.097 [error] Error: connect ETIMEDOUT 20.189.173.12:443
	at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)

Also are those IPs from pylance's side?

@yuuuxt
Copy link
Author

yuuuxt commented Dec 22, 2023

UPDATE: also having cases when the cell gets pending, nothing reported in Extension Host this time. so feel free to close if considered unrelated.

@yuuuxt yuuuxt closed this as completed Dec 22, 2023
@yuuuxt yuuuxt reopened this Dec 22, 2023
@debonte
Copy link
Contributor

debonte commented Jan 3, 2024

What versions of the Python and Jupyter extensions do you have installed?

@debonte debonte added the waiting for user response Requires more information from user label Jan 3, 2024
@yuuuxt
Copy link
Author

yuuuxt commented Jan 3, 2024

current latest (v2023.22.1 and v2023.11.1003402403 if no updates thereafter)

@github-actions github-actions bot added user responded Was "waiting for user response" and they responded and removed waiting for user response Requires more information from user labels Jan 3, 2024
@debonte
Copy link
Contributor

debonte commented Jan 11, 2024

I'm unable to reproduce this issue. A complete code sample and/or access to your remote Jupyter server might help.

@debonte debonte added waiting for user response Requires more information from user and removed user responded Was "waiting for user response" and they responded labels Jan 11, 2024
Copy link
Contributor

This issue has been closed automatically because it needs more information and has not had recent activity. If the issue still persists, please reopen with the information requested. Thanks.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet waiting for user response Requires more information from user
Projects
None yet
Development

No branches or pull requests

2 participants