ubuntuone-preferences crashed with IOError in __init__()

Bug #554446 reported by Cyril Buquet
134
This bug affects 25 people
Affects Status Importance Assigned to Milestone
ubuntuone-client (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ubuntuone-client

Ubuntuone-preference crash at start on kubuntu

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: ubuntuone-client-gnome 1.1.91-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic i686
NonfreeKernelModules: ath_hal
Architecture: i386
Date: Sat Apr 3 08:58:20 2010
ExecutablePath: /usr/bin/ubuntuone-preferences
InterpreterPath: /usr/bin/python2.6
ProcCmdline: /usr/bin/python /usr/bin/ubuntuone-preferences
ProcEnviron:
 LANGUAGE=fr_FR:fr:en_GB:en
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/ubuntuone-preferences']
SourcePackage: ubuntuone-client
Title: ubuntuone-preferences crashed with IOError in __init__()
UbuntuOneClientConfig:
 [ubuntuone]
 bookmarked = True
 connected = True
 connect = 0
 show_applet = 1
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers

Revision history for this message
Cyril Buquet (cyril11) wrote :
visibility: private → public
Revision history for this message
Cyril Buquet (cyril11) wrote :

After remove directory ~/.config/ubuntuone, always crash

Terminal output :
$ ubuntuone-preferences
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Traceback (most recent call last):
  File "/usr/bin/ubuntuone-preferences", line 62, in <module>
    from desktopcouch.replication_services import ubuntuone as dcouch
  File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 20, in <module>
    from desktopcouch.start_local_couchdb import process_is_couchdb, read_pidfile
  File "/usr/lib/python2.6/dist-packages/desktopcouch/start_local_couchdb.py", line 38, in <module>
    from desktopcouch import local_files
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 292, in <module>
    xdg_base_dirs.save_config_path("desktop-couch"))
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 232, in __init__
    self.configuration = _Configuration(self)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 91, in __init__
    {'desktopcouch': 'basic'})
gnomekeyring.IOError

tags: removed: need-duplicate-check
Revision history for this message
Cyril Buquet (cyril11) wrote :

IMPORTANT:
At normal time, i use kubuntu.
Today, i test ubuntuone-preference into gnome environment (with same login/user)

It work with gnome desktop (not work into kde, tested)

Terminal output into gnome environment :
$ ubuntuone-preferences
Removing stale, deceptive pid file.
Apache CouchDB has started, time to relax.
Browse your desktop CouchDB at file:///home/cyril/.local/share/desktop-couch/couchdb.html

sorry for my poor english. I can make some test if you want.

Revision history for this message
renbag (renbag) wrote :

I get this crash of ubuntuone after logging as an AD domain user. Can this bug be related to bug 546770?

Revision history for this message
TommyBoy (thomaslloyd) wrote :

This is affect me also with Ubuntu 10.04 normal desktop just choosing System -> Prefs -> Ubuntu One then it crashes out with this error.

Revision history for this message
fredrik (fredrik-pipemore) wrote :

** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Traceback (most recent call last):
  File "/usr/bin/ubuntuone-preferences", line 62, in <module>
    from desktopcouch.replication_services import ubuntuone as dcouch
  File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 20, in <module>
    from desktopcouch.start_local_couchdb import process_is_couchdb, read_pidfile
  File "/usr/lib/python2.6/dist-packages/desktopcouch/start_local_couchdb.py", line 38, in <module>
    from desktopcouch import local_files
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 297, in <module>
    xdg_base_dirs.save_config_path("desktop-couch"))
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 237, in __init__
    self.configuration = _Configuration(self)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 91, in __init__
    {'desktopcouch': 'basic'})
gnomekeyring.IOError

Revision history for this message
renbag (renbag) wrote :

I solved my problem, as an Active directory user, after removing this line:

session optional pam_gnome_keyring.so auto_start

in /etc/pam.d/gdm.
Now the keyring daemon starts with the following options:

gnome-keyring-daemon --start --components=ssh

and ubuntuone runs normally.
See also the comments in bug 546770.

Revision history for this message
Cyril Buquet (cyril11) wrote :

May be this can help for kubuntu users like me :

ubuntuone-client and ubuntuone-preferences are ok if i lanch gnome-keyring-daemon in first time :
/usr/bin/gnome-keyring-daemon --start --foreground --components=secrets

Rick McBride (rmcbride)
Changed in ubuntuone-client (Ubuntu):
status: New → Fix Committed
Revision history for this message
cement_head (andorjkiss) wrote :
telovin (vinaya-ou-live)
Changed in ubuntuone-client (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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