Skip to content
Gil Cleber Barboza edited this page Nov 12, 2026 · 1 revision

FAQ

BrowserType.launch: Executable doesn't exist

Each Playwright version pins a Chromium build. Reinstall after upgrading: playwright install chromium.

Tests hang / take forever in CI

Fixed in v0.4.0+ (single session loop, no cross-loop browser close, faulthandler dumps). On old versions: pytest -m "not browser".

Empty PDF / missing values

The template iterates row.fields — raw records without layout are wrapped automatically; records already in {"fields": ...} format pass through. Check render_html() output first (no browser needed).

Totals show nothing

Aggregates need "aggregate" on the field and numeric values. Non-numeric values are skipped; empty sets render empty (no zero-noise). Verify with render_html().

XLSX numbers come out as text

Cells keep raw numerics with Excel number formats — unless the input value wasn't numeric (e.g. "1.234,50" string). Prefer raw numbers in data; formatting happens at render.

Excel PT opens CSV with mojibake

Use bom=True / --bom (UTF-8 BOM) and delimiter=";".

.toon parse error

Check indentation (2 spaces per level) and key[n]: counts. Deeply nested input is rejected with ValueError on purpose.

Unknown locale

meta.locale accepts BCP 47 (pt-BR, en-US, …). Unknown values raise ValueError at render time.

Clone this wiki locally