[PyQt] [Errno 4] Interrupted system call

Jeremy Moskovich jeremy.moskovich at mobileye.com
Mon May 28 16:54:47 BST 2007


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?

Thanks and best regards,
Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3285 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070528/5c56db44/smime.bin


More information about the PyQt mailing list