[PyKDE] Error installing PyKDE-3.7-4

Hans-Peter Jansen hpj at urpla.net
Thu Sep 4 21:13:01 BST 2003

Hi Rafael,

On Thursday 04 September 2003 20:02, Rafael Muñoz Cardenas wrote:

> Hi. I'm trying to install PyKDE-3.7-4, but I get this error:

> Qt 3.2.1 is being used.

> Generating the C++ source for the dcop module.
> sip: /usr/share/sip/qt//versions.sip:28: Exactly one of this
> %Timeline must be specified with the -t flag
> An internal error occured.  Please report all the output from the
> program, including the following traceback, to
> <jbublitz at nwinternet.com> and CC the PyKDE mailing list:
> <pykde at mats.imk.fraunhofer.de>. Thanks.

This is due to your fairly new Qt version. Does PyQt 3.7 work for
you? Try running some examples. For what I know, PyQt 3.8 is the first 
one supporting Qt 3.2. 

> Traceback (most recent call last):
>   File "build.py", line 1616, in ?
>     main(sys.argv)
>   File "build.py", line 1578, in main
>     generateSource(mname, plattag, qttag)
>   File "build.py", line 1125, in generateSource
>     runProgram (sipBin, argv)
>   File "build.py", line 1431, in main
>     nrcpu = int(os.environ["SMP"])
>   File "/usr/lib/python2.3/UserDict.py", line 19, in __getitem__
>     def __getitem__(self, key): return self.data[key]
> KeyError: 'SMP'

This one is strange, since the offending line is protected:

        nrcpu = int(os.environ["SMP"])
        nrcpu = 1


More information about the PyQt mailing list