Bug 398351

Summary: Network Manager applet for Gnome cannot find icon nm-device-wwan
Product: [openSUSE] openSUSE 11.0 Reporter: Pavol Rusnak <prusnak>
Component: GNOMEAssignee: Stanislav Brabec <sbrabec>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Pavol Rusnak 2008-06-08 11:18:01 UTC
When I run nm-applet it prints to console:

** (nm-applet:30305): WARNING **: Icon nm-device-wwan missing: Icon 'nm-device-wwan' not present in theme

and shows the error message:

"The Network Manager applet could not find some required resources. It cannot continue."

but it puts icon in tray. However this icon lacks any functionality.

When I run nm-connection-editor directly it prints

** (nm-connection-editor:30399): WARNING **: Icon nm-device-wwan missing: Icon 'nm-device-wwan' not present in theme

** (nm-connection-editor:30399): WARNING **: Failed to initialize the UI, exiting...

to console end exits.
Comment 1 Pavol Rusnak 2008-06-08 11:20:16 UTC
$ rpm -q NetworkManager NetworkManager-gnome
NetworkManager-0.7.0.r3685-5
NetworkManager-gnome-0.7.0.r729-6

(I do not have GNOME installed.)
Comment 2 Tambet Ingo 2008-06-09 09:15:16 UTC
NetworkManager-gnome contains that icon:

tambet@linux:~/Desktop> rpm -ql NetworkManager-gnome | grep nm-device-wwan
/usr/share/icons/hicolor/22x22/apps/nm-device-wwan.png
tambet@linux:~/Desktop> ls -l /usr/share/icons/hicolor/22x22/apps/nm-device-wwan.png
-rw-r--r-- 1 root root 817 2008-05-23 15:45 /usr/share/icons/hicolor/22x22/apps/nm-device-wwan.png

Can you confirm you have that file?
Comment 3 Pavol Rusnak 2008-06-09 09:45:33 UTC
Yes, it apparently does contain the icon and I have this file present in system.

$ rpm -ql NetworkManager-gnome | grep nm-device-wwan
/usr/share/icons/hicolor/22x22/apps/nm-device-wwan.png

$ ls -l /usr/share/icons/hicolor/22x22/apps/nm-device-wwan.png
-rw-r--r-- 1 root root 817 2008-06-03 22:29 /usr/share/icons/hicolor/22x22/apps/nm-device-wwan.png
Comment 4 Tambet Ingo 2008-06-09 11:42:21 UTC
To make new icons available for gtk, the icon cache needs to be updated. NetworkManager-gnome package issues the following command after installation:

gtk-update-icon-cache -q /usr/share/icons/hicolor

If you try to run this command as root from the terminal, does it issue any errors or warnings? If it succeeds, does it fix nm-applet?
Comment 5 Pavol Rusnak 2008-06-09 12:44:10 UTC
Works now! Seems that last change broke it:

$ rpm -q --changelog NetworkManager-gnome
* Wed May 28 2008 sbrabec@suse.cz
- Do not call gtk-update-icon-cache (bnc#395056).
...

I installed the package via zypper and SUSEconfig (and thus gtk-update-icon-cache) was not called.
Comment 6 Tambet Ingo 2008-06-09 13:21:41 UTC
Not sure whom to assign it, assigning to the person who did that change.
Comment 7 Stanislav Brabec 2008-06-09 14:24:02 UTC
Did you run SuSEconfig after update?
Comment 8 Pavol Rusnak 2008-06-09 14:28:10 UTC
Am I supposed to run SuSEconfig manually after installing packages?
Comment 9 Stanislav Brabec 2008-06-09 15:33:40 UTC
If you are using rpm, then yes.

If you are using zypper, then it is a duplicate of bug 365649.
Comment 10 Pavol Rusnak 2008-06-09 15:36:20 UTC
It was using zypper, closing as duplicate then. Thanks

*** This bug has been marked as a duplicate of bug 365649 ***