Ubuntuone can't access the credentials and fals to open at startup

Bug #787126 reported by Philippe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
Critical
Natalia Bidart

Bug Description

I'm using Natty 32bit and for a week or so Ubuntuone does not start at startup anymore.
If I send ubuntuone-launch i get:

Traceback (most recent call last):
  File "/usr/bin/ubuntuone-launch", line 56, in <module>
    from ubuntuone.platform.credentials import CredentialsManagementTool
ImportError: cannot import name CredentialsManagementTool

I deleted all log and config files and detached my pc from the u1 server - and restarted everything from scratch. To no avail. The problem persists.
The client can be started flawlessly from the unity program launcher - but not from the console or at startup using ubuntuone-launch

Related branches

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Hello there,

can you please paste the output of running this command in a terminal:

sudo apt-cache policy ubuntu-sso-client ubuntuone-control-panel*

Thanks!

Changed in ubuntuone-client:
status: New → Incomplete
assignee: nobody → Natalia Bidart (nataliabidart)
Revision history for this message
Philippe (philippe-rast) wrote :

Sure, the output is (note that I had installed some files from nightlies repos a while ago - may interfere with "official" u1 version?):

ubuntuone-control-panel-gtk:
  Installiert: 1.1.0+r145-24~natty1
  Kandidat: 1.1.0+r145-24~natty1
  Versionstabelle:
 *** 1.1.0+r145-24~natty1 0
        100 /var/lib/dpkg/status
     1.0.0-0ubuntu1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
ubuntu-sso-client:
  Installiert: 1.3.0+r712-21~natty1
  Kandidat: 1.3.0+r712-21~natty1
  Versionstabelle:
 *** 1.3.0+r712-21~natty1 0
        100 /var/lib/dpkg/status
     1.2.1-0ubuntu2 0
        500 http://ca.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
     1.2.1-0ubuntu1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
python-ubuntuone-control-panel:
  Installiert: 1.1.0+r145-24~natty1
  Kandidat: 1.1.0+r145-24~natty1
  Versionstabelle:
 *** 1.1.0+r145-24~natty1 0
        100 /var/lib/dpkg/status
     1.0.0-0ubuntu1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
ubuntuone-control-panel:
  Installiert: 1.1.0+r145-24~natty1
  Kandidat: 1.1.0+r145-24~natty1
  Versionstabelle:
 *** 1.1.0+r145-24~natty1 0
        100 /var/lib/dpkg/status
     1.0.0-0ubuntu1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
ubuntuone-control-panel-gui:
  Installiert: (keine)
  Kandidat: (keine)
  Versionstabelle:

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Hello again,

I'm marking this bug as private, can you please attach a compress tarball of all your log files under:

~/.cache/ubuntuone/log

and

~/.cache/sso

Thanks!

Revision history for this message
Philippe (philippe-rast) wrote :

log files are attached:

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Hi Philippe,

I can't find the attachment, can you please re-attach it? Thanks!

Revision history for this message
Philippe (philippe-rast) wrote :

Hi Natalia, the bug report is still public. So I removed the files again - I sync 12 GB's of work stuff. So, I wouldn't want it to be accessible for the whole world.

Revision history for this message
Philippe (philippe-rast) wrote :

btw, if I run lines 40 to 56 from /usr/bin/ubunutone-launch I get the same error:

philippe@pr-ThinkPad-T400:~$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> import os
>>> U1ROOT = os.path.expanduser('~/Ubuntu One/')
>>> if __name__ == '__main__':
... if not os.path.isdir(U1ROOT):
... sys.exit(1)
...
>>> import dbus
>>> import glib
>>> import gobject
>>> from dbus.mainloop.glib import DBusGMainLoop
>>> from ubuntuone.platform.credentials import CredentialsManagementTool
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name CredentialsManagementTool

Is this a phython problem?

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Hi Philippe,

after digging a little deeper in our latest source code, I've found some changes that were merged without proper testing. I'll chase the proper people to fox this ASAP.

Thanks for helping!

Changed in ubuntuone-client:
status: Incomplete → Triaged
importance: Undecided → Critical
Changed in ubuntuone-client:
status: Triaged → Fix Committed
Philippe (philippe-rast)
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
dobey (dobey)
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
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.