You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: add --cli mode to p2pp for headless/CI processing #107
p2pp is a PyQt GUI application. When run in CI (headless, no display), it hangs indefinitely even with xvfb-run + image_rc mock. The GUI modules (p2pp/gui.py, image_rc) initialize Qt widgets and wait for user interaction.
Solution
Add a --cli flag to P2PP.py that:
Skips all GUI initialization (no PyQt, no image_rc, no QWidget creation)
Imports only the processing modules (mcf.py, psconfig.py, omega.py, formatnumbers.py)
Activity