Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: problem updating thunderbird with checkforupdategui

  1. #1
    Join Date
    Nov 2006
    Beans
    Hidden!

    problem updating thunderbird with checkforupdategui

    ### checkforupdategui for thunderbird fails on Ubuntu ver 7.10 with all security updates to 17/11/07
    ### both firefox and thunderbird installed via ubuntuzilla into /opt and working ok

    SysA:~$ ubuntuzilla.py --version
    Ubuntuzilla version 4.4.3
    Project homepage: http://ubuntuzilla.sourceforge.net/

    ### firefox update is ok, but then it is at latest ver
    SysA:~$ ubuntuzilla.py -a checkforupdategui -p firefox
    Retrieving the version of the latest release of Firefox from the Mozilla website...
    Latest release version of Firefox : 2.0.0.9
    Currently installed version of Firefox : 2.0.0.9

    ### thunderbird update fails
    SysA:~$ ubuntuzilla.py -a checkforupdategui -p thunderbird
    Retrieving the version of the latest release of Thunderbird from the Mozilla website...
    Latest release version of Thunderbird : 2.0.0.9
    Currently installed version of Thunderbird : 2.0.0.6
    Traceback (most recent call last):
    File "/usr/local/bin/ubuntuzilla.py", line 1045, in <module>
    bs.start()
    File "/usr/local/bin/ubuntuzilla.py", line 207, in start
    ti.start()
    File "/usr/local/bin/ubuntuzilla.py", line 241, in start
    self.checkforupdateGui()
    File "/usr/local/bin/ubuntuzilla.py", line 540, in checkforupdateGui
    self.updateActionsGui()
    File "/usr/local/bin/ubuntuzilla.py", line 555, in updateActionsGui
    dbusSessionAddress = self.util.getSystemOutput("grep -z DBUS_SESSION_BUS_ADDRESS /proc/"+pid+"/environ | sed -e 's/DBUS_SESSION_BUS_ADDRESS=//'")
    File "/usr/local/bin/ubuntuzilla.py", line 124, in getSystemOutput
    return result[0]
    IndexError: list index out of range

    ### with debug option
    SysA:~$ ubuntuzilla.py -d -a checkforupdategui -p thunderbird
    Your commandline options:
    {'package': 'thunderbird', 'debug': True, 'localization': 'en-US', 'skipgpg': False, 'test': False, 'skipbackup': False, 'mirror': 'releases.mozilla.org', 'action': 'checkforupdategui', 'unattended': False, 'keyservers': ['subkeys.pgp.net', 'pgpkeys.mit.edu', 'pgp.mit.edu', 'wwwkeys.pgp.net', 'keymaster.veridis.com'], 'targetdir': '/opt'}
    Debug mode ON.
    Retrieving the version of the latest release of Thunderbird from the Mozilla website...
    Latest release version of Thunderbird : 2.0.0.9
    Currently installed version of Thunderbird : 2.0.0.6
    Traceback (most recent call last):
    File "/usr/local/bin/ubuntuzilla.py", line 1045, in <module>
    bs.start()
    File "/usr/local/bin/ubuntuzilla.py", line 207, in start
    ti.start()
    File "/usr/local/bin/ubuntuzilla.py", line 241, in start
    self.checkforupdateGui()
    File "/usr/local/bin/ubuntuzilla.py", line 540, in checkforupdateGui
    self.updateActionsGui()
    File "/usr/local/bin/ubuntuzilla.py", line 555, in updateActionsGui
    dbusSessionAddress = self.util.getSystemOutput("grep -z DBUS_SESSION_BUS_ADDRESS /proc/"+pid+"/environ | sed -e 's/DBUS_SESSION_BUS_ADDRESS=//'")
    File "/usr/local/bin/ubuntuzilla.py", line 124, in getSystemOutput
    return result[0]
    IndexError: list index out of range

  2. #2
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,072
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: problem updating thunderbird with checkforupdategui

    hi,
    well, there does seem to be a problem with checkforupdate there on your system, i'll look into this..
    but note that checkforupdate does not /update/, it only /checks/ for the existence of an update
    so... now that you know there's an update you can follow the upgrade procedures (see the ubuntuzilla wiki for instructions).

    in brief: run thunderbird with gksudo, use the built-in thunderbird updater.

  3. #3
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: problem updating thunderbird with checkforupdategui

    Quote Originally Posted by nanotube View Post
    hi,
    well, there does seem to be a problem with checkforupdate there on your system, i'll look into this..
    but note that checkforupdate does not /update/, it only /checks/ for the existence of an update
    so... now that you know there's an update you can follow the upgrade procedures (see the ubuntuzilla wiki for instructions).

    in brief: run thunderbird with gksudo, use the built-in thunderbird updater.
    Thanks for your reply.
    A bad choice of words on my part when I said I had problems with updating.
    I only installed Ubuntuzilla a couple of months ago and this is the first update I have seen. I knew that an update had been released and I became suspicious that the Ubuntuzilla GUI update notification had not come up after a few days, so I tried checkforupdate from the command line.
    By the way this is my cron tab file if it is of any use.
    crontab -l
    0 0,4,8,12,16,20 * * * /usr/local/bin/ubuntuzilla.py -p thunderbird -a checkforupdategui 2>&1 | logger -p user.notice -t "UBUNTUZILLA" --
    0 0,4,8,12,16,20 * * * /usr/local/bin/ubuntuzilla.py -p firefox -a checkforupdategui 2>&1 | logger -p user.notice -t "UBUNTUZILLA" --


    I think I will hold off doing a manual update for a few days so that I still have something to test against if a possible solution comes along.

    Perhaps I should have pointed out that this is an older machine [AMD Athlon XP 2600+, 2083 MHz, 512 Mbyte memory] and my Linux skills are near zero so would not necessarily have noticed if I had done something dumb.

  4. #4
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,072
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: problem updating thunderbird with checkforupdategui

    could you tell me which version and flavor of ubuntu are you running?

    and also post output of
    Code:
    ps ax |grep session
    thanks!

  5. #5
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: problem updating thunderbird with checkforupdategui

    Quote Originally Posted by nanotube View Post
    could you tell me which version and flavor of ubuntu are you running?

    and also post output of
    Code:
    ps ax |grep session
    thanks!
    Gnome Ubuntu 7.10, kernel 2.6.22-14-generic

    ps ax |grep session
    4631 ? S 0:00 dbus-daemon --session --print-address --nofork
    5830 ? Ssl 0:00 x-session-manager
    5867 ? Ss 0:00 /usr/bin/ssh-agent x-session-manager
    5873 ? Ss 0:00 dbus-daemon --fork --print-address 17 --print-pid 19 --session
    5896 ? S 0:00 vino-session --sm-client-id default5
    6778 pts/0 S+ 0:00 grep session

    Hope this helps

  6. #6
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,072
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: problem updating thunderbird with checkforupdategui

    and if you open a terminal, and run command
    Code:
    notify-send "bla"
    do you get a little bubble box at the bottom right with the "bla" message?

  7. #7
    Join Date
    Nov 2007
    Beans
    3

    Re: problem updating thunderbird with checkforupdategui

    I can also say I'm having the same problem. Same Ubuntu, same ps output but different version of Ubuntuzilla (ver 4.1.1)

    The errors I get are very similar but are obviously a slightly different build of Ubuntuzilla:
    Code:
    python ./ubuntuzilla.py -a checkforupdategui -p thunderbird
    
    Retrieving the version of the latest release of Thunderbird from the Mozilla website...
    Latest release version: 2.0.0.9
    Currently installed version: 2.0.0.6
    Traceback (most recent call last):
      File "/home/pchandle/ubuntuzilla.py", line 757, in <module>
        bs.start()
      File "/home/pchandle/ubuntuzilla.py", line 77, in start
        ti.start()
      File "/home/pchandle/ubuntuzilla.py", line 105, in start
        self.checkforupdateGui()
      File "/home/pchandle/ubuntuzilla.py", line 373, in checkforupdateGui
        self.updateActionsGui()
      File "/home/pchandle/ubuntuzilla.py", line 388, in updateActionsGui
        dbusSessionAddress = self.getSystemOutput("grep -z DBUS_SESSION_BUS_ADDRESS /proc/"+pid+"/environ | sed -e 's/DBUS_SESSION_BUS_ADDRESS=//'")
      File "/home/pchandle/ubuntuzilla.py", line 458, in getSystemOutput
        return result[0]
    IndexError: list index out of range
    If I run the suggested 'notify-send' command I do indeed get the 'bla' bubble box.

    On the other hand, I tried the manual update method (gksudo thunderbird, etc) and was told that there was no new updates available??

    I'm happy to provide more info to help sort this out.

  8. #8
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: problem updating thunderbird with checkforupdategui

    Quote Originally Posted by nanotube View Post
    and if you open a terminal, and run command
    Code:
    notify-send "bla"
    do you get a little bubble box at the bottom right with the "bla" message?
    Yes I do.
    It disappears if I leave it for 8 seconds or, if I left or right mouse click on it.

  9. #9
    Join Date
    Nov 2007
    Beans
    3

    Re: problem updating thunderbird with checkforupdategui

    I think I've worked out my problem.. perhaps it may provide some help here too..

    I tried doing a manual update without the GUI using:
    Code:
    ubuntuzilla.py -a checkforupdatetext -p thunderbird
    I then received a response that said I hadn't installed Thunderbird using the Ubuntuzilla script. *a light turned on*

    I recently upgraded Ubuntu from Feisty to Gutsy - I guess the upgrade moved in the official version of Thunderbird while my Ubuntuzilla script and cron entries remained.

    Since then, I've run this to re-install Thunderbird using the script:
    Code:
    ubuntuzilla.py -a install -p thunderbird
    The install went OK (including a backup of my mail files) except for the PGP key verification. It just couldn't connect...
    Code:
    ...
    Importing Mozilla Software Releases public key
    
    Note that if you have never used gpg before on this system, and this is your first time running this script, there may be a delay of about a minute during the generation of a gpg keypair. This is normal and expected behavior.
    
    gpg: requesting key 0E3606D9 from hkp server subkeys.pgp.net
    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error
    Unable to retrieve Mozilla Software Releases Public key from subkeys.pgp.net . Trying again...
    gpg: requesting key 0E3606D9 from hkp server pgpkeys.mit.edu
    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error
    Unable to retrieve Mozilla Software Releases Public key from pgpkeys.mit.edu . Trying again...
    gpg: requesting key 0E3606D9 from hkp server pgp.mit.edu
    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error
    Unable to retrieve Mozilla Software Releases Public key from pgp.mit.edu . Trying again...
    gpg: requesting key 0E3606D9 from hkp server subkeys.pgp.net
    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error
    Unable to retrieve Mozilla Software Releases Public key from subkeys.pgp.net . Trying again...
    gpg: requesting key 0E3606D9 from hkp server pgpkeys.mit.edu
    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error
    Unable to retrieve Mozilla Software Releases Public key from pgpkeys.mit.edu . Trying again...
    gpg: requesting key 0E3606D9 from hkp server pgp.mit.edu
    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error
    Unable to retrieve Mozilla Software Releases Public key from pgp.mit.edu . Trying again...
    Failed to retrieve Mozilla Software Releases Public key from any of the listed keyservers. Please check your network connection, and try again later.
    After using the -g option (ignore pgp key verification) It installed OK.
    Of course I now have the latest build, so the output from the update:
    Code:
    ubuntuzilla.py -a checkforupdategui -p thunderbird
    gives a response like:
    Code:
    Retrieving the version of the latest release of Thunderbird from the Mozilla website...
    Latest release version: 2.0.0.9
    Currently installed version: 2.0.0.9
    and no balloon message (as you would expect)
    I guess I'll have to wait until the next release to see if it crops up again...

  10. #10
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,072
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: problem updating thunderbird with checkforupdategui

    Quote Originally Posted by kc109 View Post
    Yes I do.
    It disappears if I leave it for 8 seconds or, if I left or right mouse click on it.
    hmm... that leaves me to wonder what's going on.
    first... an easy one: does the error keep happening even after a clean reboot?

    if so, then ...

    ok, so run
    Code:
    ps ax |grep session
    again, and look for the PIDs of the following processes:
    Code:
    x-session-manager
    dbus-daemon --session --print-address --nofork
    any other dbus-daemons
    then, for each of those, run
    Code:
    grep -z DBUS_SESSION_BUS_ADDRESS /proc/PID/environ
    and tell me for which one[s] you get any output?

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •