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

JSONDecodeError #270

Open
avinashdesai opened this issue Jul 29, 2019 · 0 comments
Open

JSONDecodeError #270

avinashdesai opened this issue Jul 29, 2019 · 0 comments

Comments

@avinashdesai
Copy link

Hi.. Thank you for the plugin.
I am not able to get this up and running. Followed the debug steps:
python3 /python_jedi.py -v
{"filename": "", "line": 18, "col": 3, "content": "import os\nos."}

I get the following error in completor_python.log:
2019-07-29 10:51:19,630 [ERROR][python_jedi] Expecting value: line 1 column 14 (char 13)
Traceback (most recent call last):
File "completor.vim/pythonx/completers/python/python_jedi.py", line 114, in run
args = json.loads(data)
File "python3/3.6.3a/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "python3/3.6.3a/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "python3/3.6.3a/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 14 (char 13)
2019-07-29 10:51:21,405 [ERROR][python_jedi] Expecting value: line 2 column 1 (char 1)
Traceback (most recent call last):
File "completor.vim/pythonx/completers/python/python_jedi.py", line 114, in run
args = json.loads(data)
File "python3/3.6.3a/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "python3/3.6.3a/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "python3/3.6.3a/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)
2019-07-29 10:51:21,582 [ERROR][python_jedi] Expecting value: line 2 column 1 (char 1)
Traceback (most recent call last):
File "completor.vim/pythonx/completers/python/python_jedi.py", line 114, in run
args = json.loads(data)
File "python3/3.6.3a/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "python3/3.6.3a/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "python3/3.6.3a/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant