I’ve been working on the AppleMusic-Downloader project, primarily debugging a Windows-specific issue where the desktop app would hang during downloads. The root cause turned out to be PyInstaller’s --windowed mode setting sys.stdout and sys.stderr to None, which broke async libraries like httpx and asyncio. The fix was calling AllocConsole() on Windows to allocate a visible console window and properly redirect all three standard streams (stdin, stdout, stderr). I also cleaned up unnecessary debug code (log file output, /api/logs endpoint), added step-by-step logging in the download pipeline to help diagnose future issues, fixed a few i18n key mismatches in the frontend, and added a note in both READMEs telling Windows users not to close the console window.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.