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

use gtags failed #332

Closed
guocf20 opened this issue Jul 30, 2022 · 2 comments
Closed

use gtags failed #332

guocf20 opened this issue Jul 30, 2022 · 2 comments

Comments

@guocf20
Copy link

guocf20 commented Jul 30, 2022

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

@wow-yes
Copy link

wow-yes commented Aug 8, 2022

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.

@ludovicchabant
Copy link
Owner

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

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