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
vim freezes when using pymode autocomplete #405
Comments
This is probably a duplicate of: #342 See that issue for a workaround. |
Thank you. fixed by |
Putting I fixed it by deleting the .ropeproject/ folder from my home directory. Still lags a bit, but doesn't completely make vim unuseable. |
I hit this issue after using python-mode (Which is otherwise awesome!). First time I typed a dot after a module name, Vim froze while apparently doing a stat of every single file in my home directory. It was enough for me to put:
in my .vimrc. Setting I suggest making |
This appears to be a bug in python-mode / rope. See: python-mode/python-mode#405 (comment) I don't really need autocompletion anyway so just disabled this.
I would recommend deleting |
👍 for this fix, I already had the following in my vimrc, but was experiencing this freeze: let g:pymode_rope_lookup_project = 0
let g:pymode_rope_complete_on_dot = 0 Changing to @@ -38,6 +37,7 @@ filetype plugin indent on
" Python preferences
let g:pymode_rope_lookup_project = 0
let g:pymode_rope_complete_on_dot = 0
+let g:pymode_rope = 0 Solved the freezing issue. |
Any updates on this? It seems that this disables autocomplete |
I am having this issue as well. Any word? |
I'm still have the same issues...
this is a workaround but disables autocompletion. |
I know this is going to sound weird and probably not helpful, but I seem to run into the same issue and 99% of the time it has to do with syntax highlighting working on the files that are being parsed for autocompletion. I have no idea how to write a vim script to shut off syntax highlighting before autocomplete then turn it back on after. But performance wise, It's an estimated 5 mins to .5 secs difference between autocomplete with syntax vs autocomplete without. Can you try turning off syntax highlighting and trying the autocomplete again. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closed due to inactivity. |
I got this error, This is from the YouCompleteMe plugin fighting with me rolling my own pythoncomplete.vim scripts. Disable YouCompleteMe and the error goes away. |
Vim freezes for like 10 seconds when I press CTRL+Space or when using on_dot_completion + The CPU usage gets 100% too!
And when the dot if finally printed, the cursor gets positioned before it and I get no list displaying the possible auto-completion methodes!
Using Linux Mint 16 x64
Output of
$ vim --version
Output of
:PymodeTroubleshooting
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: