[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] PyKDE bug with KMdiMainFrm
From:       Jim Bublitz <jbublitz () nwinternet ! com>
Date:       2006-07-26 5:58:26
Message-ID: 200607252258.27024.jbublitz () nwinternet ! com
[Download RAW message or body]

On Tuesday 25 July 2006 10:36, Serge Weinstock wrote:
> Hi,

> I'm currently upgrading Sip/PyQt/PyKDE in order to be able to use PyQt4.
> I'm using a Suse10.1 x86 distribution with KDE3.5.4 and I'm now using:
> * sip  4.4.5
> * PyQt-x11-gpl-3.16
> * PyKDE-snapshot20060422

> Checking that my previous programs were still working, I ran into this bug:
> Overriding the customEvent method of kmdi.KMdiMainFrm makes any
> application crashes  at the creation of the main frame.

> To test it, add the following method to the class KmdiExample of the
> uikmdi.py sample of PyKDE:
> def customEvent(self, event):
>     kmdi.KMdiMainFrm.customEvent(self, event)

> And the application will crash during the call to
> kmdi.KMdiMainFrm.createGUI

> A workaround for this bug is to create an invisible widget specifically
> for handling custom events..

It works OK with sip 4.4.1/KDE 3.4.2, but crashes with sip 4.4.3/KDE3.5.3. The 
backtrace I get on failure ends in PyQt. - it looks like it may be some kind 
of initialization problem in sip or PyQt.

Jim



_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic