-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Python process get defunct for seconds when restarted inside #56
Comments
I cannot reproduce the problem. |
how is restarted the python process in deoplete-jedi ? |
I check again the process. The python process launched for deoplete-jedi get in zombie mode, and after this get killed and a new process is created. So I assume that is restarted the process. But take some time to get completed the restart process. We can close this but we need to set an option to define how is restarted deoplete-jedi. |
@ysolis sorry late reply. and thanks information. |
@ysolis
Also try |
@blueyed Thanks. You're right. |
@zchee |
https://gist.github.com/ysolis/9af49c1e2afa7c8e873719e0418f11ad log uploaded and attached |
Thanks! Relevant part where it starts to misbehave:
The It is not caught there, like it's done in the Server's @ysolis Can you reliably trigger the crash? You wrote:
For me it does not crash the Python process, but that might be related to the code/preview? Can you provide a small snippet to reproduce it, too? (Looking at that made me find the fix for #61: #63 (AFAICS).) |
@blueyed the preview window is not relevant, i think that was the initial case but no, the problem happens with or without preview window. |
i do a i will try #65 in one hour. |
It would be useful to have the debug log(s) when this happens. With #65 there should be a bit more logging for example. |
#65 tried ... and the python process that is launched from deoplete-jedi don't go to zombie and defunct in the restart, get restarted without any problem check my pgrep report:
the first one was when i open a *.py file. the second one was after i edit the same file and add some python code in few minutes. Previously the python process invoked for deoplete-jedi get defunct before get restarted, and in this time the plugin don't work (no python completion, only name completion). With #65 the process get restarted and the edition and python completion don't get affected, work flawlessly. |
Update submodule rplugin/python3/deoplete/vendored/parso a2b153e...f1ee761 * rplugin/python3/deoplete/vendored/parso a2b153e...f1ee761 (6): > Release of 0.3.3 > Rename a test > Remove some unused code > Fix working with async functions in the diff parser, fixes deoplete-plugins#56 > Fix bytes/fstring mixing when using iter_errors, fixes deoplete-plugins#57. > Improve a docstring, fixes deoplete-plugins#55.
Update submodule rplugin/python3/deoplete/vendored/parso a2b153e...f1ee761 * rplugin/python3/deoplete/vendored/parso a2b153e...f1ee761 (6): > Release of 0.3.3 > Rename a test > Remove some unused code > Fix working with async functions in the diff parser, fixes #56 > Fix bytes/fstring mixing when using iter_errors, fixes #57. > Improve a docstring, fixes #55.
Problems summary
I am using NeoVim 1.5 and use this when i do python programming. The python process invoked for deoplete-jedi get defunct, Deoplete continue to work but i don't get any suggestion for python autocomplete almost all the times for several seconds.
Expected
The python autocomplete must continue normally.
Environment Information
Provide a minimal init.vim with less than 50 lines (Required!)
The reproduce ways from neovim starting (Required!)
The text was updated successfully, but these errors were encountered: