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 mitchfrazier
Recipients eric.araujo, mitchfrazier, tarek
Date 2011-09-23.22:14:31
SpamBayes Score 5.427781e-07
Marked as misclassified No
Message-id <1316816072.59.0.865990615621.issue13038@psf.upfronthosting.co.za>
In-reply-to
Content
Distutils built installers will fail on Windows with a run-time exception of STATUS_INVALID_CRUNTIME_PARAMETER, error-code: C0000417 if the python installation directory (e.g. C:\Python27) is read-only for the user running the installer.  I've experienced this with the pyside and pywin32 installers on Windows XP.

Using procmon I discovered that the installer fails when it tries to create the installation log file in the python install directory.  That led me to look at the directory which is when I discovered that it was read only for my user account.  It's read-only because the Python installer was run as Administrator and the other installers are being run from my user account.

Changing the directory to read-only for my account allows the installer to run without problem.

Perhaps the installer could check for this and provide a friendlier response.
History
Date User Action Args
2011-09-23 22:14:32mitchfraziersetrecipients: + mitchfrazier, tarek, eric.araujo
2011-09-23 22:14:32mitchfraziersetmessageid: <1316816072.59.0.865990615621.issue13038@psf.upfronthosting.co.za>
2011-09-23 22:14:31mitchfrazierlinkissue13038 messages
2011-09-23 22:14:31mitchfraziercreate