Lucid Ubuntuone preferences not starting gnomekeyring.IOerror

Bug #567194 reported by Nils
72
This bug affects 14 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Invalid
High
Ubuntu One Client Engineering team

Bug Description

This might be similar to #551813.

After having booted up and logged in (latest updates 4/30/10 Lucid 64bit) I can see with the system monitor that both the ubuntuone-syncdaemon and -preferences, then preferences disappears.

My problems:
- the ubuntuone folder is not synchronized but shows the names of directories (deleted a log file in order to encourage incomplete synchronization after an update about 2 weeks ago).
- after manually starting -preferences from the pull down menu it will briefly show that it is starting in the system monitor but not open a window and then disappear again
- I removed the affected desktop machine online hoping that I could add it again to start from scratch but there is no request to "add machine" anywhere
- I added the ubuntuone-beta PPA to see whether that changes behavior but it doesn't so I reverted back to the regular version

Info:
c/p from syndemon.conf:
[bandwidth_throttling]
read_limit = 2097152
write_limit = 2097152
on = False

c/p from syndemon.log (only first lines as this file is very long):
2010-04-20 07:18:23,227 - ubuntuone.SyncDaemon.fsm - INFO - loading updated metadata
2010-04-20 07:18:53,400 - ubuntuone.SyncDaemon.fsm - INFO - initialized: idx_path: 292, idx_node_id: 0, shares: 1
2010-04-20 07:18:53,401 - ubuntuone.SyncDaemon.GeneralINotProc - INFO - Ignoring files: ['\\A#.*\\Z', '\\A.*~\\Z', '\\A.*\\.py[oc]\\Z', '\\A.*\\.sw[nop]\\Z', '\\A.*\\.swpx\\Z', '\\A\\..*\\.tmp\\Z']
2010-04-20 07:18:53,403 - ubuntuone.SyncDaemon.HQ - INFO - HashQueue: _hasher started
2010-04-20 07:18:53,912 - ubuntuone.SyncDaemon.DBus - INFO - DBusInterface initialized.
2010-04-20 07:18:53,912 - ubuntuone.SyncDaemon.Main - INFO - Using '/home/nils/Ubuntu One' as root dir
2010-04-20 07:18:53,912 - ubuntuone.SyncDaemon.Main - INFO - Using '/home/nils/.local/share/ubuntuone/syncdaemon' as data dir
2010-04-20 07:18:53,912 - ubuntuone.SyncDaemon.Main - INFO - Using '/home/nils/.local/share/ubuntuone/shares' as shares root dir
2010-04-20 07:18:53,912 - ubuntuone.SyncDaemon.Main - NOTE - ---- MARK (state: <State: 'INIT' (queues IDLE connection 'Not User Not Network')>; queues: metadata: 0; content: 0; hash: 0, fsm-cache: hit=1 miss=292) ----
2010-04-20 07:18:53,913 - ubuntuone.SyncDaemon.Main - NOTE - Local rescan starting...
2010-04-20 07:18:53,913 - ubuntuone.SyncDaemon.local_rescan - INFO - start scan all volumes
2010-04-20 07:18:54,615 - ubuntuone.SyncDaemon.local_rescan - INFO - scan dir: '/home/nils/Ubuntu One/glaucoma pictures' mdid: 5f919ffa-cf08-4439-9f79-bcd1feae6885
2010-04-20 07:18:54,616 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:T 5f919ffa-cf08-4439-9f79-bcd1feae6885 ['root'::marker:5f919ffa-cf08-4439-9f79-bcd1feae6885] ''Ubuntu One/glaucoma pictures'' | Called new_local_dir (In: F:NA:NA)
2010-04-20 07:18:54,618 - ubuntuone.SyncDaemon.local_rescan - INFO - scan dir: '/home/nils/Ubuntu One/grants' mdid: 3b9946a9-47b2-45a6-a0e7-d4192e05c650

Hope someone can figure this out. Currently this is the only computer affected of 4 running in my lab. Another with a fresh Lucid 64bit install works flawlessly.

