CredentialsError starting UbuntuOne for Ubuntu 12.04

Bug #1066943 reported by Tong Sun
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Status tracked in Trunk
Stable-3-0
Triaged
Medium
Unassigned
Stable-4-0
Fix Committed
Medium
Unassigned
Stable-4-2
Fix Released
Undecided
Unassigned
Trunk
Fix Released
Medium
dobey
ubuntuone-client (Ubuntu)
Fix Released
Medium
dobey
Precise
Won't Fix
Medium
Unassigned
Quantal
Won't Fix
Medium
Unassigned
Raring
Fix Released
Medium
dobey

Bug Description

The symptom is exactly that of
https://bugs.launchpad.net/ubuntuone-client/+bug/1014379

But

1. I'm not using nightlies repository, just normal precise-updates repository.
2. That bug is fixed, but I'm still having the problem.

Details.

Ubuntu 12.04, with normal precise-updates repository, minimum installation. So I need to install UbuntuOne myself.

apt-get install ubuntuone-control-panel
apt-get install ubuntuone-control-panel-qt

then start ubuntuone-control-panel-qt as me. An error message is shown when opening the control panel:

 CredentialsError DBusException(dbus.String(u'Process /usr/lib/ubuntuone-client/ubuntuone-login exited with status 1'),)

How can I setup the Credentials myself?
I can't seem to find Applications->Accessories->Passwords and Encryption Keys on my Ubuntu 12.04 PC.

If I run /usr/lib/ubuntuone-client/ubuntuone-login directly, the script produces the following error traceback.

$ /usr/lib/ubuntuone-client/ubuntuone-login
Traceback (most recent call last):
  File "/usr/lib/ubuntuone-client/ubuntuone-login", line 43, in <module>
    import glib
ImportError: No module named glib
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 128, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL, 0o640), 'w')
OSError: [Errno 2] No such file or directory: '/var/crash/_usr_lib_ubuntuone-client_ubuntuone-login.9999.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/ubuntuone-client/ubuntuone-login", line 43, in <module>
    import glib
ImportError: No module named glib

My current packages:

$ apt-cache policy ubuntuone-control-panel-qt
ubuntuone-control-panel-qt:
  Installed: 3.0.1-0ubuntu1
  Candidate: 3.0.1-0ubuntu1
  Version table:
 *** 3.0.1-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     3.0.0-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

 python-ubuntuone-client_3.0.2-0ubuntu1
 python-ubuntuone-control-panel_3.0.1-0ubuntu1
 python-ubuntuone-storageprotocol_3.0.2-0ubuntu1
 ubuntuone-client_3.0.2-0ubuntu1
 ubuntuone-control-panel_3.0.1-0ubuntu1
 ubuntuone-control-panel-common_3.0.1-0ubuntu1
 ubuntuone-control-panel-qt_3.0.1-0ubuntu1
 ubuntuone-installer_3.0.2-0ubuntu1.1

Installation log:

% apt-get install ubuntuone-control-panel
The following extra packages will be installed:
  aspell aspell-en dbus-x11 dconf-gsettings-backend dconf-service
  dictionaries-common gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0
  gir1.2-gtk-3.0 gir1.2-javascriptcoregtk-3.0 gir1.2-notify-0.7
  gir1.2-pango-1.0 gir1.2-soup-2.4 gir1.2-webkit-3.0 glib-networking
  glib-networking-common glib-networking-services gnome-keyring
  gsettings-desktop-schemas libaspell15 libcairo-gobject2 libcap2 libcap2-bin
  libdconf0 libenchant1c2a libgail-3-0 libgck-1-0 libgcr-3-1 libgcr-3-common
  libgeoclue0 libglib2.0-bin libglib2.0-data libgnome-keyring-common
  libgnome-keyring0 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0
  libgtk-3-0 libgtk-3-common libhunspell-1.3-0 libicu48
  libjavascriptcoregtk-3.0-0 libnotify4 liborc-0.4-0 libprotobuf7 libproxy1
  libsoup-gnome2.4-1 libsoup2.4-1 libwebkitgtk-3.0-0 libwebkitgtk-3.0-common
  libxslt1.1 python-apport python-configglue python-dirspec python-httplib2
  python-keyring python-launchpadlib python-lazr.restfulclient python-lazr.uri
  python-oauth python-openssl python-pkg-resources python-problem-report
  python-protobuf python-pyinotify python-simplejson python-twisted-bin
  python-twisted-core python-twisted-names python-twisted-web
  python-ubuntu-sso-client python-ubuntuone-client
  python-ubuntuone-control-panel python-ubuntuone-storageprotocol
  python-wadllib python-xdg python-zope.interface ubuntu-sso-client
  ubuntuone-client
