Test passed. Tested proposed update (ubuntuone-client 1.2.1-0ubuntu2)
following the steps to reproduce. Ubuntu One Preferences opened properly
and then showed the expected error message (rather than the prefs not
opening and throwing the "AttributeError: 'module' object has no
attribute 'MODAL'" exception).

** Description changed:

  ubuntu one client crashes after clicking on manage account (on 10.04_64)
  terminal output:
  
  /usr/bin/ubuntuone-preferences:1143: GtkWarning: Error parsing gtk-icon-sizes 
string:
   'panel-menu=24,24
  panel=20,20
  gtk-button=18,18
  gtk-large-toolbar=24,24'
    prefs_dialog.show()
  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'
  
  and this is what i got when i ran it again after some time
  
  ar...@arjun-desktop:/$ ubuntuone-preferences
  /usr/bin/ubuntuone-preferences:1143: GtkWarning: Error parsing gtk-icon-sizes 
string:
   'panel-menu=24,24
  panel=20,20
  gtk-button=18,18
  gtk-large-toolbar=24,24'
    prefs_dialog.show()
  Apache CouchDB has started, time to relax.
  Browse your desktop CouchDB at 
file:///home/arjun/.local/share/desktop-couch/couchdb.html
  ERROR:ubuntuone-preferences:[Failure instance: Traceback (failure with no 
frames): <class 'dbus.exceptions.DBusException'>: 
org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in 
_message_cb
      retval = candidate_method(self, *args, **keywords)
    File 
"/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/dbus_interface.py", line 
1307, in get_info
      mdobj = self.fs.get_by_path(path.encode('utf-8'))
    File 
"/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/filesystem_manager.py", 
line 549, in get_by_path
      mdid = self._idx_path[path]
  KeyError: '/home/arjun/.ubuntuone/Purchased from Ubuntu One'
  
  ]
  ERROR:ubuntuone-preferences:Got empty result for devices list.
  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'
  
  --------------------------------
  
  STEPS TO REPRODUCE:
  I was unable to get this error in testing so here is how I reproduced the bug:
  
  1. Edit /etc/hosts and add:
  127.0.0.1     one.ubuntu.com
  2. $ ubuntuone-preferences
+ 
+ Expected result: Error messaage pops up: [Errno 111] Connection refused

-- 
crashes after clicking manage account
https://bugs.launchpad.net/bugs/567223
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to