Closed hahuang65 closed 3 years ago
@hahuang65 Hello, I met the same problem.Do you fix it?
when I first use the vim-gutentags and universal-ctags, they work fine.However, suddenly vim got a error,I can not fix it. And the job stderr is random code, I can not figure it out.
What OS and version of Vim are you using? window10
What version of ctags, gtags, or whatever do you have installed?
Universal Ctags 0.0.0(86bdb84c), Copyright (C) 2015 Universal Ctags Team Universal Ctags is derived from Exuberant Ctags. Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert Compiled: Sep 21 2020, 00:06:51 URL: https://ctags.io/ Optional compiled features: +win32, +wildcards, +regex, +internal-sort, +unix-path-separator, +iconv, +option-directory, +xpath, +json, +interactive, +yaml, +case-insensitive-filenames, +packcc
Are you using g:gutentags_cache_dir? Yes
@Elmusk nope, haven't solved it yet.
Hi!
Note one of the last messages in the original log:
gutentags: [job stderr]: 'ctags: "/Users/hhhuang/.tags_cache/Users-hhhuang-Documents-Projects-a5-crm-tags.temp" doesn''t look like a tag file; I refuse to overwrite it.'
IIRC Gutentags checks the existing tags
file and if it doesn't start with !_TAG_
, it figures that it might be something else and, to be cautious, aborts. You can disable this check with g:gutentags_ctags_check_tagfile
if you're using some non-standard ctags
tool that doesn't generate that token on the first line. This error message also looks like an old version of that check... do you have an old gutentags?
Hmm, well I don't know when this fixed itself, but maybe it was an update. Although I had this issue for a long time, and I religiously update my vim plugins, at least once every 2 or 3 days.
I don't see the error anymore though.
Sounds good! Thanks
Describe the bug I'm having problems saving tags in my Ruby project. Full trace provided below.
Steps to reproduce Really, it's just saving a file in my Ruby project.
Share your setup
What version of
ctags
,gtags
, or whatever do you have installed?Are you using
g:gutentags_cache_dir
? Yes,~/.tags_cache
.Post the logs
:let g:gutentags_trace = 1
.:messages
and show the messages that Gutentags posted.tags.log
file that Gutentags' script left behind, and post its contents. I wasn't able to find atags.log
file...Additional context Full trace: