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

Failed to dump json content to file /tmp/packj_audit_4414d88z/report_zw4uc_aw.json: Object of type Commit is not JSON serializable #101

Open
w3bd3m0n1337 opened this issue Aug 4, 2024 · 2 comments

Comments

@w3bd3m0n1337
Copy link

Hi Team,

on running the command:
docker run --rm ossillate/packj audit -p pypi:requests
I get the following error.

"Failed to dump json content to file /tmp/packj_audit_4414d88z/report_zw4uc_aw.json: Object of type Commit is not JSON serializable"

My system is using ubuntu.

Could you suggest a quick fix.
Finding_Risky_Packages_using_packj_-_Common_Defences_against_Supply_Chain_Attacks_-_Software_Supply_Chain_Security_Expert_Course_-_Practical_DevSecOps

@ashishbijlani
Copy link
Collaborator

Thanks! Looks like commit objects need to be serialized. Would love to receive a FIX on the issue from you.

@OscarVanL
Copy link

I'm getting the same error too.

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