Main index > Installation problems > Problems with adesklets_installer [SOLVED]

By arcane (User), on Wed Apr 5 00:09:11 2006, last edited on Wed Apr 5 21:17:46 2006: Problems with adesklets_installer [SOLVED].

Howdy yall i have been wanting adesklets for a while and now that i have it i cant get it to work.
Im using Gentoo and when i run the command adesklets_installer i get the following error

Code:

 Retrieving data online... OK
Checking locally installed desklets... OK
Downloading mounter desklet... OK 
Verifying download integrity... OK
Opening the downloaded archive...
!!! An error occured during the operation !!!
Traceback (most recent call last):
File "/user/bin/adesklets_installer", line 223, in run getattr(self, '_"+op)(**kw)
File "/usr/bin/adesklets_installer"' line 244, in _install self.desklets.install(desklet) #  refresh of desklets states
File "/usr/bin/adesklets_installer", line 150, in install tar = tarfile.open(mode='rlbz2', fileogj=f
File "/mnt/gentoo/usr/lib/python2.4/tarfile.py", line 907, in open _Stream(name, filemode, comptype, fileobj, bufsize))
File "/mnt/gentoo/usr/lib/python2.4/tarfile.py", line 310, in __init__ raise CompressionError, "bz2 module is not available"
CompressionError: bz2 module is not available


And i know i have bz2 but is there something i need to modify or edit? I really want adesklets so any elp would be good. Thx ahead

By syfou (Core Developer & Desklet Author), on Wed Apr 5 00:51:40 2006.

Hi arcane,

it seems your installment of Python does not include support for bz2 compression. This will fail (on your system) with an import error:

Code:


$ python -c 'import bz2'
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named bz2



while it shouldn't. Basically, you need to reinstall Python with bz2 support.

This said, using adesklets_installer is purely optional anyway: you might as well just download and unpack the desklets manually. See the documentation for all the details. Yours,

By arcane (User), on Wed Apr 5 21:19:26 2006.

OK you were correct. I just recompiled python and now it works. Thx just need to know how to change it from /mnt/cdrom to /mnt/sda1 This is great. Thx dude!!


And how do you reset the default editor? I messed it up and cant configure certain desklets. :?:

By syfou (Core Developer & Desklet Author), on Wed Apr 5 23:25:56 2006.

arcane wrote:


And how do you reset the default editor?

See the FAQ. Yours,


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.