-
Notifications
You must be signed in to change notification settings - Fork 1.7k
General issue: Cannot upgrade database #4034
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
Comments
Hi @JeffJerseyCow , sorry to hear you're having trouble with upgrading the database 😐 I reproduced your setup with Can you create a dummy DB like this
and show the output from running
|
I'm having the same issue (also with a C++ codebase) on OSX 10.14.6. Results of the above commands are below - looks like some dependencies might be missing?
|
Hi @carbureted , although those are error messages, it doesn't look critical, and it seems like the database was created succesfully. What problems are you seeing when running queries against it? (such as |
Closing. It's not likely that the user will still answer after 5 years. If this is still a problem, please open a new issue. |
I've been following the guidance on how to configure CodeQL, create a database and analyze with a query pack. But I always end up with the following error:
It doesn't matter what version of CodeQL I'm using, how many times I update the database or the queries I use. It's always the same error.
It's the case for the CPP, JavaScript and Python queries.
My directory that holes everything CodeQL is here.
The CodeQL version is 2.2.4 (I've also tried it with earlier versions) and is moved to a
codeql-cli
directory.I use the latest queries extracted to
codeql-repo
.I create the database and put it in
dukDatabase
.Then I try to analyse with a query, or query pack and it always fails.
I always get an error complaining about not finding dependencies, but I add
--search-path
to resolve it. But I always get the error about an incompatible database.I've followed the guidance to update the database, it just says it's already updated.
It doesn't matter what version of codeql I used or queries...it never works.
Any help is appreciated.
The text was updated successfully, but these errors were encountered: