ycm-core / YouCompleteMe

A code-completion engine for Vim
http://ycm-core.github.io/YouCompleteMe/
GNU General Public License v3.0
25.47k stars 2.81k forks source link

ycmd conflicts with cpuminer (minerd) #730

Closed perrin4869 closed 10 years ago

perrin4869 commented 10 years ago

Currently I am using my CPU to mine litecoins while I am working. However, whenever I open vim while the miner daemon is running, I get the message: The ycmd server SHUT DOWN (restart with :YcmRestartServer). Stderr (last 30 lines):

The log file for stderr shows: Traceback (most recent call last): File "/home/perrin4869/dotfiles/vim/bundle/youcompleteme/python/ycm/server/ycmd.py", line 98, in Main() File "/home/perrin4869/dotfiles/vim/bundle/youcompleteme/python/ycm/server/ycmd.py", line 75, in Main if args.options_file File "/usr/lib64/python2.7/json/init.py", line 290, in load kw) File "/usr/lib64/python2.7/json/init**.py", line 338, in loads return _default_decoder.decode(s) File "/usr/lib64/python2.7/json/decoder.py", line 365, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python2.7/json/decoder.py", line 383, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded

I really don't know though if the problem is with YCM or with CPUMiner (from here: https://github.com/pooler/cpuminer). Thanks!

Valloric commented 10 years ago

Please see CONTRIBUTING.md.