Suggested packages:
  aspell-doc spellutils ispell emacsen-common jed-extra libcap-dev
  libenchant-voikko geoclue libvisual-0.4-plugins gstreamer-codec-install
  gnome-codec-install gstreamer0.10-tools gstreamer0.10-plugins-base
  librsvg2-common gvfs python-testresources python-openssl-doc
  python-openssl-dbg python-distribute python-distribute-doc
  python-pyinotify-doc python-twisted-bin-dbg python-tk python-gtk2
  python-glade2 python-qt3 python-wxgtk2.8 ubuntuone-client-dbg
  ubuntuone-client-proxy ubuntuone-control-panel-gui
Recommended packages:
  libpam-gnome-keyring libpam-cap enchant hicolor-icon-theme libgtk-3-bin
  hunspell-en-us hunspell-dictionary myspell-dictionary notification-daemon
  python-crypto protobuf-compiler libjs-jquery python-pam python-serial
  zeitgeist-core ubuntu-sso-client-gtk ubuntu-sso-client-gui gir1.2-unity-5.0
  gir1.2-unity-4.0 gir1.2-unity-3.0 gir1.2-indicate-0.7 gir1.2-indicate-0.6
  ubuntuone-installer
The following NEW packages will be installed:
  aspell aspell-en dbus-x11 dconf-gsettings-backend dconf-service
  dictionaries-common gir1.2-atk-1.0 gir1.2-freedesktop gir1.2-gdkpixbuf-2.0
  gir1.2-gtk-3.0 gir1.2-javascriptcoregtk-3.0 gir1.2-notify-0.7
  gir1.2-pango-1.0 gir1.2-soup-2.4 gir1.2-webkit-3.0 glib-networking
  glib-networking-common glib-networking-services gnome-keyring
  gsettings-desktop-schemas libaspell15 libcairo-gobject2 libcap2 libcap2-bin
  libdconf0 libenchant1c2a libgail-3-0 libgck-1-0 libgcr-3-1 libgcr-3-common
  libgeoclue0 libglib2.0-bin libglib2.0-data libgnome-keyring-common
  libgnome-keyring0 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0
  libgtk-3-0 libgtk-3-common libhunspell-1.3-0 libicu48
  libjavascriptcoregtk-3.0-0 libnotify4 liborc-0.4-0 libprotobuf7 libproxy1
  libsoup-gnome2.4-1 libsoup2.4-1 libwebkitgtk-3.0-0 libwebkitgtk-3.0-common
  libxslt1.1 python-apport python-configglue python-dirspec python-httplib2
  python-keyring python-launchpadlib python-lazr.restfulclient python-lazr.uri
  python-oauth python-openssl python-pkg-resources python-problem-report
  python-protobuf python-pyinotify python-simplejson python-twisted-bin
  python-twisted-core python-twisted-names python-twisted-web
  python-ubuntu-sso-client python-ubuntuone-client
  python-ubuntuone-control-panel python-ubuntuone-storageprotocol
  python-wadllib python-xdg python-zope.interface ubuntu-sso-client
  ubuntuone-client ubuntuone-control-panel
0 upgraded, 80 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.2 MB of archives.
After this operation, 100.0 MB of additional disk space will be used.

% apt-get install ubuntuone-control-panel-qt
The following extra packages will be installed:
  aptdaemon-data gir1.2-vte-2.90 libaudio2 libcroco3 liblcms1 libmng1
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpython2.7 libqt4-dbus
  libqt4-declarative libqt4-designer libqt4-help libqt4-network libqt4-script
  libqt4-scripttools libqt4-sql libqt4-svg libqt4-test libqt4-xml
  libqt4-xmlpatterns libqtassistantclient4 libqtcore4 libqtgui4 libqtwebkit4
  librsvg2-2 librsvg2-common libvte-2.90-9 libvte-2.90-common policykit-1
  python-aptdaemon python-aptdaemon.gtk3widgets python-chardet python-debian
  python-defer python-imaging python-pycurl python-qt4 python-qt4-dbus
  python-sip python-software-properties ubuntu-sso-client-qt
  ubuntuone-control-panel-common ubuntuone-installer unattended-upgrades
Suggested packages:
  nas liblcms-utils libqt4-declarative-folderlistmodel
  libqt4-declarative-gestures libqt4-declarative-particles
  libqt4-declarative-shaders qt4-qmlviewer libqt4-dev qt4-qtconfig
  librsvg2-bin python-imaging-doc python-imaging-dbg libcurl4-gnutls-dev
  python-pycurl-dbg python-qt4-dbg bsd-mailx
