Authorization Error

Bug #405974 reported by jrd
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Incomplete
Undecided
Unassigned

Bug Description

After installing, then clicking then client icon from internet->menu, I get a "Authorization Error". No web page loads as per step 4

The details of the error are:

(gnome-open:4582):GLib-CRITICAL ** ...: assertion `file_name != NULL' failed
Error showing url: Failed to execute ch...3D4405842" (No such file or directory)

Because I can't "add" my computer to Ubuntu One I tried manually with: u1sync --authorize
This resulted in the following error. Not sure if it is relevant.

jrd@jrd-laptop:~$ sudo u1sync --authorize
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/gtk2reactor.py", line 185, in run
    self.__run()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/gtk2reactor.py", line 113, in wrapper
    return real_cb(real_s, condition)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/gtk2reactor.py", line 217, in callback
    self.simulate() # fire Twisted timers
  File "/usr/lib/python2.6/dist-packages/twisted/internet/gtk2reactor.py", line 225, in simulate
    self.runUntilCurrent()
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 729, in runUntilCurrent
    f(*a, **kw)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/u1sync/client.py", line 189, in _obtain_token
    oauth_client.clear_token()
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 133, in clear_token
    items = self._get_keyring_items()
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 112, in _get_keyring_items
    self.consumer.key})
gnomekeyring.NoKeyringDaemonError:

Revision history for this message
jrd (oberto) wrote :

The details of the error are:

(gnome-open:4582):GLib-CRITICAL ** ...: assertion `file_name != NULL' failed
Error showing url: Failed to execute ch...3D4405842" (No such file or directory)

description: updated
jrd (oberto)
description: updated
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

Thanks for trying Ubuntu One.
looks like your are missing a dependency: the gnome keyring, or the keyring daemon is failing to start.

Could you confirm this?

Changed in ubuntuone-client:
status: New → Incomplete
Revision history for this message
jrd (oberto) wrote :

I do have gnome-keyring installed (2.26.1-0ubuntu1). I'm not sure how to test the if the daemon is failing or not?

As the issue prevents the "add computer" webpage to load, a workaround to the solution is calling the UbuntuOne app from the command line. This will result in the error but as part of the error the add computer web address is included. I Copied and pasted that in Firefox and could continue as normal.

Revision history for this message
TeoK (teo-blu) wrote :

On start up. Ubuntu One shows alert:

Authorization failed

Failed to launch firefox. no such file / directory.

this happens regardless of firefox running or not.

~
It's a shame that this Canonical's OWN app doesnt work

Revision history for this message
Dale Stubblefield (dalestubblefield) wrote :

The problem is that it is looking for firefox at "/opt/firefox3.1/firefox".

I was able to work around this by making a symlink at that location that points to the real firefox.

  # mkdir /opt/firefox3.1
  # ln -s /usr/bin/firefox /opt/firefox3.1/firefox

It worked fine after that. Not an ideal solution. A few extra lines of code could easily fix this.

Revision history for this message
dobey (dobey) wrote : Re: [Bug 405974] Re: Authorization Error

The problem here is that you presumably tried a custom install of
Firefox 3.1 to /opt previously, and set your preferred web browser to be
that, in the Default Applications preferences dialog. You would need to
change this any time you want to change your default browser, as you
have done. A symlink will work, but it will probably break again in the
future if that symlink disappears, or the binary it points to is ever
removed.

On Sun, 2009-08-09 at 23:25 +0000, Dale Stubblefield wrote:
> The problem is that it is looking for firefox at
> "/opt/firefox3.1/firefox".
>
> I was able to work around this by making a symlink at that location that
> points to the real firefox.
>
> # mkdir /opt/firefox3.1
> # ln -s /usr/bin/firefox /opt/firefox3.1/firefox
>
> It worked fine after that. Not an ideal solution. A few extra lines of
> code could easily fix this.
>

Revision history for this message
Dale Stubblefield (dalestubblefield) wrote :

Rodney - I see what you are saying. I was unfamiliar the the Preferred Applications dialog.

Thanks!

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.