-
Notifications
You must be signed in to change notification settings - Fork 388
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
Codechecker Store fails with Python 3.12 #4437
Comments
BTW, https://github.com/Ericsson/codechecker/blob/master/docs/deps.md claims
|
Hi @amai2012 Did you set up SSL for your server? If not can you please try storing through http?
|
Yes, the server is set up with a ssl certificate. As google suggested the issue is with an incompatibility to python 3.12. I managed to run the "store" command successfully after settuing up a python 3.10 environment using uv. |
Hi @amai2012 , we have looked into this issue, and it looks like the rpc library (thrift) that CodeChecker uses for the network communication between the server an client is not compatible with python 3.12. (Which is a shame as it is the default python in the latest LTS Ubuntu. The current latest Thrift compiler will generate python stubs which contain deprecated python code...) We will try to resolve this on the Thrift side. In the meantime please try CodeChecker with an older python, 3.10 or 3.11. |
Hi! |
Describe the bug
Codechecker fails to store results using python 3.12 (e.g. from Ubuntu 24.04 LTS)
CodeChecker version
6.24.4
To Reproduce
Steps to reproduce the behaviour:
triggers
Expected behaviour
Upload succesds
Desktop (please complete the following information)
Additional context
The text was updated successfully, but these errors were encountered: