YouCompleteMe icon indicating copy to clipboard operation
YouCompleteMe copied to clipboard

Vim crashed after installed YouCompleteMe

Open xautjzd opened this issue 13 years ago • 3 comments

After I installed YouCompleteMe with vundle,and compile it according to guide,but when I opened my newest version Vim, it will crashed.But after removed the plugin, it works perfect.My vim version is 7.4.27.

xautjzd avatar Nov 29 '13 04:11 xautjzd

Please go through the FAQ in the docs.

Closing issue until more information provided.

Valloric avatar Nov 29 '13 05:11 Valloric

@Valloric open a test.c file, waiting a long time, and get the error: The ycmd server SHUT DOWN (restart with :YcmRestartServer). Stderr (last 30 line s): Press Enter to continue

after installing debufinfo vim,when open a new file ,it displays:

"test.c" [New File]2013-11-29 13:41:26,583 - DEBUG - No global extra conf, not calling method YcmCorePreload
                                                                                                            Traceback (most recent call last):
         File "/home/xautjzd/.vim/bundle/YouCompleteMe/python/ycm/server/ycmd.py", line 98, in <module>
                                                                                                           Main()
                                                                                                                   File "/home/xautjzd/.vim/bundle/YouCompleteMe/python/ycm/server/ycmd.py", line 94, in Main
                                                                          threads = 10 )
                                                                                          File "/home/xautjzd/.vim/bundle/YouCompleteMe/third_party/waitress/waitress/__init__.py", line 11, in serve
                                                                  server = _server(app, **kw)
                                                                                               File "/home/xautjzd/.vim/bundle/YouCompleteMe/third_party/waitress/waitress/server.py", line 44, in create_server
                                                                             return cls(application, map, _start, _sock, _dispatcher, adj)
     File "/home/xautjzd/.vim/bundle/YouCompleteMe/third_party/waitress/waitress/server.py", line 76, in __init__
                                                                                                                     self.bind_server_socket()
         File "/home/xautjzd/.vim/bundle/YouCompleteMe/third_party/waitress/waitress/server.py", line 184, in bind_server_socket
                                                                                                                                    self.bind((self.adj.host, self.adj.port))
                                        File "/usr/lib/python2.7/asyncore.py", line 342, in bind
                                                                                                    return self.socket.bind(addr)
                                                                                                                                   File "/usr/lib/python2.7/socket.py", line 224, in meth
                                                      return getattr(self._sock,name)(*args)
                                                                                            socket.error: [Errno 99] Cannot assign requested address
             2013-11-29 13:41:26,773 - INFO - Server shutting down
                                                                  2013-11-29 13:41:26,773 - DEBUG - No global extra conf, not calling method VimClose
              2013-11-29 13:41:26,773 - DEBUG - No global extra conf, not calling method Shutdown

xautjzd avatar Nov 29 '13 05:11 xautjzd

I see Cannot assign requested address in your error output, which tells me that this is related to your system configuration an not a YCM bug.

Valloric avatar Nov 29 '13 19:11 Valloric