[review] [PyKDE] Internal Error
Jim Bublitz
jbublitz at nwinternet.com
Thu Feb 5 19:34:00 GMT 2004
On Wednesday February 4 2004 12:11, Ice wrote:
> bash-2.05b# python build.py
> Building PyKDE 3.8 for Python 2.3.3 on linux2.
> /usr/lib/python2.3/site-packages is the PyKDE installation
> directory. /usr/lib/python2.3/config contains libpython
> /usr/include/python2.3 contains Python.h.
> /usr/bin/sip will be used as the SIP code generator.
> /usr/include/python2.3 contains sipQt.h.
> 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.
> Traceback (most recent call last):
> File "build.py", line 1830, in ?
> main(sys.argv)
> File "build.py", line 1737, in main
> installChecks()
> File "build.py", line 953, in installChecks
> findPyQtModules ()
> File "build.py", line 881, in findPyQtModules
> error ("Unable to locate %" % pyqtModDir)
> ValueError: incomplete format
The immediate error is that the msg should be "... locate %s",
but what's causing the error msg in the first place is that
build.py can't locate libqtcmodule.so in any of the paths where
it would normally look.
Make sure you have sip and PyQt installed. If you do,
libqtcmodule has to be somewhere in sys.path (usually
python/site-packages). If it isn't, you can specify it's
location using the -d switch.
Jim
More information about the PyQt
mailing list