[PyKDE] debian's python-kde3 horribly broken

Phil Thompson phil at riverbankcomputing.co.uk
Wed Apr 6 09:48:58 BST 2005


> 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
>
> Are new errors I get (from different applications). I'm wondering if these
> are
> caused by my combination of packages (mostly sid with KDE 3.4 packages
> from
> experimental), in which case I'll happily /stfu/ or if they are caused by
> the
> fact that python2.3-kde3 is not yet up to date (I've python2.3-kde3
> 3.11.3-4 whereas pyqt is already at 3.14.1-2) or if the cause is something
> else. ("new errors", btw means that I didn't get these errors with KDE 3.4
> and the python 2.3 + sip 4.1 toolchain.) Eric3 does work fine, btw.

Regenerate the .py files from the .ui files using the current pyuic.

Phil




More information about the PyQt mailing list