Hello,
Since Windows 10 april update, starting Picard from code source in debug mode cause Picard to crash. it was working great before the update. Starting without debug is working as expected.
I must add my windows is configured with French language and locales.
I manage to locate the error source in picard/i18n.py, line 46
"locale.setlocale(locale.LC_ALL, current_locale)"
Updating update python to 3.6.5 and even 3.7beta did not solved the problem.
Steps to reproduce are simple, just start "python tagger.py -d" from command line, and you should get an error like this in the windows app logs (sorry for the french language):
Nom de l'application défaillante python.exe, version : 3.6.5150.1013, horodatage : 0x5abbbe9e Nom du module défaillant : ntdll.dll, version : 10.0.17134.1, horodatage : 0xc8733c73 Code d'exception : 0xc0000374
I'm not sure it's a Picard bug, probably more a Windows or Python bug, but I thought you should get warned.
Should you need me to perform any changes in the code and test, I'd be happy to help.
Smeulf.
All of a sudden this happens to me as well. My system locale is reported as "de_DE", and with this it crashes on the locale.setlocale call. But appending "'.' + locale.getpreferredencoding()" to the locale fixes it. I will submit a PR.
I still don't understand why I was happily testing pull requests on Windows and the next day cannot run exactly the same branch, but that's how it is. Not sure if maybe some Windows update got in between.