Comment 6 for bug 567223

Revision history for this message
Mitch Towner (kermiac) wrote :

I can confirm this bug after adding "127.0.0.1 one.ubuntu.com" to /etc/hosts

$ apt-cache policy ubuntuone-client
ubuntuone-client:
  Installed: 1.2.1-0ubuntu1
  Candidate: 1.2.1-0ubuntu1
  Version table:
 *** 1.2.1-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

Terminal Output:
================
$ ubuntuone-preferences
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/bin/ubuntuone-preferences", line 162, in do_rest_request
    callback(result)
  File "/usr/bin/ubuntuone-preferences", line 348, in parse_devices
    self.error(error)
  File "/usr/bin/ubuntuone-preferences", line 304, in error
    gtk.DIALOG_DESTROY_WITH_PARENT | gtk.MODAL,
AttributeError: 'module' object has no attribute 'MODAL'

ubuntuone-preferences hangs & the only way to kill it is with "killall ubuntuone-preferences"

-----------------------------------------------

I applied the updated package from -proposed

$ apt-cache policy ubuntuone-client
ubuntuone-client:
  Installed: 1.2.1-0ubuntu2
  Candidate: 1.2.1-0ubuntu2
  Version table:
 *** 1.2.1-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ lucid-proposed/main Packages
        100 /var/lib/dpkg/status
     1.2.1-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages

I can now confirm that ubuntuone-preferences displays the expected error message (see http://imgbin.org/images/1540.png) & I am able to close ubuntuone-preferences sanely (without requiring killall ubuntuone-preferences).