Skip to content

v12.18.9

Choose a tag to compare

@github-actions github-actions released this 01 Apr 11:50
· 115 commits to release/v1 since this release

v12.18.9 (2026-04-01)

This release is published under the MPL-2.0 License.

Bug Fixes

  • Handle missing stdout encoding in frozen windowed builds (d75af73)

PyInstaller windowed mode can leave sys.stdout as None, which caused tradeenv.py to crash at import time when reading sys.stdout.encoding.

This surfaced in the frozen NiceGUI app during multiprocessing spawn, where child-process imports hit tradeenv before GUI-side stream redirection had been installed.

Resolve the failure by centralising stdout encoding lookup behind a safe helper that falls back to utf-8 when no stdout stream or encoding is available.

This fixes the startup crash in packaged GUI builds without changing normal command-line behaviour.


Detailed Changes: v12.18.8...v12.18.9