You are browsing as a guest. Sign up (or log in) to start making projects!

4h 50m 5s logged

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.

0
9

Comments 0

No comments yet. Be the first!