<div class="gmail_quote">On Fri, Oct 8, 2010 at 11:09 AM, Stephen Hansen <span dir="ltr"><<a href="mailto:me%2Bpython@ixokai.io">me+python@ixokai.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, Oct 8, 2010 at 10:28 AM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>></span> wrote:<br></div><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Fri, 8 Oct 2010 10:02:59 -0700<br>
Stephen Hansen <<a href="mailto:me%2Bpython@ixokai.io" target="_blank">me+python@ixokai.io</a>> wrote:<br>
><br>
> And long story short, it gets to 201 and runs test_cmd_line in the same<br>
> order as the buildbot did, and it succeeds too, and I curse the gods of the<br>
> netherworld, and am stumped with how to proceed. Two separate buildbot runs<br>
> and this same failure happened, yet for me, no. Or I'm doing something<br>
> differently then the buildbot is, and I can't see what.<br>
<br>
</div>The buildbot user probably has different locale settings. I can<br>
simulate the failure with:<br></blockquote><div><br></div></div><div>I'd find that very surprising: the buildslave is running as the same user I am running the test under, and the LANG is en_US.UTF-8 -- the default. Granted, the slave's running under launchd, and so is launching twisted with the tac directly -- but I can't see any part of that process which would cause the default LANG to change.</div>
</div></blockquote><div><br></div><div>I edited the launchd config to force LANG = "en_US.UTF-8" and the test suddenly passes, which is good. I have no idea why the LANG would end up different when the app is launched from launchd -- even though it was running as the same user as I was doing the testing against -- but, apparently, it was. </div>
<div><br></div><div>But, issue4388 and issue9992 seem to already be in, and I commented on them.</div><div><br></div><div>Thanks for the help in figuring this out. :)</div><div><br></div><div>--Stephen/Ixokai</div></div>