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 vstinner
Recipients brian.curtin, serhiy.storchaka, tim.golden, vstinner
Date 2014-02-13.10:26:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392287165.51.0.792620084259.issue20614@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows, if Python is started with an empty environment (no environment variable at all), Python fails with:

"Fatal Python error: Failed to initialize Windows random API (CryptoGen)"

It's the Windows error 0x80090006 which is not displayed in the error message :-(

In fact, it's because Python 3 cannot be started without SYSTEMROOT environment variable. Otherwise, CryptAcquireContext() is unable to find some DLL.

IMO the script_helper should be fixed to copy the variable.

Recent example of this issue:
http://bugs.python.org/issue20599#msg211111
History
Date User Action Args
2014-02-13 10:26:05vstinnersetrecipients: + vstinner, tim.golden, brian.curtin, serhiy.storchaka
2014-02-13 10:26:05vstinnersetmessageid: <1392287165.51.0.792620084259.issue20614@psf.upfronthosting.co.za>
2014-02-13 10:26:05vstinnerlinkissue20614 messages
2014-02-13 10:26:04vstinnercreate