vim-gutentags icon indicating copy to clipboard operation
vim-gutentags copied to clipboard

use gtags failed

Open guocf20 opened this issue 2 years ago • 1 comments

Describe the bug Describe what the bug is about, and what you expected. Don't forget to format things nicely with Markdown. If applicable, post screenshots.

Steps to reproduce

  1. Do this '...'
  2. Do that '...'
  3. Etc. ls -lhtr /root/.vim/plugged/vim-gutentags/plat/unix/ total 20K -rw-r--r-- 1 root root 751 Jul 29 22:16 update_gtags.sh

Share your setup

Post the logs gutentags: Scanning buffer 'src/main.c' for gutentags setup... gutentags: No specific project type. gutentags: Setting gutentags for buffer 'src/main.c' gutentags: Generating tags file: /root/.cache/tags/mnt-d-source-vim_ide-vim/GTAGS gutentags: Running: ['/root/.vim/plugged/vim-gutentags/plat/unix/update_gtags.sh', '-e', 'gtags', '--incremental', '/root/.cache/tags/mnt-d-source-vim_ide-vim'] gutentags: In: /mnt/d/source/vim_ide/vim gutentags: gutentags: [job stderr]: 'executing job failed: Permission denied' gutentags: Finished gtags_cscope job. gutentags: gtags-cscope job failed, returned: 122

Additional context Add any other context about the problem here.

chmod 755 /root/.vim/plugged/vim-gutentags/plat/unix/update_gtags.sh update this files permission 755

may update_pyscopedb.sh have the same problem

guocf20 avatar Jul 30 '22 04:07 guocf20

All the *.sh files in plat/unix show be executable.

chmod +x /root/.vim/plugged/vim-gutentags/plat/unix/*.sh

Maybe you should search before opening a new issue.

wow-yes avatar Aug 08 '22 01:08 wow-yes

Yep, fixed with 865d17a63b70690beee855e72abd38db278c1839. Sorry for the delays.

ludovicchabant avatar Nov 27 '22 21:11 ludovicchabant