PyPI 2.3.4 crashes with KeyError: 'container' while current main works correctly
Author: urattemsCreated Aug 5, 2026Updated Sep 16, 2026
Description
I encountered a reproducible crash when using the PyPI release (2.3.4) of GHunt.
Authentication succeeds correctly, but running ghunt email against valid Google accounts causes a crash with:
KeyError: 'container'Environment
- OS: Kali Linux (WSL2)
- Python: 3.13.12
- Installation method: pipx
- GHunt version: 2.3.4
Steps to reproduce
- Install GHunt from PyPI
pipx install ghunt- Authenticate successfully
ghunt login- Query a valid Google account
ghunt email <[email protected]>Expected behavior
Display account information.
Actual behavior
The command crashes with:
Traceback (most recent call last):
...
KeyError: 'container'The crash occurs in:
ghunt/parsers/people.py
self.coverPhotos[cover_photo_data["metadata"]["container"]] = person_cover_photoInvestigation
I cloned the current GitHub repository and tested the exact same command.
The current main branch works correctly when executed from a local clone.
The difference is that the current repository contains:
container = cover_photo_data.get("metadata", {}).get("container", "unknown")
self.coverPhotos[container] = person_cover_photowhereas the PyPI release still contains:
self.coverPhotos[cover_photo_data["metadata"]["container"]] = person_cover_photoIt looks like the fix is already present on the repository but has not yet been published to PyPI.
Thanks for the great project!
Source: mxrch/GHunt