maralla / completor.vim

Async completion framework made ease.
MIT License
1.27k stars 63 forks source link

JSONDecodeError #270

Open avinashdesai opened 4 years ago

avinashdesai commented 4 years ago

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)