How to reproduce: 1. Run **Tools > Check Media** 2. Click **Sync** Result: An error message appears while the sync dialog gets stuck, and Anki has to be killed from the Task manager.  Tested on Anki 2.1.49