Closed timfeirg closed 8 years ago
You might need to clean up Jedi's cache. Something might be corrupted. But I have no idea where the cache resides on Mac.
oh my god! rm -rf /Users/timfeirg/Library/Caches/Jedi
totally fixes, thanks @davidhalter !!
I'm using youcomplete with vim, and jedi crashes whenever I triggered a autocomplete query against jediHTTP, here's the jedi error log:
I'm still having trouble deciding which vim plugin causes this exact problem, I'm not sure where to post this issue, I'm creating a issue here because the traceback points to jedi v0.9.0 which is the current release that jediHTTP uses.
reproduce
create a random python file with vim or neovim, and type in the following content:
jedi will crash on the second line, after I type period and trigger a http query from youcompleteme, against jediHTTP, which eventually causes the crash in
"/Users/timfeirg/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/JediHTTP/vendor/jedi/jedi/cache.py", line 256, in load_parser
environment
NVIM v0.1.3-363-g2e2b575
youcompleteme 21a0019
which is the latest master, I also tried rollback a couple of commits, the problem still exists JediHTTP @ a645beb from latestycmd
and like I said, I'm not very sure this is the place for this issue, it takes understanding of the three code bases (youcompleteme, jedi, jediHTTP) to determine which plugin causes the problem, appreciate it if anybody can take a look.