Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ncm2_pyclang_proc@yarp] Job is dead. #29

Open
larpon opened this issue Aug 26, 2019 · 5 comments
Open

[ncm2_pyclang_proc@yarp] Job is dead. #29

larpon opened this issue Aug 26, 2019 · 5 comments

Comments

@larpon
Copy link

larpon commented Aug 26, 2019

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!

@tvatter
Copy link
Contributor

tvatter commented Nov 6, 2019

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 ^^

@larpon
Copy link
Author

larpon commented Nov 6, 2019

@tvatter Thanks for digging into this!

@lee-shun
Copy link

I have the same issue on Ubuntu18.04, on which the g:ncm2_pyclang#library_path is '/usr/lib/llvm-6.0/lib'

@larpon
Copy link
Author

larpon commented Aug 12, 2020

@lee-shun - you can "fix" this by using llvm-8.0 instead

@lee-shun
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants