[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] [Errno 4] Interrupted system call
From:       "Arve Knudsen" <arve.knudsen () gmail ! com>
Date:       2007-05-28 17:38:14
Message-ID: a0d6258d0705281038w5afbcb36wfe4dce29c794b113 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Aha, so Ubuntu's version _is_ patched :)

Arve

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

[Attachment #5 (text/html)]

Aha, so Ubuntu&#39;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> &lt;<a \
href="mailto:ismail@pardus.org.tr">ismail@pardus.org.tr</a>&gt; 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>&gt; Hi,<br>&gt; I&#39;m having \
consistent problems using the python subprocess module in<br>&gt; PyQT \
applications.<br>&gt;<br>&gt; os.read() &amp; os.wait() calls seem to be interrupted \
intermittently, in a <br>&gt; manner similar to the following stack \
trace:<br>&gt;<br>&gt; File \
&quot;/homes/jeremym/programs/python2.5/lib/python2.5/subprocess.py&quot;,<br>&gt; \
line 593, in __init__<br>&gt; errread, errwrite)<br>&gt; File \
&quot;/homes/jeremym/programs/python2.5/lib/python2.5/subprocess.py&quot;, <br>&gt; \
line 1046, in _execute_child<br>&gt; data = os.read(errpipe_read, 1048576) # \
Exceptions limited to 1 MB<br>&gt; OSError: [Errno 4] Interrupted system \
call<br>&gt;<br>&gt; The only mention I could find about this online is at: <br>&gt; \
<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>&gt; \
which just recommends retrying the operation.<br> &gt;<br>&gt; Does anyone know what \
the root of this problem is? How can it be solved<br>&gt; 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&amp;aid=1 \
068268&amp;group_id=5470&amp;atid=105470">http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1068268&amp;group_id=5470&amp;atid=105470
 </a><br><br><br>/ismail<br><br>--<br>Perfect is the enemy of \
good<br><br>_______________________________________________<br>PyQt mailing \
list&nbsp;&nbsp;&nbsp;&nbsp;<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>




_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic