This problem does not happen very often, but when it happen is only on system startup, and I couldn't reproduce by starting by hand.<div>My startup script tries to initiate a lot of services in sequence (ruby, java, C and python), but does not do anything with stdio streams, at least not directly. </div>
<div><br></div><div>At first, I thought this could be related to this python issue: <a href="http://bugs.python.org/issue13146" style="font-family:Arial,sans-serif;font-size:12px;background-color:rgb(255,255,255)"><font face="Arial, sans-serif"><span style="font-size:12px;background-color:rgb(255,255,255)">http://bugs.python.org/issue13146</span></font><sup style="font-family:Arial,sans-serif;font-size:12px;background-color:rgb(255,255,255)"><img class="rendericon" src="http://flexbuilder.es.ribbit.mobi/jira/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0" style="border: 0px; "></sup></a><br>
but this does not relate with "<span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif">can't initialize sys standard streams" error.</span><br><br>I didn't have time, though, to update my python version and check this won't happen again.<br>
<br><br>Robison</div><div><br><div class="gmail_quote">On Tue, Sep 25, 2012 at 10:59 AM, Oscar Benjamin <span dir="ltr"><<a href="mailto:oscar.j.benjamin@gmail.com" target="_blank">oscar.j.benjamin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div class="im">On 25 September 2012 14:56, Robison Santos <span dir="ltr"><<a href="mailto:rwrsantos@gmail.com" target="_blank">rwrsantos@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm using <span style="background-color:rgb(255,255,102)">python3.2.1</span> <div>on <span style="background-color:rgb(255,255,102)"> Enterprise Linux Server release 5.3 (Carthage)</span>.</div><div><br></div><div>I'm starting my apps calling <span style="background-color:rgb(255,255,102)">python3 file.py <params></span></div>
<div><br></div><div>I have a script that runs on system startup executing my python scripts.</div></blockquote><div><br></div></div><div>What happens if you just run the scripts from the shell after starting up?</div><div>
<br>
</div><div>What arrangement does the startup script provide for the stdio streams?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Oscar</div></font></span></div>
</blockquote></div><br><br><br>
</div>