0xc0150004 error buiding Mercurial under Py26/Win

Martin Geisler mg at lazybytes.net
Thu May 28 13:08:38 CDT 2009


Matt Mackall <mpm at selenic.com> writes:

> On Thu, 2009-05-28 at 17:11 +0200, Martin Geisler wrote:
>> Garth Roxburgh-Kidd <garth at deadlybloodyserious.com> writes:
>> 
>> > G'day!
>> >
>> > I ran into trouble building Mercurial's tip under Python 2.6.2 on
>> > Windows XP: an 0xc0150004 error during 'python setup.py'.
>> >
>> > It turned out the root cause was a change in Python 2.6 for Windows,
>> > well documented in a Python bug report:
>> > http://bugs.python.org/issue3440
>> 
>> Thank you for the patch, it's in crew as ca443bac7ed4!
>
> Won't this bite us calling Python in hooks, etc.?

No, I don't think so. The problem here was that we specified an empty
environment for the subprocess call. The normal util.popen calls reuse
the existing environmetn and will inherit SystemRoot variables and
whatnot.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090528/0f2a17d2/attachment.pgp 


More information about the Mercurial-devel mailing list