Ubuntu One client fails to sync files due to xdg-open not allowing subscription completion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntuone-client (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubuntuone-client
Having signed up for an Ubuntu One account, I fired up the ubuntuone-client via Applications-
- although I can login to my Ubuntu One account via Firefox, no files ever appear there, even though the Ubuntu One directory on my system shows a number of files along with the green tick supposedly showing they have been synced to the remote server.
- I think I was supposed to register my computer with the Ubuntu One service, but never got prompted. This seems to be related to the error above and the fact that none of the URL-opener commands on my system seem to work:
[jhunt@uno]:~> xdg-open 'https:/
Error showing url: Operation not supported
[jhunt@uno]:~> gnome-open 'https:/
Error showing url: Operation not supported
[jhunt@uno]:~> gvfs-open 'https:/
gvfs-open: https:/
I did find a command called exo-open (part of XFce from the exo-utils package), which *does* work and open the URL in firefox correctly, but this open command isn't being used :-)
exo-open 'https:/
Before anyone asks, Yes, my default web browser *is* firefox in System-
Further details:
[jhunt@uno]:~> cat .config/
[ubuntuone]
connected = True
connect = 0
show_applet = 1
bookmarked = True
[jhunt@uno]:~>
File ~/.cache/
_______
2010-01-08 21:01:59,007 - ubuntuone.
2010-01-08 21:02:05,877 - ubuntuone.
Traceback (most recent call last):
File "/usr/lib/
access_token = self.main.
File "/usr/lib/
return self.oauth_
File "/usr/lib/
raise NoAccessToken("No access token found.")
NoAccessToken: No access token found.
2010-01-08 21:03:31,947 - ubuntuone.
2010-01-08 21:04:49,639 - ubuntuone.
2010-01-08 21:04:49,640 - ubuntuone.
_______
Again, I believe the auth token error is because the registration was never completed due to the bug in xdg-open.
I've found a workaround for this bug...
mkdir /tmp/bin && cd /tmp/bin $*,new- tab)" client- tools
cat >xdg-open<<EOF
firefox -remote "openURL(
EOF
for c in gnome-open gvfs-open
do
ln -s xdg-open $c
done
export PATH=/tmp/bin:$PATH
sudo apt-get install ubuntuone-
which xdg-open # should return /tmp/bin/xdg-open rather than /usr/bin/xdg-open now
u1sync --authorize
The last command should fire up a firefox window and ask you to add the computer name to your Ubuntu One service. You can then sync files in your "Ubuntu One" directory with the remote server.
The question is: who broke gvfs-open, or is it just my machine which has this issue?