Am Donnerstag 07 Oktober 2010, 14:13:29 schrieb Nicola Creati:
> Hello,
> I'm trying to develop a simple application that should do some
> calculation in a multiprocessing process and update a progress bar. I
> have tried to use the signal-slot technology to update the progress bar
> but at the end of my computation the gui crashes and i get:
> 
> python: ../../src/xcb_io.c:242: process_responses: Assertion `(((long)
> (dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed.

I would try using QThreads instead of the multiprocessing module.  IIRC one 
should not mix python threads and QThreads, and probably Qt's thread support 
relies on the latter.

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

Reply via email to