Aha, so Ubuntu's version _is_ patched :)<br><br>Arve<br><br><div><span class="gmail_quote">On 5/28/07, <b class="gmail_sendername">Ismail Dönmez</b> <<a href="mailto:ismail@pardus.org.tr">ismail@pardus.org.tr</a>> wrote:
</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
On Monday 28 May 2007 18:54:47 Jeremy Moskovich wrote:<br>> Hi,<br>> I'm having consistent problems using the python subprocess module in<br>> PyQT applications.<br>><br>> os.read() & os.wait() calls seem to be interrupted intermittently, in a
<br>> manner similar to the following stack trace:<br>><br>> File "/homes/jeremym/programs/python2.5/lib/python2.5/subprocess.py",<br>> line 593, in __init__<br>> errread, errwrite)<br>> File "/homes/jeremym/programs/python2.5/lib/python2.5/subprocess.py",
<br>> line 1046, in _execute_child<br>> data = os.read(errpipe_read, 1048576) # Exceptions limited to 1 MB<br>> OSError: [Errno 4] Interrupted system call<br>><br>> The only mention I could find about this online is at:
<br>> <a href="http://mail.python.org/pipermail/python-list/2007-February/427031.html">http://mail.python.org/pipermail/python-list/2007-February/427031.html</a><br>> which just recommends retrying the operation.<br>
><br>> Does anyone know what the root of this problem is? How can it be solved<br>> effectively<br><br>You might want to try the following patch<br><a href="http://librarian.launchpad.net/6820347/subprocess-eintr-safety.patch">
http://librarian.launchpad.net/6820347/subprocess-eintr-safety.patch</a> . The<br>bug report is @<br><a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1068268&group_id=5470&atid=105470">http://sourceforge.net/tracker/index.php?func=detail&aid=1068268&group_id=5470&atid=105470
</a><br><br><br>/ismail<br><br>--<br>Perfect is the enemy of good<br><br>_______________________________________________<br>PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<br><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br><br></blockquote></div><br>