Thanks!

Tags: desktop+
Revision history for this message
Nils (loewen-nils) wrote :

Complete removal of everything coming up when searching synaptics for ubuntuone, then rebooting, logging in online and reinstalling doesn't seem to help.
Not sure what to try next. I have all the latest updates and the current Lucid version is "release candidate". Any advice much appreciated! Maybe I should just reinstall Lucid?

Revision history for this message
Nils (loewen-nils) wrote :

When I run ubuntuone-preferences in a terminal I get the message:

desktop:~$ 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 1142, in <module>
prefs_dialog = UbuntuOneDialog()
File "/usr/bin/ubuntuone-preferences", line 534, in __init__
self.__construct()
File "/usr/bin/ubuntuone-preferences", line 974, in __construct
self.devices.list_devices()
File "/usr/bin/ubuntuone-preferences", line 376, in list_devices
token = get_access_token(self.keyring)
File "/usr/bin/ubuntuone-preferences", line 124, in get_access_token
'oauth-consumer-key': 'ubuntuone'})
gnomekeyring.IOError

Revision history for this message
Nils (loewen-nils) wrote :

Looks like an upstream/Gnome problem. Something is wrong with my keyring daemon ("couldn't communicate with keyring daemon" when I open Passwords and Encryption). I tried resetting this keyring without luck following [url]http://ubuntu-tutorials.com/2007/07/06/clearing-or-resetting-the-gnome-keyring/[/url]

I reinstalled all things seahorse and keyring related but still the same problem. Seems to be related to: [url]https://bugs.launchpad.net/ubuntu/+source/seahorse/+bug/569667[/url]

Revision history for this message
Kai Aeberli (kai.aeberli) wrote :

I got the same problem here, in Lucid 32 bit. Same error message. And starting Ubuntu one from the control centre does not work either.

Revision history for this message
Yuioup (mghaoui) wrote :

I have the same problem using Lucid 32-bit on my EEE PC 1000HE:

** 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
Yuioup (mghaoui) wrote :

UbuntuOne doesn't launch at all. Actually this is a serious problem if Canonical is thinking of earning money off of this. If I was a casual user I would be turned off of Ubuntu One by now. IMO this bug should be marked "critical" and should get the highest priority.

Revision history for this message
Kai Aeberli (kai.aeberli) wrote :

yes, you're right. I have for now gone back to dropbox. It works very well, you should try it.

Revision history for this message
John O'Brien (jdobrien) wrote :

Working with several installations of Lucid 64 & 32bit and can't replicate this issue with the gnome keyring. I also use seahorse and don't have a problem.

Are these reports based on a new install or perhaps an upgrade where older packages were not upgraded?

Changed in ubuntuone-client:
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
importance: Undecided → High
Revision history for this message
Yuioup (mghaoui) wrote :

@John In my case it was a fresh install of the 32-bit desktop edition on my EEE PC (not the netbook remix edition). The fresh install was done last Saturday (08/05)

Revision history for this message
Duane Hinnen (duanedesign) wrote :

If you have the gnomekeyring.IOError in your log could you please try the following command in a Terminal and let me know the results.

gnome-keyring-daemon; ubuntuone-preferences

thank you,
duanedesign

Revision history for this message
themroc (rauchweihe) wrote :

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 1146, in <module>
    prefs_dialog = UbuntuOneDialog()
  File "/usr/bin/ubuntuone-preferences", line 538, in __init__
    self.__construct()
  File "/usr/bin/ubuntuone-preferences", line 978, in __construct
    self.devices.list_devices()
  File "/usr/bin/ubuntuone-preferences", line 380, in list_devices
    token = get_access_token(self.keyring)
  File "/usr/bin/ubuntuone-preferences", line 124, in get_access_token
    'oauth-consumer-key': 'ubuntuone'})
gnomekeyring.IOError

gnome-keyring-daemon:

