Closed iiins0mn1a closed 5 months ago
Thanks for the report. Could I please see the exact CLI invocation you are running when you see these errors?
Hi @adityasharad . Thanks for your replying.
Sure, here is my command:
$CLI_PATH database analyze \
--rerun \
--format=sarifv2.1.0 \
--output=$OUTPUT_PATH \
--max-paths=8 \
--ram=81920 \
--evaluator-log=$EVA_PATH \
--tuple-counting \
--debug \
--threads=24 \
-- $DATABASE_PATH path:$QUERY_PATH
Hi @iiins0mn1a,
It looks like there may be a version mismatch going on somewhere. The fact that this worked fine before the update and also works in VSCode suggests that you may have different versions of the CLI / libraries somewhere.
Are you letting the VSCode extension manage its own CodeQL CLI independent of the one you are using from the command line?
Hi @mbg , thanks for your reply. I checked the detailed configuration and found that it's really my carelessness to blame. Sorry for your troubling you. And I think I shall close this issue. Thanks again.
No problem at all! Good to hear that you have been able to resolve the problem.
I've updated my toolchain to codeql-cli-v2.16.6 (ql-lib on tag v2.16.6 too). While a same query works fine with VS Code extension (with same cli binary), it reports a lot of ERRORs when I use CLI directly in command line.
These ERRORs seem to be internel errors, related log:
Hope to be replied. Thanks.