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

ERROR: Invalid value for argument cmd and update_gtags.sh is not executable #322

Closed
rockyzhang24 opened this issue May 14, 2022 · 4 comments

Comments

@rockyzhang24
Copy link

rockyzhang24 commented May 14, 2022

Describe the bug

See the screenshot below please

image

Steps to reproduce
Open any file ( I opened a go file)

Share your setup

  • What OS and version of Vim are you using?
    macOS 12.3.1
    neovim version: NVIM v0.8.0-dev+1660-g9e4286294
  • What version of ctags, gtags, or whatever do you have installed?
    Universal Ctags 5.9.0
    gtags (Global) 6.6.8
  • Are you using g:gutentags_cache_dir?
    Yes. I set it to ~/.cache/tags/. However, if I don't set it, this issue still exists.

Post the logs
image

Additional context
Nothing

Thank you very much.

@ragu-manjegowda
Copy link

I was able to fix this with the following workaround,

chmod u+x PATH_TO_PLUGINS_DIR/vim-gutentags/plat/unix/update_gtags.sh

Tested on Arch and Ubuntu

@MrZLeo
Copy link

MrZLeo commented May 18, 2022

I was able to fix this with the following workaround,

chmod u+x PATH_TO_PLUGINS_DIR/vim-gutentags/plat/unix/update_gtags.sh

Tested on Arch and Ubuntu

Tested on macOS

@wow-yes
Copy link

wow-yes commented Jul 19, 2022

chmod u+x PATH_TO_PLUGINS_DIR/vim-gutentags/plat/unix/update_gtags.sh

In fact, all the .sh files in this dir should be executable.

chmod u+x PATH_TO_PLUGINS_DIR/vim-gutentags/plat/unix/*.sh

@ludovicchabant
Copy link
Owner

This is 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

5 participants