Comment 46 for bug 369038

Revision history for this message
giganetom (giganetom) wrote :

I had the same problem for a few days. I tried to run "u1sync --authorize", than I got an error:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 576, in msg_reply_handler
    reply_handler(*message.get_args_list(**get_args_opts))
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 276, in got_state
    self.acquire_access_token(description, store)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 345, in acquire_access_token
    self.open_in_browser(oauth_request.to_url())
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 256, in open_in_browser
    self._forward_error_callback(IOError(errors))
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 145, in _forward_error_callback
    raise error
IOError: Hiba az URL megjelenítése közben: Nem sikerült a gyermekfolyamat („/usr/local/firefox/firefox”) végrehajtása (Nincs ilyen fájl vagy könyvtár)

The last says: Error opening URL: Child process („/usr/local/firefox/firefox”) could not be started (No such file or directory).

And this was the problem: Before I switched to Karmic, I used vanilla firefox wich was installed at the location above. Now I am using Karmic-kind-of firefox, but the "default browser" somehow slipped back to the old installation. The problem is, that I removed that firefox instance long ago.

A had a very similar issue like this before, and the solution was the same: set the default browser correctly.

I suggest adding a "wrong default browser" error handler to ubuntu-one, because now it just fails silently when such a wrong setting is present.

Anyway, Ubuntu One is pure awsomeness, :) keep on the good work.