ubuntuone DBusException Failed to create necessary plain keys.

Bug #982486 reported by sunweb
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntuone-control-panel (Ubuntu)
Fix Committed
Undecided
Ubuntu One Client Engineering team

Bug Description

Upgraded to Ubuntu 12.04, everything worked.
Wanted to change account name, somewhere read that reinstalling ubuntuone helped. After removing and installing ubuntuone again Ubuntu One control panels won't start.

>> controlpanel.log

2012-04-15 20:53:27,503 - ubuntuone.controlpanel.backend - INFO - ControlBackend: instance started.
2012-04-15 20:53:27,723 - ubuntuone.controlpanel.qt.gui - INFO - Updates available? None
2012-04-15 20:53:28,189 - ubuntuone.controlpanel.qt.controlpanel - ERROR - Error while invoking <bound method ControlPanel.load of <ubuntuone.controlpanel.gui.qt.controlpanel.ControlPanel object at 0x30f80e0>> with args () and kwargs {}:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/gui/qt/__init__.py", line 100, in inner
    res = yield f(*args, **kwargs)
CredentialsError: dbus.Dictionary({dbus.String(u'errtype'): dbus.String(u'DBusException'), dbus.String(u'message'): dbus.String(u'Failed to create necessary plain keys.')}, signature=dbus.Signature('ss'))
2012-04-15 20:55:02,535 - ubuntuone.controlpanel.qt.controlpanel - INFO - The warning dialog was shown and also closed (message was u'DBusException\nFailed to create necessary plain keys.').

>> credentials.log

2012-04-15 20:53:27,773 - ubuntuone.credentials - DEBUG - find_credentials: args (<ubuntuone.platform.credentials.CredentialsManagementTool object at 0x30ebad0>,), kwargs {}.
2012-04-15 20:53:28,013 - ubuntuone.credentials - INFO - Starting Ubuntu One login manager for bus u'com.ubuntuone.Credentials'.
2012-04-15 20:53:28,018 - ubuntuone.credentials - DEBUG - ref_count is 0, changing value to 1.
2012-04-15 20:53:28,185 - ubuntuone.credentials - DEBUG - Handling DBus signal for member: u'CredentialsError', app_name: dbus.String(u'Ubuntu One').
2012-04-15 20:53:28,185 - ubuntuone.credentials - INFO - u'CredentialsError'
2012-04-15 20:53:28,186 - ubuntuone.credentials - DEBUG - ref_count is 1, changing value to 0.
2012-04-15 20:53:28,186 - ubuntuone.credentials - DEBUG - Setting up timer with <built-in function timeout_add> (10000, <bound method CredentialsManagement.shutdown of <ubuntuone.platform.credentials.linux.CredentialsManagement at /credentials at 0x2e78f90>>).
2012-04-15 20:53:28,186 - ubuntuone.credentials - ERROR - CredentialsManagement: emitting CredentialsError with error_dict dbus.Dictionary({dbus.String(u'errtype'): dbus.String(u'DBusException'), dbus.String(u'message'): dbus.String(u'Failed to create necessary plain keys.')}, signature=dbus.Signature('ss')).
2012-04-15 20:53:28,187 - ubuntuone.credentials - DEBUG - cleanup: removing signal match <<class 'dbus.connection.SignalMatch'> at 2e8fe90 "type='signal',sender='com.ubuntuone.Credentials',path='/credentials',interface='com.ubuntuone.CredentialsManagement',member='CredentialsFound'" on conn <dbus._dbus.SessionBus (session) at 0x2fece30>>
2012-04-15 20:53:28,188 - ubuntuone.credentials - DEBUG - cleanup: removing signal match <<class 'dbus.connection.SignalMatch'> at 385d050 "type='signal',sender='com.ubuntuone.Credentials',path='/credentials',interface='com.ubuntuone.CredentialsManagement',member='CredentialsNotFound'" on conn <dbus._dbus.SessionBus (session) at 0x2fece30>>
2012-04-15 20:53:28,189 - ubuntuone.credentials - DEBUG - cleanup: removing signal match <<class 'dbus.connection.SignalMatch'> at 385d1d0 "type='signal',sender='com.ubuntuone.Credentials',path='/credentials',interface='com.ubuntuone.CredentialsManagement',member='CredentialsError'" on conn <dbus._dbus.SessionBus (session) at 0x2fece30>>
2012-04-15 20:53:38,197 - ubuntuone.credentials - DEBUG - shutdown!, ref_count is 0.
2012-04-15 20:53:38,197 - ubuntuone.credentials - INFO - Shutting down, calling <built-in method quit of glib.MainLoop object at 0x7f8611ba6f90>.

Tags: desktop+
Revision history for this message
Leo Arias (elopio) wrote :

Can you please tell us what steps did you follow to remove and reinstall u1?

Changed in ubuntuone-control-panel (Ubuntu):
status: New → Incomplete
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
tags: added: desktop+
Revision history for this message
sunweb (sunweb-a) wrote :

sudo apt-get remove --purge ubuntuone*
then through nautilus cleaned up everything related to ubuntuone and ubuntuone sso.
then installed again

Revision history for this message
sunweb (sunweb-a) wrote :

Ok thats funny, i've repeated the process on clean installed 12.04 in virtual box and everyhing works. Mine is upgraded from 11.10

Revision history for this message
Tony Mugan (tmugan) wrote :

I have a similar problem here but did not actually try to reinstall ubuntuone until after I had problems with it.

https://bugs.launchpad.net/ubuntu/+source/ubuntuone-client/+bug/983756

The reinstall did not work for me.

Revision history for this message
sunweb (sunweb-a) wrote :

Ok, i have found something that worked for me !

I've added ppa from GNOME guys ppa:gnome3-team/gnome3 upgraded and everything works.

Note: reinstalling gnome-keyring from ubuntu repositories didn't work, i tried it and alot of different things to do.

P.S. seahorse now look far more logical than it did, now i can actually see what keys are stored there and not just "login, 1,2,3,...7" names that mean nothing to the end user.

Revision history for this message
sunweb (sunweb-a) wrote :

Also i've found the way to change my name as well.
It worked if name is changed from this site https://one.ubuntu.com/ , i don't why but it didn't work for me when i was trying to change from this page directly https://login.ubuntu.com/

sunweb (sunweb-a)
Changed in ubuntuone-control-panel (Ubuntu):
status: Incomplete → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.