nothing happens when i click on the ubuntu one icon from the menu or the me menu

Bug #579158 reported by kps
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
New
Undecided
Unassigned
ubuntuone-client (Ubuntu)
New
High
Unassigned

Bug Description

I have Ubuntu 10.04 with the latest updates installed,when i click on ubuntu one client ,nothing happens.Using the me menu has no effect neither does the icon in the Preferences menu.
i tied a fix stated in the ubuntu forums but got the following error:-

karan@ubuntu:~$ u1sync --authorize
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/gtk2reactor.py", line 249, in run
    self.__run()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/gtk2reactor.py", line 120, in wrapper
    return real_cb(real_s, condition)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/gtk2reactor.py", line 283, in callback
    self.simulate() # fire Twisted timers
  File "/usr/lib/python2.6/dist-packages/twisted/internet/gtk2reactor.py", line 293, in simulate
    self.runUntilCurrent()
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 751, in runUntilCurrent
    f(*a, **kw)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/u1sync/client.py", line 73, in wrapper
    ent = func(*arg, **kwargs)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/u1sync/client.py", line 295, in _obtain_token
    oauth_client.clear_token()
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 181, in clear_token
    items = self._get_keyring_items()
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 153, in _get_keyring_items
    self.consumer.key})
gnomekeyring.IOError:

Revision history for this message
Mitch Towner (kermiac) wrote :

I'm sorry to hear Ubuntu One is not working properly for you. If you would like to help debug the problem that would be greatly appreciated. You can do the following in order to provide important details that will help determine the root cause of this issue.

1) Quit the Ubuntu One client. Open Applications->Accessories->Terminal, then run the command:
u1sdtool -q

2) Run the following in the Terminal:
mv ~/.cache/ubuntuone/log ~/.cache/ubuntuone/log_old && mkdir ~/.cache/ubuntuone/log

3) Run the following in the Terminal to open/create this file:
gedit ~/.config/ubuntuone/syncdaemon.conf

#Add the following two (2) lines to this file and save:
[logging]
level.default = TRACE

4) Run the following in the Terminal to start the ubuntu one deamon/service:
u1sdtool -c

5) Let Ubuntu One run for a while, copy some files into your Ubuntu One Folder.
Then attach your ubuntuone logs to this bug. Please zip your $HOME/.cache/ubuntuone/log/ folder and attach the zip here.

You can attach logs to this bug report by clicking the 'Add Attachment or patch' button at the bottom of the page. Thank you for filing this bug report and helping to make Ubuntu better.

Changed in ubuntuone-client:
status: New → Incomplete
Revision history for this message
kps (k-preet-singh) wrote :
Download full text (21.4 KiB)

thanks for the help man..
i tried what you suggested and have attached the log files.
also when i try the third step there are lots of errors in the terminal and then the file opens.
the errors are as follows;-
and i tried opening the ubuntu one client again but nothing.
when i use the me menu nothing happens but when i use the preferences menu i get a minimized window in the bottom panel saying "Starting ubuntu one" but it disappears and nothing happens.

