Main index > Usage problems > Can't restart desklets [CLOSED]

By GorDY- (User), on Sat May 21 16:11:33 2005: Can't restart desklets [CLOSED].

Hi all, I've just install adesklets-0.4.8 and now I try to configure yab desklets. When I run yab.py for the first time the desklets start well. After this, I configure the config.txt and then I try to restart it and i've got this message.

python: Modules/gcmodule.c:231: visit_decref: Assertion `gc->gc.gc_refs != 0' failed.
Abort (core dumped)


Info:
Fedora Core 3
X Window System Version 6.8.1
gcc version 3.4.2 20041017
Python 2.3.4
imlib2-1.1.2-3.rhfc3.at.i386.rpm
imlib2-devel-1.1.2-3.rhfc3.at.i386.rpm


Any ideas??

Thx you all!

By syfou (Core Developer & Desklet Author), on Sat May 21 16:16:46 2005.

By modifying the configuration file?! Does it reverse back to normal behavior if you move away your custom configuration?

Code:


mv config.txt{,.bak}



Would you share this file with us?

By GorDY- (User), on Sat May 21 16:35:22 2005.

I moved my config file to .bak and then I restart yab.py. That work fine but when I try to restart yab (without modify anything) it doesn't work anymore.


diff config.txt config.txt.bak
85c85
< id6 = {'bar_background_1': 'AAAAAA',
---
> id0 = {'bar_background_1': 'AAAAAA',

Furthemore , I have notice that yab show me (in terminal) the same message when I close it.

By GorDY- (User), on Sat May 21 16:42:54 2005.

Well I made my homework and I find another weird exit msg :

Traceback (most recent call last):
File "./yab.py", line 598, in ?
Events(dirname(__file__)).pause()
File "./yab.py", line 413, in pause
(time()-time_initial)),.01))
File "usr/lib/python2.3/site-packages/adesklets/events_handler.py", line 214, in _fire_event
File "./yab.py", line 385, in leave_notify
self._display_caption()
File "./yab.py", line 463, in _display_caption
adesklets.context_set_color(0,0,0,0)
File "/usr/lib/python2.3/commands.py", line 424, in context_set_color

File "usr/lib/python2.3/site-packages/adesklets/commands_handler.py", line 93, in out
File "usr/lib/python2.3/site-packages/adesklets/communicator.py", line 91, in out
adesklets.error_handler.ADESKLETSError: adesklets process exited -
python: Modules/gcmodule.c:231: visit_decref: Assertion `gc->gc.gc_refs != 0' failed.
Abort (core dumped)

I hope it will help !!

By syfou (Core Developer & Desklet Author), on Sat May 21 17:01:04 2005.

Well, I do not think by seeing all this that it is specifically configuration related; erratic garbage collection errors is something adesklets Python module, by being Pure-Python, is very unlikely to provoke unless the Python interpreter is somewhat broken...

I remembered seing a similar case on slackware a couple of months back: we never pinpointed it, but it went away by itself by resinstalling Python from source...

Also, I suspect you do not start and stop the desklets correctly... Would you look at the documentation (Using adesklets chapter), as well as the FAQ if you did not already?


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.