LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to install adesklets (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-adesklets-534178/)

energiya 03-03-2007 08:45 AM

how to install adesklets
 
Hi,
I've just compiled imlib2 1.2.2 and imlib2_loaders and adesklets. No problems. But when I try to tun a desklet (yab or any other) I get this error:
Code:

Traceback (most recent call last):
  File "./yab.py", line 48, in <module>
    import adesklets
  File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 43, in <module>
   
adesklets.error_handler.ADESKLETSError: adesklets process exited -
Exception exceptions.AttributeError: AttributeError("'NoneType' object has no attribute 'kill'",) in <bound method _Communicator.__del__ of <adesklets.communicator._Communicator instance at 0xb79c382c>> ignored

Have I got to install something else? Or what is the problem? I'm confused...:confused:

PTrenholme 03-03-2007 09:36 AM

There was a similar problem of Fedora (with the "NoneType" error message) which was fixed by a patch to Python. Perhaps you might be able to look at the Python bug/update history in Fedora to see if you could implement a similar patch to your Zenwalk Python.

Alternatively, review the code you're using and eliminate any references to attributes of untyped variables.

energiya 03-03-2007 11:22 AM

I'm going to try compiling and installing the SVN version of Python. If this doesn't work:
- is there any dock bar, ignoring KDE based ones and Engage (can't make that run either) ?

edit: same error with Python compiled from SVN.

epoo 03-21-2007 05:20 PM

im actually getting the same error trying to run a desklet.

in response to your question about another bar tho - try wbar

joslar 03-21-2007 06:21 PM

It is a problem of adekslets with the last version of fontconfig, series 2.4, http://adesklets.sourceforge.net/for...opic.php?t=341

Howto install Adesklets in Spanish (patch including) :
http://manualinux.my-place.us/adesklets.html

epoo 03-21-2007 06:57 PM

i was about to post saying that the diagnosis doesnt apply:
Quote:

To make sure this applies to you, try to start an interactive session by invoking "adesklets :" from a shell. If and only if you get a segmentation fault similar to this:
Code:
sh$ adesklets :
adesklets 0.6.1 (Fri Sep 22 14:25:01 EDT 2006), on Linux 2.6.18
[i686-pc-linux-gnu-gcc 686-pc-linux-gnu-gcc (GCC) 4.1.0 (Gentoo 4.1.0)]
Press TAB for hints.
Segmentation fault
instead of the expected ">>>" prompt, there is a fair chance this applies.
but i figured id try it out first. i recompiled adesklets with --without-fontconfig and it actually works ! thanks !


All times are GMT -5. The time now is 09:21 PM.