error: line 53087: bad flag vector alias
error: line 53088: bad flag alias index: 0
error: line 53088: bad flag vector alias
error: line 53090: bad flag alias index: 0
error: line 53090: bad flag vector alias
error: line 53094: bad flag alias index: 0
error: line 53094: bad flag vector alias
error: line 53095: bad flag alias index: 0
error: line 53095: bad flag vector alias
error: line 53096: bad flag alias index: 0
error: line 53096: bad flag vector alias
error: line 53097: bad flag alias index: 0
error: line 53097: bad flag vector alias
error: line 53098: bad flag alias index: 0
error: line 53098: bad flag vector alias
error: line 53099: bad flag alias index: 0
error: line 53099: bad flag vector alias
error: line 53101: bad flag alias index: 0
error: line 53101: bad flag vector alias
error: line 53103: bad flag alias index: 0
error: line 53103: bad flag vector alias
error: line 53104: bad flag alias index: 0
error: line 53104: bad flag vector alias
error: line 53105: bad flag alias index: 0
error: line 53105: bad flag vector alias
error: line 53106: bad flag alias index: 0
error: line 53106: bad flag vector alias
error: line 53107: bad flag alias index: 0
error: line 53107: bad flag vector alias
error: line 53108: bad flag alias index: 0
error: line 53108: bad flag vector alias
error: line 53109: bad flag alias index: 0
error: line 53109: bad flag vector alias
error: line 53110: bad flag alias index: 0
error: line 53110: bad flag vector alias
error: line 53111: bad flag alias index: 0
error: line 53111: bad flag vector alias
error: line 53112: bad flag alias index: 0
error: line 53112: bad flag vector alias
error: line 53115: bad flag alias index: 0
error: line 53115: bad flag vector alias
error: line 53116: bad flag alias index: 0
error: line 53116: bad flag vector alias
error: line 53117: bad flag alias index: 0
error: line 53117: bad flag vector alias
error: line 53119: bad flag alias index: 0
error: line 53119: bad flag vector alias
error: line 53120: bad flag alias index: 0
error: line 53120: bad flag vector alias
error: line 53121: bad flag alias index: 0
error: line 53121: bad flag vector alias
error: line 53122: bad flag alias index: 0
error: line 53122: bad flag vector alias
error: line 53123: bad flag alias index: 0
error: line 53123: bad flag vector alias
error: line 53124: bad flag alias index: 0
error: line 53124: bad flag vector alias
error: line 53125: bad flag alias index: 0
error: line 53125: bad flag vector alias
error: line 53126: bad flag alias index: 0
error: line 53126: bad flag vector alias
error: line 53127: bad flag alias index: 0
error: line 53127: bad flag vector alias
error: line 53128: bad flag alias index: 0
error: line 53128: bad flag vector alias
error: ...

Revision history for this message
Mitch Towner (kermiac) wrote :

Can you please check to see whether seahorse can start (Applications --> Accessories --> Passwords & Encryption Keys). Also please see whether starting gnome-keyring fixes this issue. This can be done by running "gnome-keyring" (without the quotes) from the run dialogue box (ALT+F2) or from a terminal window.

Thanks in advance!

Changed in ubuntuone-client:
status: Incomplete → New
Changed in ubuntuone-client (Ubuntu):
status: New → Incomplete
Revision history for this message
kps (k-preet-singh) wrote :

seahorse window comes up but has the following written on the status bar..

Couldn't communicate with key ring daemon

and gnome-keyring in the terminal gives:-

karan@ubuntu:~$ gnome-keyring
usage: gnome-keyring command [options]
commands: import

Revision history for this message
Mitch Towner (kermiac) wrote :

Sorry for the confusion, that should have been "gnome-keyring-daemon"

Please run "gnome-keyring-daemon" (without the quotes) from a terminal window & then open Ubuntu One preferences as you normally would.

Thanks in advance!

Revision history for this message
kps (k-preet-singh) wrote :

karan@ubuntu:~$ gnome-keyring-daemon
GNOME_KEYRING_CONTROL=/tmp/keyring-lOPhyR
SSH_AUTH_SOCK=/tmp/keyring-lOPhyR/ssh
GNOME_KEYRING_PID=4020

the output of gnome-keyring-daemon is above..

and then the ubuntu one client worked like a charm..
what can i do to do this at boot(by default)..

Revision history for this message
Mitch Towner (kermiac) wrote :

I am glad to hear that has temporarily worked around your issue. Can you please do the following:

1. Go to System --> Preferences --> Startup Applications

2. Click on the Item: "Certificate and Key Storage" and then click on "Edit"

3.Paste the text from the text box next to "Command" into this bug report (See attached command.png screenshot)

4. Click on "cancel" & then close the "Startup Applications" window.

Thanks in advance!

Revision history for this message
kps (k-preet-singh) wrote :

the text in the command box is:-
gnome-keyring-daemon --start --components=pkcs11

Revision history for this message
Mitch Towner (kermiac) wrote :

