Comments (5)
Seems sensible, I can take a look at this next week.
from codeql-cli-binaries.
Added! The flag is --overwrite
and should be in CLI 2.5.7+.
from codeql-cli-binaries.
Added! The flag is
--overwrite
and should be in CLI 2.5.7+.
Correction: This will make it into 2.5.6 as we had to restart our release testing of that due to some issues.
from codeql-cli-binaries.
Having a similar issue, but with the CodeQL Github Action. The first run works, but subsequent runs fail during the "Initialize CodeQL" step:
Exit code 2 and error was:
A fatal error occurred: Refusing to create database: '/opt/actions-runner/_work/_temp/codeql_databases/python' exists and is not an empty directory.
Please specify a different location, or use the --overwrite flag to overwrite existing CodeQL databases.
I tried adding steps to delete that folder with rm -rf
and even with find ... -delete
but the files don't seem to get deleted and the error persists. Is there a way we can use this --override flag with the Github Action? Or maybe if --override isn't specified, check the value of an environment variable or something (since those are easy to set up with github actions)?
Thanks in advance!
from codeql-cli-binaries.
@gaurav-t-sca: It is not totally clear what you're doing to get that error. The CodeQL Action doesn't support running CodeQL more than once in the same job; there are deep architectural barriers to that, which are not limited to the location of the database.
It this is not what is happening here, please open an issue against https://github.com/github/codeql-action and include information about your environment (i.e. your workflow file; do you use a self-hosted runner of a GitHub-provided one; if possible a link to a failing run, etc).
from codeql-cli-binaries.
Related Issues (20)
- vs2008 cpp project errror HOT 4
- CLI can't handle '@' in query file path HOT 11
- [Java][maven] "No source code was seen and extracted" HOT 1
- ERROR: Could not detect a suitable build command for the source checkout HOT 2
- Evaluator log summary generation failed due to `NullPointerException` HOT 2
- Cannot create a database on M1 Mac HOT 4
- Missing Source Files from Database for XNU HOT 7
- Xcode iOS simulator build fails when codeql is injected HOT 14
- CodeQL Cpp Library Errors when Publishing CodeQL Pack HOT 2
- GitHub Code Scanning does not recognize CodeQL Analysis Workflow HOT 2
- A fatal error occurred: IOException while executing process with args: [/home/abs4x/CodeQL/cli/tools/linux64/scc, --by-file, --format, json] HOT 5
- Java heap problem
- Option --overwrite does not overwrite database folder created by --db-cluster HOT 3
- Linux arm64 support? HOT 2
- No supported build system detected. HOT 1
- CodeQL enable breaks mono path HOT 2
- Could not resolve library path for /Users/xxx/codeql/codeql-exm/java/ql/examples HOT 2
- Could not resolve module csharp
- typescript-parser-wrapper fails for tsconfig.json path check on Windows HOT 8
- Changelog entry for 2.13.5 is missing HOT 1
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 codeql-cli-binaries.