Not only does it fail to start - but if you insist on adding invest-
applet to the panel, it turns out,  a process is spawned in the
background anyway; and at that, a process that you cannot kill - because
it respawns itself; this is what I get on Natty:

$ ps axf | grep -i inve 1846 ?        Sl     0:00 python 
/usr/lib/gnome-applets/invest-applet 
--oaf-activate-iid=OAFIID:Invest_Applet_Factory --oaf-ior-fd=26
 8115 pts/0    S+     0:00      \_ grep --color=tty -i inve

$ kill 1846 # and say Delete to "The panel encountered a problem while
loading "OAFIID:Invest_Applet"."

# still a new process is spawned
$ ps axf | grep -i inve
 8350 pts/0    R+     0:00      \_ grep --color=tty -i inve
 8190 ?        Sl     0:00 python /usr/lib/gnome-applets/invest-applet 
--oaf-activate-iid=OAFIID:Invest_Applet_Factory --oaf-ior-fd=26


.... and that sort of stuff persists after reboot. So, this is the procedure 
that I did to finally clean it up:


# look up invest applet via gconf panel/applets:
$ grep -ri invest $(find ~/.gconf/apps/panel/applets/ -type f)
~/.gconf/apps/panel/applets/applet_9/%gconf.xml:                
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_19/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_13/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_10/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_17/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_14/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_7/%gconf.xml:                
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_11/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_6/%gconf.xml:                
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_21/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_18/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_20/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_15/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_5/%gconf.xml:                
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_12/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_16/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>
~/.gconf/apps/panel/applets/applet_22/%gconf.xml:               
<stringvalue>OAFIID:Invest_Applet</stringvalue>

# collect dirs where invest applet has been stored:
$INVDIRS=$(for ix in $(grep --files-with-matches -ri invest $(find 
~/.gconf/apps/panel/applets/ -type f)) ; do iz=$(dirname $ix); echo $iz; done)

$ echo "$INVDIRS"
~/.gconf/apps/panel/applets/applet_9
~/.gconf/apps/panel/applets/applet_19
~/.gconf/apps/panel/applets/applet_13
~/.gconf/apps/panel/applets/applet_10
~/.gconf/apps/panel/applets/applet_17
~/.gconf/apps/panel/applets/applet_14
~/.gconf/apps/panel/applets/applet_7
~/.gconf/apps/panel/applets/applet_11
~/.gconf/apps/panel/applets/applet_6
~/.gconf/apps/panel/applets/applet_21
~/.gconf/apps/panel/applets/applet_18
~/.gconf/apps/panel/applets/applet_20
~/.gconf/apps/panel/applets/applet_15
~/.gconf/apps/panel/applets/applet_5
~/.gconf/apps/panel/applets/applet_12
~/.gconf/apps/panel/applets/applet_16
~/.gconf/apps/panel/applets/applet_22

# > 
http://www.ubuntugeek.com/tiphow-to-restore-accidently-deleted-top-panel-in-ubuntu-10-04-lucid.html
# > gconftool-2 --shutdown
# > rm -rf ~/.gconf/apps/panel

# since we cannot kill invest applet; go down to shell
# sudo telinit 1? Nope, just shows screen - doesn't drop to shell!
# Magic SysRq kills processes, but doesn't drop to runlevel 1
# sudo telinit 1 simply freezes
# MUST reboot - and choose recovery console!
# recovery console - choose netroot (shell with networking)
# recovery console logs in as root - go back to your user:

su - username

# so again:
$INVDIRS=$(for ix in $(grep --files-with-matches -ri invest $(find 
~/.gconf/apps/panel/applets/ -type f)) ; do iz=$(dirname $ix); echo $iz; done)

# check - here no quotes for $INVDIRS:
for ix in $INVDIRS; do echo rm -rf $ix; done

# execute
for ix in $INVDIRS; do rm -rf $ix; done

# check - should be deleted ok
ls ~/.gconf/apps/panel/applets/

# reboot
sudo shutdown -r now


# after reboot, check again:
$ ps axf | grep -i invest
 2409 pts/0    S+     0:00      \_ grep --color=tty -i invest

# 'tis clean!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/775387

Title:
  Invest-applet fails to start after upgrade to Natty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-applets/+bug/775387/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to