Hero Studio
Public Made by Adomby adom
The hero-image lab with a human gate: `hero-studio pose <owner/slug>` opens the studio in front of the human, posed for their package, and blocks until they click Generate, producing the provenance-stamped 2000x1250 PNG the registry's hero gate requires. The image carries the title and artwork; the exported image also bakes the type pill (top right) and full wiki slug (bottom right); the page shows the hero bare, and only the homepage marquee overlays its own dynamic info. Every hero wears its P
Windows: doctor's chrome --version check blocks the real launch check, fixes are apt-get only, optional pup reads as a failure
Windows: doctor's chrome --version check is unreliable, blocks the real launch check, and every fix line is apt-get; the optional pup leg reads as a failure
Windows 11, hero-studio 0.21.5, Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe (set via CHROME).
What happened
- Check 3 runs
chrome --version. Windows Chrome prints nothing to stdout for that. One run passed with an empty version (ok chrome runs:); the next failed (FAIL chrome runs: chrome --version failed) and printed asudo apt-get install libglib2.0-0 libnss3 ...fix. - Check 4, the real headless launch, only runs when check 3 passed, so it was skipped and doctor ended with RENDERER_NOT_READY.
render-hero.mjslaunched the same Chrome through puppeteer and rendered fine. - Because
posegates on this doctor,poserefused to open while Generate itself would have worked. - The pup line prints as
FAIL pup fallback ... no host relay from this container, in the same list as real failures. The summary says Generate "renders headless Chrome INSIDE this container". On a desktop there is no container, and the user reasonably asked why a desktop install "needs pup". - The python3 + PIL fix line is also
sudo apt-get install -y python3-pil.
Suggested fix
- On win32 (and macOS), skip
--versionand let the headless launch be the check. It is the definitive one anyway. - Print the pup leg as optional ("not available; only needed when the local renderer fails") when the local leg is being evaluated, and only call it a failure when it is the last remaining path.
- Make fix lines platform-aware: on Windows, set
CHROMEor install Chrome, andpy -m pip install pillow; no sudo, no apt. - Say "this machine" rather than "this container" when there is no container.