PyQT Qthread stuck main app

daved170 daved170 at gmail.com
Tue Sep 15 16:03:29 CEST 2009


On Sep 15, 2:54 pm, David Boddie <dbod... at trolltech.com> wrote:
> On Tue Sep 15 12:59:35 CEST 2009, daved170 wrote:
>
> > my problem is that when start is pusshed the entire window stuck and
> > it's impossible to push the STOP button and even when it looks like
> > it's been pushed it actually don't do anything.
>
> > any idea how to fix it?
>
> Does adding a call to the base class's __init__() method help?
>
> class myThread(QtCore.QThread):
>    def__init__(self):
>       QtCore.QThread.__init__(self)
>       self.alive = 1
>
> David

Hi David,
I did write that line. I forgot copying it to my code here.
The problem still happens. When I kill the app only then I see the
message "stopped pushed".

any other idead?
thanks Dave



More information about the Python-list mailing list