[PyKDE] qt3 semaphore example problem

Hans-Peter Jansen hpj at urpla.net
Sat Jun 22 09:06:01 BST 2002


Hi Phil,

FYI:
./semaphore.py 
Traceback (most recent call last):
  File "./semaphore.py", line 199, in ?
    se = SemaphoreExample()
  File "./semaphore.py", line 114, in __init__
    self.yellowThread = YellowThread(self)
  File "./semaphore.py", line 25, in __init__
    QThread.__init__(self)
  File "/usr/lib/python2.1/site-packages/qt.py", line 196, in __init__
    libqtc.sipCallCtor(24,self,args)
TypeError: QThread is an abstract class and cannot be explicitly instanciated
Exception exceptions.AttributeError: 'yellowThread' in <method SemaphoreExample.__del__ of SemaphoreExample instance at 0x82b3ef4> ignored
Mutex destroy failure: Das Gerät oder die Ressource ist belegt

Hans-Peter




More information about the PyQt mailing list