Comment 2 for bug 624127

Revision history for this message
Michael Vogt (mvo) wrote : Re: Sign-on dialog won't open a second time

Ths software center part of this is solved by updateing to the new api and adding a versionized dependency.

However I can reproduce the issues that mpt has. When I run the attached test code a couple of times (two times seems to be enough most of the time) and click cancel in the dialog I get no dialog anymore but instead:

error: lala Problem opening the Ubuntu SSO user interface. Traceback (most recent call last):

  File "/usr/lib/pymodules/python2.6/ubuntu_sso/main.py", line 508, in _show_login_or_register_ui
    help_text, win_id, login_only)
  File "/usr/lib/pymodules/python2.6/ubuntu_sso/gui.py", line 311, in __init__
    self._setup_signals()
  File "/usr/lib/pymodules/python2.6/ubuntu_sso/gui.py", line 347, in _setup_signals
    dbus_interface=self.iface_name)
  File "/usr/lib/pymodules/python2.6/ubuntu_sso/gui.py", line 361, in inner
    f(method, signal_name, dbus_interface)
  File "/usr/lib/pymodules/python2.6/ubuntu_sso/gui.py", line 361, in inner
    f(method, signal_name, dbus_interface)
  File "/usr/lib/pymodules/python2.6/ubuntu_sso/gui.py", line 361, in inner
    f(method, signal_name, dbus_interface)
  File "/usr/lib/pymodules/python2.6/ubuntu_sso/gui.py", line 361, in inner
    f(method, signal_name, dbus_interface)
  File "/usr/lib/pymodules/python2.6/ubuntu_sso/gui.py", line 361, in inner
    f(method, signal_name, dbus_interface)
  File "/usr/lib/pymodules/python2.6/ubuntu_sso/gui.py", line 361, in inner
    f(method, signal_name, dbus_interface)
  File "/usr/lib/pymodules/python2.6/ubuntu_sso/gui.py", line 360, in inner
    assert actual is None
AssertionError