Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9275 - AWN preferences bug

Attached to Project: Community Packages
Opened by Bogdan Tanasoiu (nightraven) - Sunday, 20 January 2008, 12:12 GMT
Last edited by Timm (gummibaerchen) - Monday, 21 January 2008, 19:02 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Timm (gummibaerchen)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The freshly [community]-added version of avant window navigator does not function properly, as it does not respond to my "right click - > preferences" option.
this is the output I get, when running it from command line:

/usr/share/themes/Rezlooks-Gilouche/gtk-2.0/gtkrc:186: error: invalid string constant "panel", expected valid string constant
Traceback (most recent call last):
File "/usr/bin/awn-manager", line 200, in <module>
awnmanager = AwnManager()
File "/usr/bin/awn-manager", line 95, in __init__
self.appletManager = awnApplet(self.wTree)
File "/usr/share/avant-window-navigator/awn-manager/awnApplet.py", line 76, in __init__
self.make_model()
File "/usr/share/avant-window-navigator/awn-manager/awnApplet.py", line 352, in make_model
self.refresh_tree (applets)
File "/usr/share/avant-window-navigator/awn-manager/awnApplet.py", line 416, in refresh_tree
icon, text = self.make_row(path)
File "/usr/share/avant-window-navigator/awn-manager/awnApplet.py", line 361, in make_row
return self.make_icon (item.get_string(gnomedesktop.KEY_ICON)), text
File "/usr/share/avant-window-navigator/awn-manager/awnApplet.py", line 381, in make_icon
icon = gtk.gdk.pixbuf_new_from_file_at_size (name, 32, 32)
gobject.GError: Unrecognized image file format


Additional info:

I also frequently get this warning:
(avant-window-navigator:8279): Wnck-WARNING **: Unhandled action type (nil)


Steps to reproduce:

I've just installed the dependencies and then installed the app itself.
This task depends upon

Closed by  Timm (gummibaerchen)
Monday, 21 January 2008, 19:02 GMT
Reason for closing:  Fixed
Comment by Timm (gummibaerchen) - Sunday, 20 January 2008, 12:27 GMT
Hmm, don't know, but does it also happen if you use another GTK Theme/Engine?

Because the first error is triggered by Gilouche, which I also use myself without any problems.

I will see if I can find anything upstream about that.
Comment by Bogdan Tanasoiu (nightraven) - Sunday, 20 January 2008, 12:43 GMT
I've tried running it with Raleigh, for instance.
Changing it removes the first line of the output, thus I guess there is no more theme/engine error.
But it doesn't solve the bug. The preferences panel still doesn't appear and produces the same output as the previous (without the first line)
Comment by Timm (gummibaerchen) - Sunday, 20 January 2008, 13:19 GMT
I just searched for that.

Did you have AWN installed before? If yes, did you compile and install it directly (with package)?

Do you have another awn version installed? (or awn-extras?)
Comment by Bogdan Tanasoiu (nightraven) - Sunday, 20 January 2008, 13:32 GMT
Yes, I had AWN installed from the pkgbuild over here:

http://aur.archlinux.org/packages.php?do_Details=1&ID=8310&O=0&L=0&C=0&K=avant&SB=n&SO=a&PP=25&do_MyPackages=0&do_Orphans=0&SeB=nd

and it worked fine, no problems with it. This was about 2 weeks ago.

After I've made a fresh install of Arch, I've installed it once more, only this time from the [community] repo to which it had been moved.
As of yet I don't have any other version of awn installed, nor awn-extras.
Comment by Timm (gummibaerchen) - Sunday, 20 January 2008, 13:37 GMT
Hmm, so basically that is the same.

