cannot go through step 4, pressing "ubuntu one" in Applications » Internet, nothing happens

Bug #396350 reported by Nicola S.
This bug report is a duplicate of:  Bug #369038: xdg-open fails to launch browser. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Triaged
Undecided
dobey

Bug Description

I cannot go through step 4, because when I press "ubuntu one" in Applications » Internet, nothing happens...
this is what happens in the terminal:

nicola@cappuccino:~$ ubuntuone-client-applet --signup
Error showing URL: son process "/home/nicola/Scrivania/firefox/firefox"failed (No file or directory)
Traceback (most recent call last):
  File "/var/lib/python-support/python2.6/dbus/connection.py", line 578, 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 230, in got_state
    self.acquire_access_token(description, store)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 297, in acquire_access_token
    self.open_in_browser(oauth_request.to_url())
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py", line 211, in open_in_browser
    raise Exception("Failed to launch browser")
Exception: Failed to launch browser

It's trying to launch Firefox from a /firefox/firefox folder on my desktop, that doesn't exist
(first two lines of terminal output were not in english,so I translated them, sorry if they are not entirely correct)

Tags: desktop+
Revision history for this message
Matt Griffin (mattgriffin) wrote :

Thanks for filing this bug. This should be resolved as of a few hours ago. Try reinstalling from Step 1 and restarting your system after Step 2 (to ensure all processes are killed). After the restart, continue from Step 3 and see if it launches you into Step 4 for computer authentication.

Revision history for this message
Nicola S. (strambinico) wrote : Re: [Bug 396350] Re: cannot go through step 4, pressing "ubuntu one" in Applications » Internet, nothing happens

Thank you very much for answering so quickly!

Tried as you said, but the problem still remains. I also tried uninstalling
completely the ubuntuone-client package and reinstalling from zero but,
nope, no luck...still firefox deosn't start..

Revision history for this message
roosta69 (roosta69) wrote :

I just ran into nothing happening when clicking Ubuntu One from the Applications menu. However, running "ubuntuone-client-applet --signup" from command line worked as expected.

$ ubuntuone-client-applet --signup
/usr/bin/ubuntuone-client-applet:215: GtkWarning: Error parsing gtk-icon-sizes string:
 'panel-menu=24,24
panel=20,20
gtk-button=18,18
gtk-large-toolbar=24,24'
  self.set_from_icon_name('ubuntuone-client')

Revision history for this message
Nicola S. (strambinico) wrote :

Nope, I still got the bug, clicking does nothing, and in the terminal
sometimes it says only *"Segmentation fault"* and nothing happens, if I try
again it says:

*Errore nel mostrare l'URL: Esecuzione del processo figlio
"/home/nicola/Scrivania/firefox/firefox" non riuscita (Nessun file o
directory)*
Traceback (most recent call last):
  File "/var/lib/python-support/python2.6/dbus/connection.py", line 578, 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 230, in got_state
    self.acquire_access_token(description, store)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py",
line 297, in acquire_access_token
    self.open_in_browser(oauth_request.to_url())
  File "/usr/lib/python2.6/dist-packages/ubuntuone/oauthdesktop/auth.py",
line 211, in open_in_browser
    *raise Exception("Failed to launch browser")
Exception: Failed to launch browser*

could it help ti reinstall again from beginning?

Revision history for this message
highwind (highwindmx) wrote :

i get upgrade to r71 and still no icon in menu

but good news is after run "ubuntuone-client-applet" it's "working" now.

Revision history for this message
Nicola S. (strambinico) wrote :

I finally found out what my bug was: somehow the installation of ubuntuone
client made a change into my System > Preferences > Preferred Applications,
so that web browser was "custom" with the command
"home/myname/Desktop/firefox/firefox", and that's why the --signup command
was searching for that path to open firefox for the signup procedure. I
changed it back to "Firefox - open links with browser settings" and
everything is working fine now, I managed to add my pc and add files etc.
etc.

Revision history for this message
Eric Casteleijn (thisfred) wrote :

Nicola and highwind: have you both installed ubuntuone-client-gnome rather than ubuntuone-client? This is the new top level package as of a few days ago, but unfortunately there is no way to make apt automatically upgrade to a package with a different name.

Nicola: are you 100% sure the installation of Ubuntu One changed your preferred web browser? You did not download a new version of Firefox to your desktop to play around with which could have caused this? It would be a very worrying thing if the Ubuntu One client changed this setting, especially into a path value that seems a very strange place for a browser to live. I cannot find any place in the code which would even touch the preference settings. (This is not saying it didn't happen, I just want to eliminate all other possibilities first.)

Revision history for this message
highwind (highwindmx) wrote :
Changed in ubuntuone-client:
status: New → Incomplete
tags: added: desktop+
Revision history for this message
Eric Casteleijn (thisfred) wrote :

thanks highwind, I would have believed you without a screenshot too ;)

You say it's "working": does that mean it's working for you but not perfectly? If so, what is it that it does not yet do that you would expect it to?

Revision history for this message
highwind (highwindmx) wrote :

Eric Castelelijn ,thank you.
i just wonder if i have installed the correct packages because there is still a package called "ubuntuone-storage-protocol" seems related but not installed yet.

my qustions are simple:
1.i still get no shortcut icon in my menu,do i need to add one by myself(and if so what should i input? maybe "
 ?need a argument?") or it's just a reported bug.
2.i download firefox3.5 and install it in my own folder,and first time when i run "ubuntuone-client-applet --sign" in my shell, it seems ubuntuone have difficult in finding default web browser ,and it make firefox crash.
3.after some "i don't know and forgetted" steps ,the applet shows on my panel and web brower shows "add this compute " and i get ubuntuone "connected" and the applet showed it's working
4.it run automatically when the system start,and i need to input my password everytime when i login ,and it seems not good.
5.i changed my files arrangement in my local folder but i found they didn't show any change in web server even after several hours.
6.after all of these,i found ubuntone can't get connected again .

maybe it's just because my poor network.

Revision history for this message
Eric Casteleijn (thisfred) wrote :

> 1.i still get no shortcut icon in my menu,do i need to add one by myself(and if so what should i input? maybe " ?need a argument?") or it's just a reported bug.

So, under Applications > Internet you do not see an item Ubuntu One?

> 2.i download firefox3.5 and install it in my own folder,and first time when i run "ubuntuone-client-applet --sign" in my shell, it seems ubuntuone have difficult in finding default web browser ,and it make firefox crash.

if you run the following commands in the terminal, do they (one or both) also make firefox crash?:

xdg-open http://ubuntuone.com
xdg-open http://google.com

4.it run automatically when the system start,and i need to input my password everytime when i login ,and it seems not good.

That sounds like a problem with the authentication token, could you try removing the Ubuntu One token from Passwords tab under
Accessories > Passwords and Encryption Keys

5.i changed my files arrangement in my local folder but i found they didn't show any change in web server even after several hours.

this sounds like a bug reported elsewhere: https://bugs.launchpad.net/ubuntuone-client/+bug/392417 Could you mark that bug as 'affects me too', and add the specific details of your situatuon there?

6.after all of these,i found ubuntone can't get connected again .

If you are currently in this state (where you can't connect), can you run the command:

'apport-collect -p ubuntuone-client 396350'

Revision history for this message
highwind (highwindmx) wrote : apport-collect data

.home.wind..cache.ubuntuone.log.syncdaemon.exceptions.log:

Architecture: i386
DistroRelease: Ubuntu 9.04
MediaBuild: Ubuntu 9.04 "Jaunty Jackalope" - Release i386 (20090421.3)
NonfreeKernelModules: nvidia
Package: ubuntuone-client 0.90.3+r71-0ubuntu1~ppa1~jaunty
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=zh_CN.UTF-8
UbuntuoneClientPackages:
 ubuntuone-client 0.90.3+r71-0ubuntu1~ppa1~jaunty
 ubuntuone-storage-protocol N/A
 ubuntuone-ppa N/A
Uname: Linux 2.6.28-13-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
highwind (highwindmx) wrote :
Revision history for this message
highwind (highwindmx) wrote :
Revision history for this message
highwind (highwindmx) wrote :
Changed in ubuntuone-client:
assignee: nobody → Rodney Dawes (dobey)
status: Incomplete → Triaged
Revision history for this message
highwind (highwindmx) wrote :

1.
yes,no item "ubuntu one"

2.
xdg-open http://ubuntuone.com
xdg-open http://google.com
each open a site and it seems ok

4.
i will try

5.
6.
do you think i did the right job?

Revision history for this message
Nicola S. (strambinico) wrote : Re: [Bug 396350] Re: cannot go through step 4, pressing "ubuntu one" in Applications » Internet, nothing happens

Eric Casteleijn, thank you,yes I have the ubuntuone-client-gnome, and you
are absolutely right! the preferences were changed, but it was not
ubuntuone's installation fault...I'm sorry to have caused this trouble,
anyway thank you again for your help, now it's working fine.

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.