Page 1 of 6 123 ... LastLast
Results 1 to 10 of 55

Thread: [Ubuntuzilla] checkforupdategui failed

  1. #1
    Join Date
    Aug 2007
    Beans
    13

    [SOLVED] [Ubuntuzilla] checkforupdategui failed

    Hi,

    I installed Ubuntuzilla on Hardy to install Firefox 3.5.
    The installation was correct, but the check for updates failed.

    I tried this manual command:

    Code:
    /usr/local/bin/ubuntuzilla.py -p firefox -a checkforupdategui -d 2>&1 | logger -p user.notice -t "UBUNTUZILLA" --
    And I had the following logs in syslog:

    Code:
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: Your commandline options:
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: {'mirrors': ['mozilla.isc.org/pub/mozilla.org/', 'mozilla.ussg.indiana.edu/pub/mozilla.org/', 'ftp.osuosl.org/pub/mozilla.org/', 'mozilla.cs.utah.edu/pub/mozilla.org/', 'mozilla.mirrors.tds.net/pub/mozilla.org/', 'ftp.scarlet.be/pub/mozilla.org/', 'ftp.uni-erlangen.de/pub/mozilla.org/', 'sunsite.rediris.es/pub/mozilla.org/', 'www.gtlib.gatech.edu/pub/mozilla.org/', 'releases.mozilla.org/pub/mozilla.org/'], 'package': 'firefox', 'debug': True, 'localization': 'en-US', 'skipgpg': False, 'test': False, 'skipbackup': False, 'action': 'checkforupdategui', 'unattended': False, 'keyservers': ['subkeys.pgp.net', 'pgpkeys.mit.edu', 'pgp.mit.edu', 'wwwkeys.pgp.net', 'keymaster.veridis.com'], 'targetdir': '/opt'}
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: Debug mode ON.
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: Retrieving the version of the latest release of Firefox from the Mozilla website...
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: Latest release version of Firefox : 3.5.2
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: Currently installed version of Firefox : 3.5.1
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: ['9581b52338b7fd9d61b178604996a1cc-0']
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: # This file allows processes on the machine with id 9581b52338b7fd9d61b178604996a1cc using 
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: # display :0.0 to find the D-Bus session bus with the below address.
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: # If the DBUS_SESSION_BUS_ADDRESS environment variable is set, it will
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: # be used rather than this file.
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: # See "man dbus-launch" for more details.
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-IhAIrCB4B6,guid=2091f6f8ee85cdf69ecf249e4a7d85e2
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: DBUS_SESSION_BUS_PID=6054
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: DBUS_SESSION_BUS_WINDOWID=65011713
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: 
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: unix:abstract=/tmp/dbus-IhAIrCB4B6,guid=2091f6f8ee85cdf69ecf249e4a7d85e2
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: Traceback (most recent call last):
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:   File "/usr/local/bin/ubuntuzilla.py", line 1294, in <module>
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:     bs.start()
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:   File "/usr/local/bin/ubuntuzilla.py", line 300, in start
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:     fi.start()
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:   File "/usr/local/bin/ubuntuzilla.py", line 353, in start
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:     self.checkforupdateGui()
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:   File "/usr/local/bin/ubuntuzilla.py", line 777, in checkforupdateGui
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:     self.updateActionsGui()
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:   File "/usr/local/bin/ubuntuzilla.py", line 808, in updateActionsGui
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:     notifier = Notifier()
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:   File "/usr/local/bin/ubuntuzilla.py", line 182, in __init__
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:     bus      = dbus.SessionBus()
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:   File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 217, in __new__
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:     mainloop=mainloop)
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:   File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 106, in __new__
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:     bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:   File "/var/lib/python-support/python2.5/dbus/bus.py", line 125, in __new__
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA:     bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
    Aug 10 20:26:50 user1-desktop UBUNTUZILLA: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-IhAIrCB4B6: Connection refused
    Last edited by yel; August 18th, 2009 at 01:41 PM.

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

    Re: [Ubuntuzilla] checkforupdategui failed

    can you run from terminal "notify-send bla" and see if a little message with "bla" shows up?

  3. #3
    Join Date
    Aug 2007
    Beans
    13

    Re: [Ubuntuzilla] checkforupdategui failed

    Yes I see the message.

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

    Re: [Ubuntuzilla] checkforupdategui failed

    Quote Originally Posted by yel View Post
    Yes I see the message.
    hmm, now try
    Code:
    ubuntuzilla.py -a checkforupdategui -p firefox -d
    again

  5. #5
    Join Date
    Aug 2007
    Beans
    13

    Re: [Ubuntuzilla] checkforupdategui failed

    Quote Originally Posted by nanotube View Post
    hmm, now try
    Code:
    ubuntuzilla.py -a checkforupdategui -p firefox -d
    again
    I have exaclty the same error as in my first post:

    Code:
    Your commandline options:
    {'mirrors': ['mozilla.isc.org/pub/mozilla.org/', 'mozilla.ussg.indiana.edu/pub/mozilla.org/', 'ftp.osuosl.org/pub/mozilla.org/', 'mozilla.cs.utah.edu/pub/mozilla.org/', 'mozilla.mirrors.tds.net/pub/mozilla.org/', 'ftp.scarlet.be/pub/mozilla.org/', 'ftp.uni-erlangen.de/pub/mozilla.org/', 'sunsite.rediris.es/pub/mozilla.org/', 'www.gtlib.gatech.edu/pub/mozilla.org/', 'releases.mozilla.org/pub/mozilla.org/'], 'package': 'firefox', 'debug': True, 'localization': 'en-US', 'skipgpg': False, 'test': False, 'skipbackup': False, '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 Firefox from the Mozilla website...
    Latest release version of Firefox : 3.5.2
    Currently installed version of Firefox : 3.5.1
    ['9581b52338b7fd9d61b178604996a1cc-0']
    # This file allows processes on the machine with id 9581b52338b7fd9d61b178604996a1cc using 
    # display :0.0 to find the D-Bus session bus with the below address.
    # If the DBUS_SESSION_BUS_ADDRESS environment variable is set, it will
    # be used rather than this file.
    # See "man dbus-launch" for more details.
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-IhAIrCB4B6,guid=2091f6f8ee85cdf69ecf249e4a7d85e2
    DBUS_SESSION_BUS_PID=6054
    DBUS_SESSION_BUS_WINDOWID=65011713
    
    unix:abstract=/tmp/dbus-IhAIrCB4B6,guid=2091f6f8ee85cdf69ecf249e4a7d85e2
    Traceback (most recent call last):
      File "/usr/local/bin/ubuntuzilla.py", line 1294, in <module>
        bs.start()
      File "/usr/local/bin/ubuntuzilla.py", line 300, in start
        fi.start()
      File "/usr/local/bin/ubuntuzilla.py", line 353, in start
        self.checkforupdateGui()
      File "/usr/local/bin/ubuntuzilla.py", line 777, in checkforupdateGui
        self.updateActionsGui()
      File "/usr/local/bin/ubuntuzilla.py", line 808, in updateActionsGui
        notifier = Notifier()
      File "/usr/local/bin/ubuntuzilla.py", line 182, in __init__
        bus      = dbus.SessionBus()
      File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 217, in __new__
        mainloop=mainloop)
      File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 106, in __new__
        bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
      File "/var/lib/python-support/python2.5/dbus/bus.py", line 125, in __new__
        bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-IhAIrCB4B6: Connection refused

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

    Re: [Ubuntuzilla] checkforupdategui failed

    hmm... strange, it works just fine for me (on intrepid).

    let me try something - i'll post a modified ubuntuzilla.py here for you to try in a bit.

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

    Re: [Ubuntuzilla] checkforupdategui failed

    Hi
    here's a modified version of ubuntuzilla, that should be more robust as far as showing notifications.

    just unzip it to wherewer, cd to that directory, and execute it with
    Code:
    python ubuntuzilla.py -a checkforupdategui -p firefox -d
    and see if the notification shows up.

    if this works, i'll push it out as the next point release.
    Attached Files Attached Files

  8. #8
    Join Date
    Aug 2007
    Beans
    13

    Re: [Ubuntuzilla] checkforupdategui failed

    I tried the new script, but it always fails with the following logs:

    Code:
    Your commandline options:
    {'mirrors': ['mozilla.isc.org/pub/mozilla.org/', 'mozilla.ussg.indiana.edu/pub/mozilla.org/', 'ftp.osuosl.org/pub/mozilla.org/', 'mozilla.cs.utah.edu/pub/mozilla.org/', 'mozilla.mirrors.tds.net/pub/mozilla.org/', 'ftp.scarlet.be/pub/mozilla.org/', 'ftp.uni-erlangen.de/pub/mozilla.org/', 'sunsite.rediris.es/pub/mozilla.org/', 'www.gtlib.gatech.edu/pub/mozilla.org/', 'releases.mozilla.org/pub/mozilla.org/'], 'package': 'firefox', 'debug': True, 'localization': 'en-US', 'skipgpg': False, 'test': False, 'skipbackup': False, '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 Firefox from the Mozilla website...
    Latest release version of Firefox : 3.5.2
    Currently installed version of Firefox : 3.5.1
    ['9581b52338b7fd9d61b178604996a1cc-0']
    # This file allows processes on the machine with id 9581b52338b7fd9d61b178604996a1cc using 
    # display :0.0 to find the D-Bus session bus with the below address.
    # If the DBUS_SESSION_BUS_ADDRESS environment variable is set, it will
    # be used rather than this file.
    # See "man dbus-launch" for more details.
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-IhAIrCB4B6,guid=2091f6f8ee85cdf69ecf249e4a7d85e2
    DBUS_SESSION_BUS_PID=6054
    DBUS_SESSION_BUS_WINDOWID=65011713
    
    unix:abstract=/tmp/dbus-IhAIrCB4B6,guid=2091f6f8ee85cdf69ecf249e4a7d85e2
    libnotify-Message: Unable to get session bus: Failed to connect to socket /tmp/dbus-IhAIrCB4B6: Connection refused
    notify-send -i '/opt/firefox/icons/mozicon50.xpm' -t 14400000 'Ubuntuzilla: Firefox Update Available.' 'A Firefox Update is Available. The version you are running is <b>3.5.1</b>. The new release available is <b>3.5.2</b>. Please refer to the <a href="http://ubuntuzilla.sourceforge.net/#Update_Official_Mozilla_Build_of_Firefox">detailed update instructions</a> on the Ubuntuzilla website.'
    Failed to execute 'notify-send'. Please make sure that package 'libnotify-bin' is installed.
    Process returned code 1
    ERROR showing GUI update notification.
    I tried to reinstall the package libnotify-bin, but it changes nothing.

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

    Re: [Ubuntuzilla] checkforupdategui failed

    well, what this seems to indicate to me is that there's something wrong with your dbus setup....

    but i don't really know what to do to fix it. i don't suppose you have tried a reboot?

  10. #10
    Join Date
    Aug 2007
    Beans
    13

    Re: [Ubuntuzilla] checkforupdategui failed

    Quote Originally Posted by nanotube View Post
    i don't suppose you have tried a reboot?
    I reboot once a day.

    On the other hand, I have just tested the scripts of test of the package python-notify and they work. They show a notification.
    Last edited by yel; August 12th, 2009 at 07:33 PM.

Page 1 of 6 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
  •