Have you tried to compile it youself (the one that's in community now)?

So that should work for you then, right?

So please try that.
Comment by Bogdan Tanasoiu (nightraven) - Sunday, 20 January 2008, 13:53 GMT
Did that right now, and the result is the same as the previous, so I suppose that I have something missing. On my previous arch installation, I used AWN along with Gnome (the whole meta-packet "gnome", not just the dependencies specified on the list in AUR). Now I use it along openbox and the separate dependencies needed to run AWN. Maybe there are more dependencies that aren't satisfied. Shoud I do anyting else before installing the whole gnome content to see if it works?
Comment by Timm (gummibaerchen) - Sunday, 20 January 2008, 14:45 GMT
No, leave that to me.

I will recheck the whole dependency list, maybe I removed one too much.

Will post an update later today.
Comment by Timm (gummibaerchen) - Sunday, 20 January 2008, 22:39 GMT
could you please try this:

pkgname=avant-window-navigator
pkgver=0.2.1
pkgrel=14
pkgdesc="Fully customisable dock-like window navigator for GNOME"
arch=('i686' 'x86_64')
url="https://launchpad.net/awn"
license=('GPL')
depends=('libwnck' 'libgnome' 'gnome-vfs' 'gconf' 'xproto' 'dbus-glib' 'libglade' 'libxdamage' 'libxcomposite' 'libxrender' 'gnome-python-desktop' 'gnome-python-extras')
makedepends=('intltool' 'gnome-doc-utils')
install=avant-window-navigator.install
source=(https://edge.launchpad.net/awn/0.2/$pkgver/+download/$pkgname-$pkgver.tar)
md5sums=('59733ce392d58236338736f6726cac9d')
Comment by Bogdan Tanasoiu (nightraven) - Monday, 21 January 2008, 12:54 GMT
==> Making package: avant-window-navigator 0.2.1-14 (Mon Jan 21 14:45:49 PST 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found avant-window-navigator-0.2.1.tar in build dir
==> Validating source files with md5sums...
avant-window-navigator-0.2.1.tar ... Passed
==> Extracting Sources...
-> bsdtar -x -f avant-window-navigator-0.2.1.tar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
/usr/bin/makepkg: line 694: build: command not found
==> ERROR: Build Failed.
Aborting...

"build" binary is missing, but I don't know which packet contains it.
Comment by Bogdan Tanasoiu (nightraven) - Monday, 21 January 2008, 13:21 GMT
http://bbs.archlinux.org/viewtopic.php?pid=17269
A...I get it. So the problem's in the PKGBUILD itself, not a dependency.
Well then, the PKGBUILD doesn't work.
Comment by Ronald van Haren (pressh) - Monday, 21 January 2008, 14:15 GMT
@Bogdan: you did copy the build() function after that list Timm gave you ?
Comment by Bogdan Tanasoiu (nightraven) - Monday, 21 January 2008, 14:25 GMT
@Ronald: Oops. Well, I did that now and the package builds. I run awn, but invoking "preferences" from the right-click menu still produces the same output and doesn't work.
Comment by Timm (gummibaerchen) - Monday, 21 January 2008, 14:50 GMT
Hmm, so if you used the PKGBUILD I posted here you should have all dependencies (probably more than needed).

So, I think we have to search upstream for the problem to find out what part of your configuration caused this.
Comment by Timm (gummibaerchen) - Monday, 21 January 2008, 14:53 GMT
btw: does running awn-manager from command-line work?
Comment by Bogdan Tanasoiu (nightraven) - Monday, 21 January 2008, 18:42 GMT
Nope, it produces the same output.
Comment by Bogdan Tanasoiu (nightraven) - Monday, 21 January 2008, 18:58 GMT
Ha! Gotcha! "pacman -S librsvg" did the trick. I was trying to change the icon of an application that was docked in awn, and attributed a svg to it. I saw there was no result so I figured out that perhaps the svg libraries were missing. After installing it. the "preferences" seems to work as well.
Comment by Timm (gummibaerchen) - Monday, 21 January 2008, 19:01 GMT
@Bogdan: Great news. Thanks for trying that.

So, I think I have to update AWN-package as it seems that librsvg isn't included by any other dependency.

Loading...