Message134947
> Fatal Python error: Py_Initialize: can't initialize sys standard streams
> LookupError: unknown encoding: cp0
That's a bug in os.device_encoding(): os.device_encoding(sys.stdout.fileno()) should return None if the application has no console (if sys.stdout is not a Windows console stream).
Attached device_encoding.patch should fix this issue. (I didn't test the patch yet.) |
|
Date |
User |
Action |
Args |
2011-05-01 23:46:18 | vstinner | set | recipients:
+ vstinner, amaury.forgeotdarc, atuining, belopolsky, pitrou, grahamd, flox, Daniel.Goertzen |
2011-05-01 23:46:18 | vstinner | set | messageid: <1304293578.32.0.794379613663.issue6501@psf.upfronthosting.co.za> |
2011-05-01 23:46:17 | vstinner | link | issue6501 messages |
2011-05-01 23:46:17 | vstinner | create | |
|