Recommended packages:
  qdbus libqt4-sql-mysql libqt4-sql-odbc libqt4-sql-psql libqt4-sql-sqlite
  aptdaemon indicator-messages
The following NEW packages will be installed:
  aptdaemon-data gir1.2-vte-2.90 libaudio2 libcroco3 liblcms1 libmng1
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpython2.7 libqt4-dbus
  libqt4-declarative libqt4-designer libqt4-help libqt4-network libqt4-script
  libqt4-scripttools libqt4-sql libqt4-svg libqt4-test libqt4-xml
  libqt4-xmlpatterns libqtassistantclient4 libqtcore4 libqtgui4 libqtwebkit4
  librsvg2-2 librsvg2-common libvte-2.90-9 libvte-2.90-common policykit-1
  python-aptdaemon python-aptdaemon.gtk3widgets python-chardet python-debian
  python-defer python-imaging python-pycurl python-qt4 python-qt4-dbus
  python-sip python-software-properties ubuntu-sso-client-qt
  ubuntuone-control-panel-common ubuntuone-control-panel-qt
  ubuntuone-installer unattended-upgrades
0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.0 MB of archives.
After this operation, 111 MB of additional disk space will be used.

Thanks

Related branches

Revision history for this message
dobey (dobey) wrote :

You can install python-gobject as a temporary workaround.

Revision history for this message
Tong Sun (suntong001) wrote :

> You can install python-gobject as a temporary workaround.
That works!
Thanks a lot.

dobey (dobey)
Changed in ubuntuone-client (Ubuntu Quantal):
milestone: none → ubuntu-12.10
assignee: nobody → Rodney Dawes (dobey)
status: New → In Progress
importance: Undecided → Critical
Changed in ubuntuone-client (Ubuntu Precise):
status: New → Triaged
assignee: nobody → Rodney Dawes (dobey)
milestone: none → precise-updates
importance: Undecided → Critical
dobey (dobey)
Changed in ubuntuone-client (Ubuntu Quantal):
importance: Critical → High
Changed in ubuntuone-client (Ubuntu Precise):
importance: Critical → Medium
Changed in ubuntuone-client (Ubuntu Quantal):
importance: High → Medium
dobey (dobey)
Changed in ubuntuone-client (Ubuntu Raring):
milestone: ubuntu-12.10 → none
Changed in ubuntuone-client (Ubuntu Quantal):
milestone: ubuntu-12.10 → quantal-updates
status: In Progress → Triaged
Changed in ubuntuone-client (Ubuntu Raring):
status: In Progress → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-client - 4.1.0-0ubuntu1

---------------
ubuntuone-client (4.1.0-0ubuntu1) raring; urgency=low

  * New upstream release.
    - Trap DBusException on ubuntuone-login startup. (LP: #711324)
    - Remove messaging menu integration. (LP: #820345)
    - Avoid KeyError during an Upload. (LP: #988534)
    - Ignore .lock files from synchronization. (LP: #1042268)
    - Avoid duplicate state tracking for sync menu. (LP: #1053631)
    - Add a separator between recent and current transfers. (LP: #1054259)
    - Search and filtering API for shares tab in control panel. (LP: #1056197)
    - Ensure Upload/Download objects have path attribute. (LP: #1061490)
    - Use correct file size for percentages in sync menu. (LP: #1062729)
    - Open shares tab from sync menu. (LP: #1063786)
    - Open the Ubuntu One folder from sync menu. (LP: #1063788)
    - Use correct glib method to launch control panel. (LP: #1065272)
    - Always use GI bindings in launch and login scripts. (LP: #1066943)
    - Show active downloads in transfers menu as well. (LP: #1067806)
    - Avoid duplicates in transfers menu. (LP: #1069953)
    - Do case-insenstive fuzzy filename matching. (LP: #1073664)
  * debian/watch:
    - Update to use stable-4-2 series for Ubuntu 13.04 releases.
 -- Rodney Dawes <email address hidden> Tue, 11 Dec 2012 17:05:43 -0500

Changed in ubuntuone-client (Ubuntu Raring):
status: Triaged → Fix Released
dobey (dobey)
Changed in ubuntuone-client (Ubuntu Precise):
assignee: Rodney Dawes (dobey) → nobody
Changed in ubuntuone-client (Ubuntu Quantal):
assignee: Rodney Dawes (dobey) → nobody
Changed in ubuntuone-client (Ubuntu Precise):
status: Triaged → Won't Fix
Changed in ubuntuone-client (Ubuntu Quantal):
status: Triaged → Won't Fix
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.