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

Python Jedi couldn’t connect to Python Language Server #22610

Closed
4 of 5 tasks
CoderDJJD opened this issue Dec 8, 2023 · 5 comments
Closed
4 of 5 tasks

Python Jedi couldn’t connect to Python Language Server #22610

CoderDJJD opened this issue Dec 8, 2023 · 5 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@CoderDJJD
Copy link

CoderDJJD commented Dec 8, 2023

Type: Bug

I'm running VS code version 1.85.0 on Windows 11. You can see my report at this website: https://discuss.python.org/t/python-jedi-wont-connect-to-python-language-server/40512?u=coderdjjd

I also found a much needed error log:
image

Extension version: 2023.22.0
VS Code version: Code 1.85.0 (af28b32d7e553898b2a91af498b1fb666fdebe0c, 2023-12-06T20:48:09.019Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs Intel(R) Pentium(R) Gold 7505 @ 2.00GHz (4 x 1997)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 7.80GB (2.00GB free)
Process Argv --crash-reporter-id 90aa4b7b-cc80-4d95-8289-dd6215474c6f
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30899288
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
282f8724:30602487
f6dab269:30613381
showlangstatbar:30737416
962ge761:30917236
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
welcomedialogc:30910334
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30902429
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
aa_t_chat:30882232

Tasks

  1. area-environments area-terminal feature-request needs proposal
    luabud
  2. triage-needed
    karthiknadig

Tasks

  1. area-intellisense bug needs PR
    karthiknadig
  2. feature-request
    karthiknadig
  3. bug
    karthiknadig
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Dec 8, 2023
@CoderDJJD
Copy link
Author

CoderDJJD commented Dec 9, 2023

Found another error log:
image

@karthiknadig
Copy link
Member

@CoderDJJD The error seems to be EACCESS which usually means you don't have permissions to run from that executable or that file. Can you please provide details on which path you have used to select python?

Also, you can set language server to Pylance using python.languagServer setting.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Dec 13, 2023
@karthiknadig karthiknadig added the bug Issue identified by VS Code Team member as probable bug label Dec 13, 2023
@CoderDJJD
Copy link
Author

CoderDJJD commented Dec 13, 2023 via email

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Dec 13, 2023
@karthiknadig
Copy link
Member

If you switch to using pylance you should not see the error with Jedi. Make sure you use pylance as the language server and it should work as expected. Please share exact error from Output > Python Language server if you see something failing again.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Dec 13, 2023
Copy link

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.

Happy Coding!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants