ncm2-pyclang
ncm2-pyclang copied to clipboard
[ncm2_pyclang_proc@yarp] Job is dead.
I'm having trouble interpreting this error when trying to edit a .cpp
file in nvim
using this plugin.
The error is:
[ncm2_pyclang_proc@yarp] Job is dead. cmd=['/usr/bin/python3', '-u', '/home/user/.local/share/nvim/plugged/nvim-yarp/pythonx/yarp.py', '/tmp/nvimMQ7gCF/0', 5, 'ncm2_pyclang_proc']
My config looks like this:
" For ncm2-pyclang: A list of relative paths for compile_commands.json
" path to directory where libclang.so can be found
let g:ncm2_pyclang#library_path = '/usr/lib/llvm-6.0/lib'
let g:ncm2_pyclang#database_path = [
\ 'compile_commands.json',
\ 'build/compile_commands.json'
\ ]
The compile_commands.json
file exists in current directory and is generated by this tool
Any help is appreciated!
I've just encountered the same issue after updating my OS (ubuntu). I noticed that the correct llvm was now version 8, and updating let g:ncm2_pyclang#library_path
fixed it. It wasn't easy to figure out given that the error message wasn't really informing about what was wrong ^^
@tvatter Thanks for digging into this!
I have the same issue on Ubuntu18.04, on which the g:ncm2_pyclang#library_path is '/usr/lib/llvm-6.0/lib'
@lee-shun - you can "fix" this by using llvm-8.0 instead
Thanks a lot ,but I fixed this with another way : "let g:ncm2_pyclang#library_path = '/usr/lib/llvm-6.0/lib/libclang-6.0.so.1'" rather than the "lib" directory! @Larpon