-
Notifications
You must be signed in to change notification settings - Fork 133
Language Server does not work with PYTHONPATH=./ #849
Comments
behave
repo
I encountered this with a project that had two adjacent delimiters in PYTHONPATH, i.e. (I ended up having adjacent delimiters because I was trying have a single PYTHONPATH that would work across windows & linux which both use different os.pathsep.) |
@vivlim Did you also encounter this on Mac/Linux? |
@jakebailey yes, I saw this on an Ubuntu 18.04 machine |
This should be fixed in 0.2.56+, if you'd like to retest. |
Sure, I'll try it tonight. Thanks!! |
@jakebailey On 0.2.58.0, the language server no longer pins a cpu core at 100% when
If I comment out the line in .env that sets |
Can you show what the output for "configuration search paths" is with and without that variable set? Your home directory probably shouldn't be showing up there. |
Hm, I rebooted my machine and it no longer repros. I'm not sure what changed, the installed LS version is still 0.2.58.0 and I was getting a consistent repro before whenever I set Regarding the configuration search paths, I think they contain my home dir because I'm using pipenv to manage virtual environments. Pipenv places them in ~/.local/share/virtualenvs.
|
To be clear, the path I'm saying probably shouldn't be there is |
I just ran into this issue. Before an update that happened today, PYTHONPATH worked. Now with I don't know what my version language server version was before the update today. |
Can you be more specific? What was working before that wasn't? If you set |
The paths that I want do appear as "configuration search paths", so I'm not sure what's going on. I'll try to make a repo that exhibits this behavior. EDIT: I think I ran into #989 actually |
@DonJayamanne commented on Sun Mar 31 2019
settings.json
.env
file with the following contents:Delete the above
.env
file then it worksNone of the Language Server functionality works
The text was updated successfully, but these errors were encountered: