Main index > Usage problems > Can't start adesklets (oh how original) [SOLVED]

By DryCellBattery (User), on Tue May 24 22:49:53 2005: Can't start adesklets (oh how original) [SOLVED].

Hi, I recently and (supposidly) successfully installed adesklets on a Fedora Core 3 system. However, I cannot seem to get any of my desklets (i.e. the calendar) to startup. All of the errors seem to go a little like this:

Quote:

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


That error in particular is what calendar spits out, but that error is pretty much the same with all of the desklets I have installed.
I've installed it on /usr/local and python is on /usr I believe.

Quote:

echo 'import sys; print sys.path' | python
['', '/usr/lib/python23.zip', '/usr/lib/python2.3', '/usr/lib/python2.3/plat-lin ux2', '/usr/lib/python2.3/lib-tk', '/usr/lib/python2.3/lib-dynload', '/usr/lib/p ython2.3/site-packages', '/usr/lib/python2.3/site-packages/gtk-2.0']


Quote:

sed -n '/PYTHON_SITE_PKG/p' Makefile
PYTHON_SITE_PKG = /usr/lib/python2.3/site-packages


um... so what have I done wrong? and how can I get a working adesklet install and not resort to *gasp* gdesklets. Your patience and help will be much appreciated. (just letting dummies like me post here is much appreciated :D )

By syfou (Core Developer & Desklet Author), on Tue May 24 23:30:58 2005.

I got lots of reports of garbage collection related errors on Fedora Core 3 these last few weeks: I suspect there is something wrong with the Python interpreter that gets shipped by default, but I just could not reproduce any gc error myself on sourceforge compile farm (there is an amd64 machine running FC3 there) on either self-compiled Python 2.3.5 or python 2.4.1...

But is this really your problem? You seems (but maybe is this a concidence) following the advice I gave in the FAQ for another issue, namely the error importing the adesklets module (while you report only a gc error). There is no link whatsoever between the place on your disk of the adesklets interpreter and the location of the Python package. If the information you provided to me was correct, what adesklets installed on your system should be exactly this, and this should be perfectly fine.

To help me pinpoint the problem, could you try running the simple src/test.py script from the adesklets source package, then report here the full exception trace (not only the last lines)?

Code:


python test.py


Thanks,

By DryCellBattery (User), on Mon May 30 14:54:05 2005.

okay, I've executed the script and I get an opened window titled "adesklets". There is nothing visual within the window other than the blue background and "quit" when I right-click my mouse over the window.

In the terminal I normally see "Alarm. Next in 10 seconds." over and over unless I move my mouse over the window which spits out stuff like:

"Motion notify: 10 58 False
Motion notify: 2 47 False
Motion notify: 3 47 False
Motion notify: 4 47 True
Motion notify: 8 51 False
Motion notify: 12 59 True
Motion notify: 18 69 False
Motion notify: 26 83 True"

quitting gave me: "Quitting...
python: Modules/gcmodule.c:231: visit_decref: Assertion `gc->gc.gc_refs != 0' failed.
Aborted"

By MustangCSA (User), on Wed Jun 22 19:49:24 2005.

Hi I was wondering if you ever found the solution to this problem. I am getting the exact same errors whenever I try to open up any desklet.

Code:

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


All the files listed on http://adesklets.sourceforge.net/verbatim/list.txt are right on my system. I tried the test.py and got exactly the same results. I have searched other forums and websites and I haven't been able to find a solution to this. I really want to get this running, but I have been at this dead end for awhile now. If this problem has already been solved please let me know how to fix it or point me in the right direction to find the solution. I am running Slackware 9.1 with a 2.6.11.11 kernel.

By syfou (Core Developer & Desklet Author), on Wed Jun 22 20:39:40 2005.

I run slackware 10.1 on a test machine as we speak, and adesklets 0.4.10 runs fine. I suggest you try installing a stock python 2.4.1 environment from source somewhere on your system. So far, it always solved any garbage collection failing assertion for me.

By MustangCSA (User), on Sat Jun 25 10:40:36 2005.

Hi, sorry I didn't reply back sooner but I have been away from the computer for the past couple days. But I just wanted to say that installing Python 2.4.1 from source worked perfectly. Everything works just fine now. Thanks.


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.