PyQT problems... [2.1a2+PyQT broken?]

Marco Seiriö Marco.Seirio at crepido_dot_.com
Mon Feb 12 14:22:56 CET 2001


I tried on another machine with Python 2.0 and it works
ok!! Could it be that 2.1a2 is broken when used together 
with PyQT? (Or PyQT could be the one that is broken... well
they don't mix anyway...)

Anybody involved in PyQT that cares to comment on this one?

/Marco


marco at crepido.com wrote:
> 
> Hi all,
> 
> I hope this is the right place to kindly ask for help.
> 
> I have a problem with the Python bindings for QT. But I'm not
> sure if it is a QT or Python problem...
> 
> When I run a pyQT program that uses signals and slots (about 99.99%
> do...)
> Python complains about the signal being of the wrong type to match
> the slot.
> 
> I tried several PyQT programs and they all behave the same.
> 
> Example error message running Eric...
> 
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.1/site-packages/eric/eric.py", line 23,
> in ?
>     mw = UserInterface(dbs,prog)
>   File "/usr/local/lib/python2.1/site-packages/eric/UserInterface.py",
> line 53, in __init__
>     self.connect(openAct,SIGNAL('activated()'),self.handleOpen)
> RuntimeError: Signal has wrong argument types for slot
> 
> Have anyone seen this error and knows what to do about it??
> 
> My world:
> - Python 2.1a2
> - QT 2.2.4
> - PyQT 2.4
> - sip 2.3
> 
> TIA
> /Marco



More information about the Python-list mailing list