Youcompleteme: YCM Crash when committing using git commit

Created on 22 Jun 2014  Â·  9Comments  Â·  Source: ycm-core/YouCompleteMe

In iterm when I do a normal git commit I get a python error which I assume is related to the above although they could be separate items.
Iterm info as follows.
:mes
nothing
:YcmDebugInfo

Printing YouCompleteMe debug information...
-- Server crashed, no debug info from server
-- Server running at: http://127.0.0.1:61190
-- Server process ID: 2327
Press ENTER or type command to continue

screenshot:
screen region 2014-06-21 at 21 05 46

screenshot2:
screen region 2014-06-21 at 21 06 08

Most helpful comment

I seem to have gotten it to work using this:

git config --global core.editor $(which vim)

This is on a Mac, though, so YMMV.

All 9 comments

You probably misconfigured YCM (using wrong version of python etc). See the other issues related to Python/Macvim.

YCM doesn't crash when editing JavaScript files. Only when committing in git. If it was installed incorrectly wouldn't it still crash doing anything where YCM was involved?

Sent from my iPhone

On Aug 21, 2014, at 4:52 PM, Val Markovic [email protected] wrote:

Closed #1045.

—
Reply to this email directly or view it on GitHub.

That's an interesting point. Could you provide a detailed set of repro steps?

Still having this issue. Steps to repro are as follows.

  1. open terminal to directory where there is git repo with changes
  2. add changes git add -A
  3. commit changes git commit
  4. Then the error will popup and it will go ahead and show me the usual git commit screen.

I also have this issue. YCM works as expected in all other filetypes, but git commit filetypes break it.

I seem to have gotten it to work using this:

git config --global core.editor $(which vim)

This is on a Mac, though, so YMMV.

@hmschreck You're my life SAVIOR

new MacBook here and I forgot to set the editor. Thanks @hmschreck

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bercio picture Bercio  Â·  5Comments

vbextreme picture vbextreme  Â·  4Comments

pprzetacznik picture pprzetacznik  Â·  4Comments

tgzhou98 picture tgzhou98  Â·  3Comments

hackrole picture hackrole  Â·  3Comments