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

扫描数据库就会提示缺少qlpack.yml文件 #33

Open
sobinge opened this issue Mar 29, 2023 · 3 comments
Open

扫描数据库就会提示缺少qlpack.yml文件 #33

sobinge opened this issue Mar 29, 2023 · 3 comments

Comments

@sobinge
Copy link

sobinge commented Mar 29, 2023

python3 main.py -d /Users/xxxxxxxx/tools/CodeQL/CodeQLpy/out/database/ruoyi_demo
Welcome to
.. _________ . ________ .
_
__ | | _ ___ \ ____ | /_ _____ \ | |
| // | | / \ / / _ \ / __ |/ __ \ / / \ | |
| | _
| \ _( <> ) // \ // _/. \ |
|| / | _ /_/_
|_
_ >_____\ _/_______ / / / / __> /

2023/03/29 14:57:26 functions.py WARNING
2023/03/29 14:57:26 functions.py WARNING
2023/03/29 14:57:28 functions.py WARNING Compiling query plan for /Users/xxxxxx/tools/CodeQL/tmpjfw8i5b8/4a24a317f6b24508ac45368607e75799.ql.
ERROR: Could not resolve module java. There should probably be a qlpack.yml file declaring dependencies in /Users/xxxxxx/tools/CodeQL/tmpjfw8i5b8 or an enclosing directory. (/Users/xxxxxxx/tools/CodeQL/tmpjfw8i5b8/4a24a317f6b24508ac45368607e75799.ql:1,8-12)

2023/03/29 14:57:28 check.py ERROR database or codeql is error.
qlpath error,check it at config/config.ini or close the Visual Studio Code.

@webraybtl
Copy link
Owner

第一个可能原因是config/config.ini中的qlpath参数有问题,另一个可能原因是需要关闭VS Code。

@sobinge
Copy link
Author

sobinge commented Mar 30, 2023

感谢回答,发现是自己配置路径出现问题

@F1or
Copy link

F1or commented Jul 5, 2024

qlpath是选择codeql的path么

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

3 participants