[PyKDE] PyKDE 3.8.0 -d option

Russell Valentine russ at coldstonelabs.org
Sun Nov 23 02:29:01 GMT 2003


On Sat, 22 Nov 2003 00:28:30 -0800
Jim Bublitz <jbublitz at nwinternet.com> wrote:

> About all I can afford to test is the rpm based distros - I'm not 
> familiar with things like Gentoo, Debian or Debian-based 
> distros, FreeBSD, etc. and don't have the machines, time, or 
> knowledge to maintain copies of all of those. You can email me 
> privately or on the list and I'll be happy to provide whatever 
> assistance I can.

I managed to make a package and get it to work. I didn't use the package
to install wabbit though, since it required installing files in the users
home directory. I guess I could change it a bit to look in a share
directory or something. I looked at wabbit a little, it looks pretty nice.
I'll need to check more into it.

I also had to define LD_PRELOAD=/usr/kde/3.1/lib/libkdeui.so.4.1.0 as
Pedro Rodriguez mentioned in his post:

>> When running PyKDE example 'uisample.py', there is an issue
>> (probably with the kde libraries). The error message is :
>> ImportError:
>> /mnt/wrk/python/lib/python2.2/site-packages/libkdecorecmodule.
>>so: undefined symbol: manage__19KAcceleratorManagerP7QWidget To
>> resolve the missing symbol, I need to run :
>>     LD_PRELOAD=/usr/lib/libkdeui.so.4.1.0 python uisampler.py
>
>The class occurs in both kdecore and kdeui in the "official" KDE 
>sources, but apparently isn't included in both libs in some 
>(most? all?) distribution builds of KDE. In PyKDE it only occurs 
>in the kdecore module - I'll probably switch that to the kdeui 
>module.


It took me a long time to testout the package, I finally got it to work!
Basicly I install pythonize and pykpanelapplet through the package rather
than depending on the Makefile, not a big deal. Unless I figure out how to
patch for the LD_PRELOAD thing I'll probably hold off trying to submit the
package to Gentoo.

Since upgrading to kde3.1.4 I always run into this with any PyKDE app
using QThread(I think QThread is part of the cause) when I exit the
application. 

Fatal Python error: PyEval_RestoreThread: NULL tstate

I'll try to narrow down the cause unless someone here knows of it. When I
had kde3.1.3 I didn't get this. I was thinking it was just because
PyKDE3.7-4 didn't support kde3.1.4, but with PyKDE3.8 it is still doing
it.


Russell Valentine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20031123/db82eb1c/attachment.bin


More information about the PyQt mailing list