[PyKDE] Extra args in KDialogBase.slotOk, slotCancel

Hans-Peter Jansen hpj at urpla.net
Fri May 14 14:15:01 BST 2004


Hi Phil,

On Friday 14 May 2004 08:30, Phil Thompson wrote:
> The fix will be in tonight's SIP4 snapshot. Rebuild both PyQt and
> PyKDE.

Does that fix the closing problems of pyKHTMLPart.py, too:

TypeError: queryClose() takes exactly 1 argument (7 given)

When catching that arguments with *args, and printing them, my x86_64 
box spits out:

queryClose args: (<__main__.qt.QString object at 0x2a96223e30>, 
<__main__.qt.QString object at 0x2a96223fb0>, <__main__.qt.QString 
object at 0x2a96239050>, <__main__.qt.QString object at 
0x2a962390b0>, None, -1787777593)
queryExit args: (<__main__.qt.QString object at 0x2a96223e30>, 
<__main__.qt.QString object at 0x2a96223fb0>, <__main__.qt.QString 
object at 0x2a96239050>, <__main__.qt.QString object at 
0x2a962390b0>, None, 9390432)

This happens with:

qt-3.3.1
kde-3.2.1
sip-20040510
PyQt-20040509-sip4
PyKDE-3.11rc1-sip4

I would highly appreciate a patch to check against..

BTW: What happened to sipgen/gencode.c.patch (attached)? I haven't 
checked, if it's needed, but applies cleanly to sip 4 (20040510). 

Also, I found an unspecified patch in SuSEs build (sip.diff). Would 
you take a look into and check if it is really necessary? At least, 
it also apply cleanly and does no user visible harm, but I hate 
unspecified patches..

Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sip-gencode.c.patch
Type: text/x-diff
Size: 320 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20040514/9c9b9a2c/sip-gencode.c.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sip.diff
Type: text/x-diff
Size: 188 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20040514/9c9b9a2c/sip.bin


More information about the PyQt mailing list