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 Desktop
Packages, which is subscribed to gnome-applets in Ubuntu.
https://bugs.launchpad.net/bugs/775387

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

Status in “gnome-applets” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: gnome-applets

  Bug occurred immediately after upgrade from Maverick to Natty.
  (I am now using the Ubuntu Classic desktop, to retain Gnome stuff)

  gnome-applets version: 2.32.1.1-0ubuntu5

  I expected the Invest applet to be visible in my Gnome toolbar after the 
upgrade; however although other applets are present (system monitor, weather, 
etc) I cannot see the Invest icon.
  Attempting to add it back does not give any errors messages, however it does 
not appear.

  Attempting to run the applet from the command line produces the
  following output:

  tobyc@adonai:~$ /usr/lib/gnome-applets/invest-applet -d
  2011-05-02 17:18:52.192521: Debugging enabled
  2011-05-02 17:18:52.192570: Data Dir: /usr/share/gnome-applets/invest-applet
  2011-05-02 17:18:52.192585: Detected PROXY: None

  A "ps" command shows that the applet is now running - however it still does 
not appear anywhere in my visible toolbars.
  Killing and restarting the applet also does not help. Ditto for rebooting.

  Any way I can help debug this?

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to