[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Enums (was: [PyKDE] debian's python-kde3 horribly broken)
From: Simon Edwards <simon () simonzone ! com>
Date: 2005-04-06 6:12:39
Message-ID: 200504060812.39361.simon () simonzone ! com
[Download RAW message or body]
On Wednesday 06 April 2005 03:51, Sebastian Kügler wrote:
> Hi Thorsten, e.a.;
>
> On Tuesday 05 April 2005 19:37, Torsten Marek wrote:
> > just in case somebody didn't notice: Ricardo has uploaded PyKDE 3.11.3
> > built with sip 4.2.1 and patched work with KDE 3.3.2 to Debian/unstable.
>
> Thanks, installs fine, but ...
>
> Traceback (most recent call last):
> File "mountconfig.py", line 2610, in ?
> sysvapp = MountConfigApp()
> File "mountconfig.py", line 2314, in __init__
> self.mountlist.setSelectionMode(self.mountlist.Single)
> TypeError: argument 1 of QListView.setSelectionMode() has an invalid type
>
> Traceback (most recent call last):
> File "kgnuvd.py", line 153, in ?
> w = kgnuvd()
> File "kgnuvd.py", line 16, in __init__
> kgnuvd_ui.__init__(self,parent,__programname__,fl)
> File "/home/sebas/dev/kgnuvd/kgnuvd_ui.py", line 316, in __init__
>
self.frame13.setSizePolicy(QSizePolicy(3,0,0,0,self.frame13.sizePolicy().hasHeightForWidth()))
> TypeError: argument 1 of QSizePolicy() has an invalid type
It looks like it might be a case of the enum handling having been changed. I'm
not sure what the exact answer is, but try:
self.mountlist.setSelectionMode(int(self.mountlist.Single))
or
self.mountlist.setSelectionMode(KListView.Single)
or
self.mountlist.setSelectionMode(int(KListView.Single))
cheers,
--
Simon Edwards | Guarddog Firewall
simon@simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."
_______________________________________________
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