nm-applet fails with useless error window

Bug #6473 reported by Chris Lee
This bug report is a duplicate of:  Bug #37128: Icon cache not updated in post-install. Edit Remove
14
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Medium
MOTU

Bug Description

I decided to try network manager on Dapper. apt-get installs it fine, and /etc/syslog shows that NetworkManager is happy with my wireless card (orinoco_cs).

When I tried to run nm-applet, however, I get a pop-up window saying (roughly) that nm-applet cannot run because it cannot find the "necessary resources". I don't see anything in the system logs that helps me understand what it cannot find. I tried running with strace, but it keeps spewing output long after the message box is opened so I can't track what nm-applet was doing when the problem occurred. nm-applet also complains about a missing icon, and no icon shows-up in my notification area in gnome-panel.

If the error message in nm-applet would tell me what "resources" it couldn't find, I might be able to track down the problem, but the error message doesn't help me.

Revision history for this message
Chris Lee (chris-lee-gertner) wrote :

I was trying network-mananger 0.5.1-0ubuntu6

Revision history for this message
Chris Lee (chris-lee-gertner) wrote :

The error message is

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

Changed in network-manager:
status: Unconfirmed → Confirmed
Changed in network-manager:
assignee: nobody → motu
Revision history for this message
Yann Rouillard (yann-pleiades) wrote :

I just tried with the same version and didn't reproduce the bug.
Is the issue still present ?

Can you try:
 strace nm-applet
and give the output (as an attached file if too big)

Changed in network-manager:
status: Confirmed → Needs Info
Revision history for this message
Ilmari Vacklin (wolverian) wrote :

This still fails on dapper, i386. shell output is:

** (nm-applet:8854): WARNING **: Icon nm-stage01-connecting01 missing: Kuvaketta "nm-stage01-connecting01" ei ole teemassa

and:

(nm-applet:8854): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

repeats many times.

strace attached

Revision history for this message
Ilmari Vacklin (wolverian) wrote : Strace output

Strace output, had to ^C at the end

Revision history for this message
Yann Rouillard (yann-pleiades) wrote :

What theme are you using ?

Do you have the same result:
$ dpkg -L network-manager | grep nm-stage01-connecting01
/usr/share/icons/hicolor/22x22/apps/nm-stage01-connecting01.png

Does this file really exist ?

Revision history for this message
Ilmari Vacklin (wolverian) wrote :

wolverian@pupu:~$ dpkg -L network-manager|grep nm-stage01-connecting01
/usr/share/icons/hicolor/22x22/apps/nm-stage01-connecting01.png

wolverian@pupu:~$ dpkg -L network-manager|grep nm-stage01-connecting01|xargs ls -l
-rw-r--r-- 1 root root 1168 2006-01-26 13:43 /usr/share/icons/hicolor/22x22/apps/nm-stage01-connecting01.png

I'm using the latest Dapper Clearlooks. Same result (i.e. crash) with Human.

Revision history for this message
Chris Lee (chris-lee-gertner) wrote :

I also have the problem with both human and clearlooks themes.

Revision history for this message
Chris Lee (chris-lee-gertner) wrote : strace of nm-applet when it fails (ctl-c done to kill it at end)

Maybe network-manager needs to update the icon/theme cache on install or something (I'll give that a try..).

Revision history for this message
Chris Lee (chris-lee-gertner) wrote :

This fixed it:
 sudo gtk-update-icon-cache -f /usr/share/icons/hicolor/

Calling this without the -f didn't work, interestingly enough (maybe there is a timestamp problem?)

Revision history for this message
Ilmari Vacklin (wolverian) wrote :

The gtk-update-icon-cache fixed this issue for me. I didn't check timestamps beforehand, though. If there's info I can still provide, please ask, I'd be glad to help.

Revision history for this message
Chris Lee (chris-lee-gertner) wrote :

I haven't had a problem with this for a while. I suggest that the bug be closed!! Thanks.

Revision history for this message
Reinhard Tartler (siretart) wrote :

Closing per submitters request.

Changed in network-manager:
status: Needs Info → Fix Released
Revision history for this message
André Cruz (andrefcruz) wrote :

I just downloaded the daily cdimage of dapper (10-04-2006) and nm-applet still has this issue.

After I ran gtk-update-icon-cache the problem was solved but this should have been done when I installed network-manager-gnome.

Revision history for this message
Loe Spee (lgespee) wrote :

Still occurs in Dapper indeed, using gtk-update-icon-cache fixes the issue.

Revision history for this message
Chilly (adam.chilcott) wrote :

I'm still recieving this. I used a distribution from the bigpond file library named "ubuntu dapper drake 6.06 beta i386" I activated all repositories except for the backports, downloaded and installed all updates then installed NetworkManager. I tried gtk-update-icon-cache but it does not fix this issue.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

This error is back for me after a fresh install of the Dapper RC (as of May 29 2006)

Revision history for this message
Sridhar Dhanapalan (sridhar) wrote :

I have experienced the same problem on a fresh installation of Edgy on a Dell Inspiron 9400 laptop (ipw3945 chipset). Running 'sudo gtk-update-icon-cache -f /usr/share/icons/hicolor/' fixed it.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

It looks to me as though Bug #45609 and Bug #6473 are duplicates of Bug #37128.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.