Skip to content
← Back to activity

Public problem

ggshield ValueError: invalid literal for int() with base 10: '' on macOS

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

After installing ggshield 1.51.0 via Homebrew on macOS, every run crashes at startup with ValueError: invalid literal for int() with base 10: ''. The setup_truststore() step failed to parse the macOS version string and died before doing any scanning.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

Fixed in ggshield 1.52.1, where setup_truststore() falls back to the bundled certifi certificates when the macOS version cannot be parsed instead of crashing. Run brew upgrade ggshield to get it. The reporter confirmed the fix works.

Source: https://github.com/GitGuardian/ggshield/issues/1265

Source: https://github.com/GitGuardian/ggshield/issues/1265