FS#11045 - [perlpanel 0.9.1-3] cannot load icon

Attached to Project: Community Packages
Opened by Espen Volden (voldern) - Tuesday, 29 July 2008, 09:15 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 29 July 2008, 14:34 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The package 'community/perlpanel 0.9.1-3' fails to run with this error message "Failed to open file: No such file or catalog at /usr/lib/perlpanel/PerlPanel.pm line 288.

The line 288 in PerlPanel.pm is as follows
$self->{icon} = Gtk2::Gdk::Pixbuf->new_from_file(PerlPanel::lookup_icon('perlpanel'));

Tough i have no experience with perl it looks like it looks for the file in these paths:
$self->{icon_theme}->prepend_search_path(sprintf('%s/share/icons', $PREFIX));
$self->{icon_theme}->prepend_search_path(sprintf('%s/.%s/icon-files', $ENV{HOME}, lc($NAME)));
$self->{icon_theme}->prepend_search_path(sprintf('%s/.local/share/icons', $ENV{HOME}));

I also got these warnings while installing the package, I don't know if they are related to this bug:
warning: directory permissions differ on usr/share/icons/
filesystem: 755 package: 775
warning: directory permissions differ on usr/share/icons/hicolor/
filesystem: 755 package: 775
warning: directory permissions differ on usr/share/icons/hicolor/48x48/
filesystem: 755 package: 775
warning: directory permissions differ on usr/share/icons/hicolor/48x48/apps/
filesystem: 755 package: 775

It also looks like this user might be experiencing the same problem:
http://bbs.archlinux.org/viewtopic.php?id=30690

Steps to reproduce:
pacman -S perlpanel
/usr/bin/perlpanel
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 29 July 2008, 14:34 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Tuesday, 29 July 2008, 14:34 GMT
fixed in 20080729-1 for i686

Loading...