[PyQt] multiprocessing with QApplication
Kovid Goyal
kovid at kovidgoyal.net
Wed Jun 13 12:53:01 BST 2012
On Mon, Jun 11, 2012 at 01:59:35PM -0400, Luke Campagnola wrote:
> I agree with you about the multiprocessing package--I really only use it
> for the ease of passing python objects between processes. (I use
> multiprocessing.Pipe(), which I believe uses the Listener/Client system you
> mentioned). I'll definitely try using this with subprocess instead. Thanks
> for the EINTR warning; I'm sure that would have taken another hour or two
> for me to work out :)
That's interesting, how are you using Pipe? More specifically, how are
you passing a Connection object to the worker process? Connection
objects cannot be unpickled, at least in python 2.7, see:
http://bugs.python.org/issue4892
Kovid.
--
_____________________________________
Dr. Kovid Goyal
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120613/4a2a8554/attachment.pgp>
More information about the PyQt
mailing list