FS#20010 - [alunn] 0.7.16-1 no notification on updated packages
Attached to Project:
Community Packages
Opened by Stefan Pieber (synonym24) - Monday, 28 June 2010, 22:40 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Wednesday, 27 October 2010, 17:54 GMT
Opened by Stefan Pieber (synonym24) - Monday, 28 June 2010, 22:40 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Wednesday, 27 October 2010, 17:54 GMT
|
Details
Description:
alunn doesn't show any notification on updated/upgraded packages any more. After starting alunn from command line I get the following output: Traceback (most recent call last): File "/usr/bin/alunn", line 130, in first_run_updates check_updates(icon) File "/usr/bin/alunn", line 37, in check_updates updates = update_checker.check() File "/usr/lib/python2.6/site-packages/alunn/updatechecker.py", line 73, in check repo_db = tarfile.open(db_file, 'r:gz') File "/usr/lib/python2.6/tarfile.py", line 1671, in open return func(name, filemode, fileobj, **kwargs) File "/usr/lib/python2.6/tarfile.py", line 1722, in gzopen raise ReadError("not a gzip file") tarfile.ReadError: not a gzip file Additional info: * package version(s) [synonym24@XPS-nb ~]$ yaourt -Qs alunn ==> Query installed packages community/alunn 0.7.16-1 System tray notification applet for Arch Linux updates and news [synonym24@XPS-nb ~]$ yaourt -Qs dbus-python ==> Query installed packages extra/dbus-python 0.83.1-1 Python bindings for DBUS [synonym24@XPS-nb ~]$ yaourt -Qs gnome-python ==> Query installed packages extra/gnome-python 2.28.1-1 gnome-python is a set of interfaces to gnome-libs. extra/gnome-python-desktop 2.30.2-2 Gnome Python interfaces for libraries not part of the core platform [synonym24@XPS-nb ~]$ yaourt -Qs notification-daemon ==> Query installed packages extra/notification-daemon 0.4.0-4 (gnome) Notification daemon for the desktop notifications framework * config and/or log files etc. x86_64 system see attachment Steps to reproduce: - use a 64-bit system with Gnome desktop - install alunn - start alunn from command line |
This task depends upon
Closed by Jaroslav Lichtblau (Dragonlord)
Wednesday, 27 October 2010, 17:54 GMT
Reason for closing: Fixed
Additional comments about closing: In new upstream release alunn-0.7.18-1
Wednesday, 27 October 2010, 17:54 GMT
Reason for closing: Fixed
Additional comments about closing: In new upstream release alunn-0.7.18-1
Alunn handles only replacing of $repo with repository name, but doesn't replace $arch with architecutre (either 'i686' or 'x86_64'). Modifying /usr/lib/python2.6/site-packages/alunn/updatechecker.py and changing lines with:
.replace('$repo', repositories[i])
to:
.replace('$repo', repositories[i]).replace('$arch', 'i686')
fixed this problem for me (replace 'i686' with 'x86_64' for 64-bit systems).
Unfortunately I don't know where is a good place to get architecture from, so I can't provide a working patch file :/.
Since apparently no one wants to fix it properly I finally got around to it. I attached a patch file with handling of $arch variable (reading the setting from pacman.conf, filling value for auto with uname, error reporting etc.). To use it you have to go to wherever updatechecker.py is located (usually /usr/lib/python2.6/site-packages/alunn) and run (with sufficient privileges): patch -p0 < arch.patch
[ben@ben-laptop alunn]$ sudo patch -p0 < arch.patch
patching file updatechecker.py
Hunk #2 FAILED at 47.
1 out of 3 hunks FAILED -- saving rejects to file updatechecker.py.rej
I would, except I couldn't find any e-mail address for him on the page linked in the package.