Thank you for replying with the requested information. Please do the following & report your results:

1. Change this text in the text box (mentioned in comment #7 - see "command.png") from "gnome-keyring-daemon --start --components=pkcs11" to "gnome-keyring-daemon" (without the quotes)
2. Click on the "save" button.
3. Close "Startup Applications Preferences"
4. Restart your computer
5. Open Ubuntu One as you normally would

Please advise if Ubuntu One now works as expected after a reboot. Thanks in advance!

Revision history for this message
kps (k-preet-singh) wrote :

ubuntu one works after reboot.
but i get a dialog box asking for password everytime i restart..
the dialog box has something like this..

            Enter password to unlock your login keyring

            The login keyring did not get unlocked when you logged into your computer.

Is this due to the command i changed

Revision history for this message
Mitch Towner (kermiac) wrote :

Hi kps, I am glad the work-around has resolved your issue with gnome-keyring. I believe that you *may* be receiving the dialogue asking to unlock your keyring due to applying this workaround.

One way to overcome this issue is to reset your gnome keyring password by following the steps outlined at https://answers.edge.launchpad.net/ubuntu/+question/97580. When prompted to enter a new password, change it to be the same as your login password or leave it blank & click on the "OK" button.

Revision history for this message
kps (k-preet-singh) wrote :

i follow the steps but get stuck at this
apparently there is no such file;;

rm: cannot remove `default.keyring': No such file or directory

Revision history for this message
Alexandre Patenaude (alexandrep) wrote :

Just to tell that I also also am affected by this bug, and I noticed something:

- I configured my account in "users-admin" (System -> Administration -> Users and Groups) in such way that my user session can be started without my password to be entered manually.

- When I log in with this setting, then I open Seahorse (Applications -> Accessories -> Password and Encryption Keys), I get the same problem Mitch Towner ran in: Seahorse "couldn't communicate with key ring daemon". Ubuntu One doesn't work. I have to start "gnome-keyring-daemon" manually, then Seahorse can communicate with my key ring daemon, and Ubuntu One works again.

- Now, in "users-admin", I configure my user account to force my password to be entered for my user session to be started. I log out. I log in again, enter my account password in GDM, my session starts.

- In Seahorse, I don't have any error (Seahorse can communicate with my key ring daemon), and Ubuntu One works properly.

So, maybe Mitch Towner is in the same situation? Could this problem appear when a user can log in without a password?

If you need more information, logs, command outputs, etc., I'd be glad to send them.

Revision history for this message
Mitch Towner (kermiac) wrote :

Hi kps. Unfortunately I did not realise the keyring filename was changed in Lucid. Sorry for the confusion. Please follow these new instructions.

Copy & paste the following 2 commands into your terminal. This will delete your default keyring password.

cd ~/.gnome2/keyrings
rm default.keyring

Now you will need to reboot. When prompted to enter a new password, change it to be the same as your login password or leave it blank & click on the "OK" button.

Thanks in advance!

Revision history for this message
kps (k-preet-singh) wrote :

cd ~/.gnome2/keyrings
rm default.keyring

these are the same commands as the previous ones and i get the same error once again..

Revision history for this message
Mitch Towner (kermiac) wrote :

Sorry. Copy+Paste fail. The commands to try are:

cd ~/.gnome2/keyrings
rm login.keyring

Revision history for this message
kps (k-preet-singh) wrote :

i tried that now i get another dialog box saying the following:-
An application wants access to the keyring 'Default', but it is locked

Revision history for this message
Mitch Towner (kermiac) wrote :

Did you have anything else open that was accessing your keyring at the time?

This now appears to be a gnome-keyring related bug as opposed to an ubuntuone related bug.

Perhaps the following *may* work:
cd ~/.gnome2/keyrings
sudo rm login.keyring

Then reboot your computer

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

Making bug 567194 the master bug for this. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report.

thank you,
duanedesign

Changed in ubuntuone-client (Ubuntu):
importance: Undecided → High
status: Incomplete → New
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.