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
Why does this keep showing up? I have jedi and python installed. I saw a similar issue but the submitter closed it without posting the resolution.
[coc.nvim] Jedi error: Traceback (most recent call last):
File "completion.py", line 624, in watch
response = self._process_request(rq)
File "completion.py", line 574, in _process_request
sys_path=sys.path, environment=self.environment)
File "/home/ubuntu/.local/lib/python3.7/site-packages/jedi/api/__init__.py", line 133, in __init__
project._sys_path = sys_path
AttributeError: 'NoneType' object has no attribute '_sys_path'
The line 133 in init.py mentioned above has the following code with a TODO:
# TODO deprecate and remove sys_path from the Script API.ifsys_pathisnotNone:
project._sys_path=sys_pathwarnings.warn(
"Deprecated since version 0.17.0. Use the project API instead, ""which means Script(project=Project(dir, sys_path=sys_path)) instead.",
DeprecationWarning,
stacklevel=2
)
Is the TODO relevant to the error I'm seeing? It seems so because project._sys_path seems to be NoneType and due to this looking for the attribute ._sys_path results in an error. Can you please look into this?
The text was updated successfully, but these errors were encountered:
Why does this keep showing up? I have jedi and python installed. I saw a similar issue but the submitter closed it without posting the resolution.
The line 133 in init.py mentioned above has the following code with a TODO:
Is the TODO relevant to the error I'm seeing? It seems so because
project._sys_path
seems to beNoneType
and due to this looking for the attribute._sys_path
results in an error. Can you please look into this?The text was updated successfully, but these errors were encountered: