Closed konioyxgq closed 4 years ago
@konioyxgq What type of project do youhave? What programming language?
python programming language
I use python and C++ are the same situation.
According to the log, it seems tabnine is working normally.
Can you open sublime console (ctrl+`), and see if there are errors on the sublime side?
There's a little mistake, how it's going to be solved. Thank you so much!
Exception while interacting with TabNine subprocess: No JSON object could be decoded
It seems the tabnine subprocess returns the wrong output, which causes the sublime plugin to kill and restart the subprocess.
Under where the sublime package is installed (different places for different oses) there's a TabNine.py file.
Can you find the line that says
print("Exception while interacting with TabNine subprocess:", e)
and change it to
print("Exception while interacting with TabNine subprocess:", e, result)
Then re-try to use tabnine, and check the sublime console again
Exception while interacting with TabNine subprocess: No JSON object could be decoded failed to add counter 'tot_0': c0000bb8...
@konioyxgq
TabNine uses a library that prints out errors. Since TabNine to plugin communication is based on stdin/stdout, this messes up the protocol.
I'll try to reproduce internally and provide a fix.
@konioyxgq I was not able to reproduce, but I have a pretty good handle of what is goind on, and I've made a fix.
Any chance I can provide you with a build of TabNine that you can test?
OK!Thank you so much! Can you send me my e-mail? Or any other convenient way for you. My e-mail is xgqkonioy@gmail.com
Thank you very much. Now TabNine is working. That's cool!
@konioyxgq Glad to hear. The fix is already in beta, and should be released to all users within a few days,
My tabnine, seems to be running, but just doesn't show the recommendation box. What should I do?