Main index > Usage problems > Problem in Fedora Core 4 [SOLVED]

By darkliquid (Desklet Author), on Tue Jul 5 13:08:58 2005: Problem in Fedora Core 4 [SOLVED].

I've decided to give Fedora Core 4 a whirl. adesklets compiled fine but it wont run any desklets, any attempt to run on manually results in:

Code:

python: Modules/gcmodule.c:275: visit_decref: Assertion `gc->gc.gc_refs != 0' failed.
Aborted



Compiling Python from scratch and installing it over the top fixed this, but broke a lot of other things like XML handling. I was wondering whether anyone else has come across this issue or knows of a fix that doesn't result in breaking other things.

By syfou (Core Developer & Desklet Author), on Tue Jul 5 13:38:38 2005, last edited on Tue Jul 5 14:17:39 2005.


Code:


env - PATH=$HOME/python/bin:$PATH adesklets


This way, you can have adesklets using the private, gc-correct interpreter, and still use the system-wide patched one for the rest. Of course, many variant of this are also possible, like sticking a $HOME/bin in your PATH at login time, and put in it a wrapper adesklets script in place that mangle path in the way described above... But you get the idea. Yours,

By darkliquid (Desklet Author), on Tue Jul 5 14:10:44 2005.

Yeah, I had thought of this, but I was hoping for some nice, miraclous fix in the form of an RPM or something that fixed th eprobelm without breking things. I don't really like to have to have 2 seperate verison of python installed. Oh well, for adesklets its but a small sacrifice.

By syfou (Core Developer & Desklet Author), on Tue Jul 5 14:35:34 2005.

Well, maybe there is: keep this thread open as unsolved for a while, and maybe a regular Fedora Core user will provide you with an answer... Personally, I just run test/regrtest.py from the provided environment, and I just install my own stock python environment when too much regression tests fail...


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.