This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author grahamd
Recipients grahamd
Date 2009-07-17.10:21:39
SpamBayes Score 4.4634287e-09
Marked as misclassified No
Message-id <1247826105.17.0.941734297485.issue6501@psf.upfronthosting.co.za>
In-reply-to
Content
When using Python 3.1 for Apache/mod_wsgi (3.0c4) on Windows, Apache will 
crash on startup because Python is forcing the process to exit with:

Fatal Python error: Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: cp0

I first mentioned this on issue6393, but have now created it as a separate 
issue as appears to be distinct from the issue on MacOS X, athough possibly 
related.

In the Windows case there is actually an encoding, that of 'cp0' where as on 
MacOS X, the encoding name was empty.

The same mod_wsgi code works fine under Python 3.1 on MacOS X.
History
Date User Action Args
2009-07-17 10:21:46grahamdsetrecipients: + grahamd
2009-07-17 10:21:45grahamdsetmessageid: <1247826105.17.0.941734297485.issue6501@psf.upfronthosting.co.za>
2009-07-17 10:21:42grahamdlinkissue6501 messages
2009-07-17 10:21:40grahamdcreate