PyQt leaves C-code in python modules

From: Dave (shuvit_at_127.0.0.1)
Date: 11/04/03


Date: Tue, 4 Nov 2003 11:45:14 -0700

I'm having a strange problem with the pyqt-tools in the latest Debian
packages. When I run
$ pyuic colortool.ui > colortool.py
Extracting init()
Extracting loadSettings()
Extracting saveSettings()
...
it produces 'colortool.py' with python function headers, but the body of the
functions are still in C. There are no error messages, just the normal log
of "extracting" functions.

The file colortool.ui is the tutorial example from the Qt Designer manual,
and it works correctly when compiled in C. The versions on all the relevant
packages seem to be correct:

-> pyuic is from package pyqt-tools 3.8-2.1 This package depends on:
libc6 (>= 2.3.2-1), libgcc1 (>= 1:3.3.1-1), libqt3c102-mt (>= 3:3.2.1),
libstdc++5 (>= 1:3.3.1-1), xlibs (>> 4.1.0)
-> Current versions shown by dpkg are:
libc6 2.3.2-9, libgcc1 1:3.3.2-1, libqt3c102-mt 3:3.2.1-6, libstdc++5
1:3.3.2-1, xlibs 4.2.1-12.1
-> designer is from package qt3-designer 3:3.2.1-6

$ pyuic -version
Python User Interface Compiler 3.8 for Qt version 3.2.1

I have used Python and Qt in Redhat 9, after great effort to correct
mismatched versions in their packaging. That is the only reason I suspected
packaging problems here, but so far I've had much better experience with
Debian's packages.

This is very frustrating. I've committed to a project using Qt and Python,
and I'm totally dependent on pyuic. Any suggestions would be much
appreciated.

-- Dave



Relevant Pages

  • Re: PyQt leaves C-code in python modules
    ... > I'm having a strange problem with the pyqt-tools in the latest Debian ... > Extracting loadSettings() ... > relevant packages seem to be correct: ... > I have used Python and Qt in Redhat 9, ...
    (comp.lang.python)
  • Re: bsdtars security restrictions (was Re: Spurious EACCES errors from apache)
    ... > extracting to in an attempt to close certain security ... > the process of setting permissions, ownership, ... I pull in packages from package build clients with ... It creates archives like this: ...
    (freebsd-current)
  • dpkg install and extract options - are they different from installed files point of view?
    ... dependencies and extracting the packages? ... In other words, if I know about the dependencies of my packages, ... installation for a package? ...
    (Debian-User)
  • dpkg install and extract options
    ... if I use dpkg -i option, does it do anything extra than resolving ... dependencies and extracting the packages? ... In other words, if I know about the dependencies of my packages, ...
    (Debian-User)
  • Re: Cheese Shop -> BSOL?
    ... people complained about how nearly every Python ... not being able to scan long lists of packages comfortably, ... look at distinctively named packages, we can see that they often ... of the technology, is sensibly avoided in this case. ...
    (comp.lang.python)