Comments (6)
Looks somehow the process running Vim doesn't have permissions to read one of the files inside the gutentags plugin (/home/pgesting/.vim/bundle/vim-gutentags/res/ctags_recursive.options
), which is weird. Can you check the permissions?
Also, is that newline after the path in the logs, or is that caused by copy/pasting here in Github? I can't see how the code could ever add a newline there.
from vim-gutentags.
Hi @ludovicchabant The last thing I put in the "Additional Context" shows the permissions on that file, because I knew that would be important. As you can see, the persmissions are 664
.
I am not sure which newline you are talking about, but it is probably a copy paste issue.
from vim-gutentags.
Right, I missed it, thanks. I have no idea why it can't read a 664
file... are you running that command as the pgesting
user, or as a different user? Does setting the file to 666
fix anything?
from vim-gutentags.
So, I am opening vim
as pgesting
, and when I ran the commands myself in the commandline I am running as pgesting
. Is there anyway that when the guten-tags
runs the command it would be as a different user? I don't know how the plugins work that well.
from vim-gutentags.
Maybe not relevant, but I get the same error, when using NeoVim as an appimage, which is sandboxed and I suspect the sandboxing to be an issue. I will try a deb install and post my findings here.
from vim-gutentags.
Ok, it seems that I resolved this issue on my machine. I have done the following:
- removed the NeoVim installed as an AppImage and reinstalled it as per this instruction (have not helped);
- removed universal-ctags installed as a snap and installed it from source.
In the end the update_tags script succeeded and I suspect the snap's sandboxing mechanism of messing with reading external files from the general filesystem, but since I did touch 2 things I cannot be 100% certain which of the steps helped.
from vim-gutentags.
Related Issues (20)
- ERROR: Invalid value for argument cmd and update_gtags.sh is not executable HOT 4
- E117: Unknown function: gutentags#on_vim_leave
- Tags stop working for specific file (path disappears from tags option) after manually setting tags once in that file
- Cannot generate the GTAGS at windows platform HOT 5
- Does it support different ctags file chosen dynamically? HOT 2
- Error code 122 & 139 HOT 7
- please support the usage of `vim -t symbol` HOT 9
- use gtags failed HOT 2
- update_gtags.sh lost execution permission
- How do I use different tag files for different directories of a same workspace HOT 1
- Is there a way to force gutentags to generate only one tag file?
- Keep tags values when opening the quickfix
- nvim 0.9 remove cscope how to HOT 1
- Guttentags does not support any file? HOT 1
- Option to generate tags for open windows or buffers only? HOT 3
- the use of .guttags file HOT 1
- Whitelisting instead of blacklisting HOT 2
- Bug in update_scopedb.cmd file prevents creation of cscope.out.files correctly HOT 1
- Very large tags file generated ( > 10GB) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-gutentags.