<div class="gmail_quote">On Fri, Oct 8, 2010 at 11:09 AM, Stephen Hansen <span dir="ltr">&lt;<a href="mailto:me%2Bpython@ixokai.io">me+python@ixokai.io</a>&gt;</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">&lt;<a href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>&gt;</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 &lt;<a href="mailto:me%2Bpython@ixokai.io" target="_blank">me+python@ixokai.io</a>&gt; wrote:<br>
&gt;<br>
&gt; And long story short, it gets to 201 and runs test_cmd_line in the same<br>
&gt; order as the buildbot did, and it succeeds too, and I curse the gods of the<br>
&gt; netherworld, and am stumped with how to proceed. Two separate buildbot runs<br>
&gt; and this same failure happened, yet for me, no. Or I&#39;m doing something<br>
&gt; differently then the buildbot is, and I can&#39;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&#39;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&#39;s running under launchd, and so is launching twisted with the tac directly -- but I can&#39;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 = &quot;en_US.UTF-8&quot; 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>