Tuesday, October 26, 2010

Arch issues with Python update Adeskbar

With the new python updates in Arch there are some problems with adeskbar:
[quote][paul@archbang ~]$ adeskbar
Traceback (most recent call last):
File "/usr/bin/adeskbar", line 30, in
import adesk.bar
File "/usr/share/adeskbar/adesk/bar.py", line 292
print '------------------------------------'
^
[/quote]

On [url]http://aur.archlinux.org/packages.php?ID=26910[/url] the Aur page for adeskbar a solution is presented that doesn't work for me. After copying from pastebin the adapted PKGBUILD I get this error:" ERROR: PKGBUILD contains CRLF characters and cannot be sourced."

Solved this by not using geany but leafpad and cut and paste text there.

Procedure:
First uninstall old package.
Put the PKGBUILD and the package.install file in one folder.
Open terminal in that folder and do:
makepkg -sci PKGBUILD
This will build and install the new package.

I also had a problem with oblogout; solved that by
changing first line in usr/bin/oblogout from #!/usr/bin/python to #!/usr/bin/python2 .

No comments:

Blog Archive