GNOME_KEYRING_CONTROL=/tmp/keyring-wIvyke
SSH_AUTH_SOCK=/tmp/keyring-wIvyke/ssh
GNOME_KEYRING_PID=7333

After executing gnome-keyring-daemon in terminal, ubuntuone-preferences work without an error.

Revision history for this message
pihutch (pih) wrote :

I find that this happens when you have "Don't ask for password on login" checked, and it also has problems remembering my other passwords (wifi, etc). If I switch back to asking for password on login then both issues disappear. Haven't tried UbuntuOne yet. Lucid 32bit, reasonably fresh install.

Revision history for this message
themroc (rauchweihe) wrote :

I'm sorry. I forgot to explain, that I'm use UbuntuOne at Kubuntu 64 and 32bit. In Jaunty it works fully automatic by let the password empty in the gmome-keyring (or manager?).

After upgrading to 10.04, I found the same error-messages like here described in this bug-report.

So I have not "Don't ask for password on login" checked, but I have let the password empty in the gmome-password-manager. But I don't know, how I can change this in Kubuntu.

Revision history for this message
pihutch (pih) wrote :

This post fixed the keyring daemon issue for me (and now I can check out UbuntuOne, hooray!), but I still have other issues with the keyring as the wifi still doesn't connect automatically, but I no longer think that's related: https://bugs.launchpad.net/ubuntu/+source/seahorse/+bug/553032/comments/8

Revision history for this message
themroc (rauchweihe) wrote :

I have a Solution for Kubuntu: The entries in /etc/xdg/autostart were ignored from kdm, so you have to start the services yourself:

create a skript in ~/.kde/Autostart with the following content:

#!/bin/bash
 gnome-keyring-daemon --start --components=pkcs11
 gnome-keyring-daemon --start --components=secrets
 gnome-keyring-daemon --start --components=ssh
/bin/sh -c '[ -d "$HOME/Ubuntu One" ] && ubuntuone-launch'

Make it executable and restart. Now it works.

You can also delete the configuration script ubuntuone-client-applet.desktop in ~/.config, because the client-applet are no longer exist.

Revision history for this message
Yuioup (mghaoui) wrote :

@duanedesign

When I run gnome-keyring-daemon; ubuntuone-preferences I get the following:

GNOME_KEYRING_CONTROL=/tmp/keyring-IWmDlT
SSH_AUTH_SOCK=/tmp/keyring-IWmDlT/ssh
GNOME_KEYRING_PID=250

Then the UbuntuOne preferences starts up.

----

@pihutch I have "Don't ask for password on login" checked as well.

tags: added: desktop+
Revision history for this message
maraja (ugo-grandolini) wrote :

same issue on a fresh 10.04 64bit install:

** 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

I do NOT have "Don't ask for password on login" checked.

Revision history for this message
maraja (ugo-grandolini) wrote :

I can confirm that running:
gnome-keyring-daemon; ubuntuone-preferences

on a terminal fixes the issue

summary: - Lucid (64 bit built 4/20/10) Ubuntuone not synchronizing, -preferences
- not starting
+ Lucid Ubuntuone preferences not starting gnomekeyring.IOerror
Revision history for this message
Philippe (philippe-rast) wrote :

Ok, gnome-keyring-daemon; ubuntuone-preferences works.
But I need to do this at every reboot and sometimes it will still fail. Then I need to kill all processes associated to ubuntuone and give it another try.
This approach is working but for someone like me who was dumb enough to pay for the service it's close to ridiculous.
This bug needs to be resolved soon.

I use ubuntu 10.10 on a 64bit workstation and a 32bit notebook. On both machines it does not work out of the box. The 64bit is a fresh install and the 32bit is an update from 10.04

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect 567194 and any other logs that are relevant for this particular issue.

Changed in ubuntuone-client:
status: New → Incomplete
Revision history for this message
Leo Arias (elopio) wrote :

I'm closing this bug because a lot of time has passed without an answer. If you can give us the information requested, please reopen it.

thanks.

Changed in ubuntuone-client:
status: Incomplete → Invalid
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.