[PyKDE] PyKDE - missing classes (kfile) fixed

Jim Bublitz jbublitz at nwinternet.com
Tue Aug 12 01:34:01 BST 2003


One of the nice things about open source is you get to embarass 
yourself in front of lots of people.

The error in the kfile module described elsewhere was *MY* error 
- I left in some processing that was needed with sip 3.5 but was 
fixed in later versions. To repair the problem, all you need to 
do is go into build.py and do the following:

change:
   elif mname == "kfile":
       runProgram (sys.executable + " postproc", ["-p ", mname, 
                "-o", "notify", "kfile.py"])


to:

(the line break doesn't exist in the file)
#    elif mname == "kfile":
#        runProgram (sys.executable + " postproc", ["-p ", mname,
                "-o", "notify", "kfile.py"])

You can just search on 'kfile.py' - the lines are around lkine 
1070. 

This fixes both the "missing classes" and "missing methods" 
problems.

Contrary to the earlier announcement, there will be PyKDE-3.7-4 - 
it should be up on http://riverbankcomputing.co.uk, probably 
sometime tomorrow. It will also fix the minor problems with 
KDE3.1.3 builds, and should also build against Qt 3.2.0.

This fix will work with sip 3.6 and 3.7 and does NOT require sip 
or PyQt snapshots or rebuilding sip or PyQt.

Jim




More information about the PyQt mailing list