[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] weird PyQt bug: memory corruption?
From: Ümit_Öztosun <umit.oztosun () gmail ! com>
Date: 2005-04-21 18:37:42
Message-ID: d95439ec05042111375ce986f0 () mail ! gmail ! com
[Download RAW message or body]
> Can anybody reproduce this? Phil, do you have any idea about what might be
> causing this?
>
> What happens in my full application is an AttributeError while trying to
> call QScrollView.viewport().setBackgroundMode, because the name does not
> exit (the object is a QObject instead of a QWidget).
Hi,
Although I am unable to reproduce the problem, a while ago I had
similar problems. I was getting AttributeErrors in a QTable derived
custom widget. For example code similar to:
self.verticalHeader().setResizeEnabled(False, 0)
in that QTable derived widget sometimes failed with AttributeErrors.
When I examined self.verticalHeader(), I found that it was a QObject
instead of QHeader. However, this occurred rarely, and dissappeared
after I changed the way I use queryList().
Prior to PyQt 3.14.1 (including PyQt 3.14) this problem never
occurred. I observed it only in PyQt 3.14.1 and later snapshots.
Although I tried, I couldn't produce a sample script which
demonstrates the problem.
I am on a Linux Debian Testing system, with PyQt 3.14.1, SIP 4.2.1 and Qt 3.3.3.
Regards,
Umit Oztosun
_______________________________________________
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