forked from brad/brand-guidelines
CI Failure: Build references - Missing WeasyPrint system libraries #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CI Failure Report
Workflow: Build references (build-references.yml)
Commit:
f798c730e5Run: https://git.brads.house/digitech/brand/actions/runs/9
Triage Analysis
Error Type: Missing system libraries in slim container image
Root Cause:
The workflow uses
python:3.12-slimwhich does not include system libraries required by WeasyPrint. When the workflow attempts to generate a letterhead PDF, WeasyPrint fails to load required GLib/Pango libraries.Error Message:
Context:
python:3.12-slim(minimal Debian-based image)workflow_dispatchonmainbranchskills/letterhead/scripts/run.py)Recommendation: @agent can fix by adding a step to install required system libraries before the "Install dependencies" step:
Alternative: Use
python:3.12(full image) instead ofpython:3.12-slim.Fixed in commit
9d69fda. Added system dependency installation step to the workflow:The next workflow run should succeed. Closing this issue.