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

ctags unexpected response for some C/C++ files #448

Open
zzkzzzz opened this issue Oct 20, 2022 · 6 comments
Open

ctags unexpected response for some C/C++ files #448

zzkzzzz opened this issue Oct 20, 2022 · 6 comments

Comments

@zzkzzzz
Copy link

zzkzzzz commented Oct 20, 2022

I am using the newest ctags version. What is the correct ctags version I should use?
Thanks

@zzkzzzz zzkzzzz changed the title ctags unexpected response for C/C++ some files ctags unexpected response for some C/C++ files Oct 20, 2022
@keegancsmith
Copy link
Member

Apologies we hardcode some stuff about which languages ctags supports, and ctags doesn't fail gracefully if there are conflicting files. I've been meaning to make this more graceful (in sourcegraph/go-ctags), will take a look soon.

@keegancsmith
Copy link
Member

I didn't get around to this yet, I did spike some time on it though. Is this still a problem for you?

@masatake
Copy link

@zzkzzzz Can I see the input file that triggered the bug?

@shnipov
Copy link

shnipov commented May 30, 2024

I'm getting an error when try using zoekt-index with ctags:
ignoring universal:ctags or scip: error: starting ctags failed with: Unknown language "Thrift" in "languages" option

I've tried couple of ctags versions, one from install-ctags-alpine.sh and from public repo. Getting same error.

Is there any workaround for this issue? Thanks in advance.

@keegancsmith
Copy link
Member

Are you sure zoekt-index is using that version of ctags installed from that script? We use that in CI so our CI would be failing if that was the case.

To be fair we should make it a little more flexible on the version of ctags used, which we can explore as a follow-up

@shnipov
Copy link

shnipov commented May 31, 2024

I was sure until you asked :) I've build it in a new docker container. But I'll check it again and if the problem persists I will attach my dockerfile. Thanks

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

4 participants