Page 1 of 1

[confirmed][fixed] gDesklets is broken

Posted: Sat Jul 04, 2009 3:56 pm
by lagagnon
The "gDesklets" package in the Mint repository is broken for Gloria. It requires Python 2.5 and Mint 7 has Python 2.6.2. It throws an error in this regard when launched from a terminal. I don't know who to message on this one so I though I'd post it on the forum...

Larry

Re: gDesklets is broken

Posted: Thu Jul 09, 2009 3:54 am
by clhodapp
On my Gloria x64 system, it claims to depend on 2.6 <= python < 2.7 and installs fine. Maybe it's been updated?

Re: gDesklets is broken

Posted: Fri Jul 10, 2009 11:11 am
by emorrp1
Ok, so the gdesklets package is broken, for the following reasons:
1) Although it correctly depends on python >=2.6 and < 2.7, the /usr/bin/gdesklets script uses a /usr/bin/python2.5 shebang, rather than /usr/bin/python
2) Once this line has been changed, the file /usr/lib/gdesklets/gdesklets-daemon cannot be found, hence failing to connect to the daemon

Re: gDesklets is broken

Posted: Fri Jul 10, 2009 1:16 pm
by clhodapp
Ok, then that's why it worked: I just happened to have python2.5 installed. If you do, it installs and runs fine. Maybe we should change the dependency and put it in our repo?

Re: [confirmed] gDesklets is broken

Posted: Sun Jul 19, 2009 2:11 pm
by emorrp1
ok, so this has been reported and fixed upstream: https://bugs.launchpad.net/ubuntu/+sour ... bug/350562
Unfortunately, it's only been fixed in karmic (gdesklets - 0.36.1-2ubuntu1) so for the moment at least, you have to stick to the workaround:

Code: Select all

apt install python2.5