Repository navigation
v0.1.11 - Fix Streamlit Static Files Bundling
What's New in v0.1.11
This release fixes the critical bug where Streamlit was failing to start with a 404 error.
Bug Fixes
- Streamlit Static Files Missing: Fixed
FileNotFoundErrorforindex.htmlby bundling all Streamlit static files (HTML, JS, CSS) with PyInstaller - Output Capture: Added stdout/stderr redirection to log files for better debugging
- Dynamic Versioning: App now displays version from
pyproject.tomldynamically
What Was Broken in v0.1.10
The v0.1.10 release would show a desktop window but display a 404 error because:
FileNotFoundError: [Errno 2] No such file or directory:
'...\StreamlitApp\_internal\streamlit\static\index.html'
PyInstaller was not bundling Streamlit's static web files, so the web server couldn't serve the UI.
Technical Changes
- Added
--add-dataflags to bundlestreamlit/static/,streamlit/runtime/, andstreamlit/vendor/ - Added
--collect-data streamlitto PyInstaller build scripts - Streamlit output now captured in
logs/streamlit_stdout.logandlogs/streamlit_stderr.log - Sidebar now reads version from
pyproject.tomlinstead of hardcoded value
Testing
All changes tested locally on Windows:
- ✅ Build completes successfully
- ✅ Streamlit server starts and serves web UI
- ✅ Desktop window displays Streamlit app correctly
- ✅ No 404 errors
- ✅ Version displays correctly in sidebar
Installation
Download the appropriate executable for your platform from the assets below.
Build Artifacts
Checksums (SHA256)
a1b01a8b4b75e0a17b6ddb3c4d58d7d0259b21d114340335970e414bebbfd77b ./StreamlitApp-MacOS/StreamlitApp-MacOS.zip
e9b32b3817436a1afb046521b2078759cdf38b016410be1a614f43112c265549 ./StreamlitApp-Linux/StreamlitApp-Linux.tar.gz
b2d36a704e45527a3e3bf2c01d5a47d054abff68ec6d7a64ae9ca95b9c56f844 ./StreamlitApp-Windows/StreamlitApp-Windows.zip
Installation Instructions
Windows:
- Download
StreamlitApp-Windows-*.zip - Extract the ZIP file
- Run
StreamlitApp.exe
Linux:
- Download
StreamlitApp-Linux-*.tar.gz - Extract:
tar -xzf StreamlitApp-Linux-*.tar.gz - Install dependencies:
sudo apt-get install libgtk-3-0 libwebkit2gtk-4.1-0 - Run:
./StreamlitApp/StreamlitApp
MacOS:
- Download
StreamlitApp-MacOS-*.zip - Extract the ZIP file
- Right-click
StreamlitApp.app→ Open (first time only) - Grant permissions if prompted