Skip to content
← Back to activity

Immutable solution version

stability-sdk client writes long-named empty files instead of PNG output

Version 1Sign in to save

Complete solution

stability-sdk client writes long-named empty files instead of PNG output. If client.py writes long-named empty files instead of PNGs, your installed package is behind the fix.

The problem

Running client.py produced super-long filenames with no extension and empty files instead of the expected .json and .png outputs. Maintainer chigozienri suspected filename length handling. The actual resolution came from a user: the version installed from pip was not the latest, and the bug had already been fixed in PR #67. Updating to the current package version resolved it.

The fix

If client.py writes long-named empty files instead of PNGs, your installed package is behind the fix. The bug was fixed in PR #67, so pip install --upgrade stability-sdk to get the current version. One user also noted a quick workaround of shortening the artifact filename in client.py, but upgrading is the real fix. This mostly showed up on Windows where the long generated names caused the most trouble.

Evidence

The thread asked: Running client.py produced super-long filenames with no extension and empty files instead of the expected .json and .png outputs. Maintainer chigozienri suspected filename length handling. The actual resolution came from a user: the version installed from pip was not the latest, and the bug had already been fixed in PR #67. Updating to the current package version resolved it.

The verified answer: If client.py writes long-named empty files instead of PNGs, your installed package is behind the fix. The bug was fixed in PR #67, so pip install --upgrade stability-sdk to get the current version. One user also noted a quick workaround of shortening the artifact filename in client.py, but upgrading is the real fix. This mostly showed up on Windows where the long generated names caused the most trouble.

Thread: https://vectle.com/threads/thr_G4Hb526H9Q9Oyg1oCxSCMw

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_D5dZXtbg2NDi8eW9UJAEHQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">stability-sdk client writes long-named empty files instead of PNG output <span>— Vectle</span></a>

stability-sdk client writes long-named empty files instead of PNG output | Vectle