Unable to sync between computers

Bug #1179903 reported by Alberto Salvia Novella
116
This bug affects 24 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Triaged
High
Papercuts Ninjas
Ubuntu Software Center
Confirmed
Undecided
Unassigned
software-center (Ubuntu)
Triaged
Critical
Unassigned

Bug Description

*********************
STEPS TO REPRODUCE
*********************
1. Initialize session in two different computers which are synced using Ubuntu One.
2. In the Software Center of one of these computers, enable the "sync between computers" option. This can be done by the Software Center's "file" menu.
3. Do the same in the Software Center of the second computer.

*********************
EXPECTED BEHAVIOUR
*********************
The Software Center of the second computer to show the first computer to be available to sync.

****************
REAL BEHAVIOUR
****************
The Software Center never shows a different computer than the local one.

****************
RELEVANT DETAILS
****************
Bug #1197568 is linked but not duplicated of this flaw.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: software-center 5.6.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Tue May 14 13:21:12 2013
InstallationDate: Installed on 2013-05-12 (1 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :
Changed in software-center (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-center (Ubuntu):
status: New → Confirmed
Changed in software-center (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Brian Millan (brian.millan) wrote :

What other info can I supply?

Ubuntu 13.04
software-center 5.6.0-0ubuntu2
uname -a Linux 3.8.0-21-generic #32-Ubuntu SMP Tue May 14 22:16:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
terminal output attached

FWIW this is reproducible on all three machines I have:

ASUS A53Z AMD A6-3420M 1.5 GHz AMD Graphics
GIGABYTE GA-D525TUD Intel Atom D525 1.8GHz Intel Graphics
ZOTAC IONITX-L-E Intel Atom 330 (1.6GHz, dual-core) NVIDIA Graphics

x86_64 on all three.

Brian

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Are the three machines running Ubuntu 13.04?

Revision history for this message
Brian Millan (brian.millan) wrote :

@Alberto

Yes all running 13.04.
Have also tried:

oneconf-query --list --hosts

The result is only the host that I run the command on is listed. Haven't tried:

oneconf-query --debug --list --hosts

yet.

Brian

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

I think this bug report is now rich in detail and ready to be worked on.

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

SETTING IMPORTANCE TO HIGH

Since this flaw triggers bug #1197568, rendering essential features or functionality of the application or dependencies broken or ineffective, it has an importance of "high".

Changed in software-center (Ubuntu):
importance: Medium → High
Revision history for this message
John Russell (jrussell-88) wrote :

I have the same problem with a fresh install of Ubuntu 13.04 x64.

Software Centre says on the bottom of the Sync Between Computers page: 'To sync with another computer, chhoose "Sync between Computers" from that computer.' No other computers are listed.

The UbuntuOne app - Devices tab - lists all my pcs under my account, and files are syncing across all the machines.

From my Ubuntu One account on the web - My Account - Devices - I can see that the other machines - Ubuntu 11.04 to 12.10 - have logged in to sync but Ubuntu Software Centre on the 13.04 machine hasn't yet linked to Ubuntu One.

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

This renders paid applications not to be installable in multiple devices.

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Since this bug severely affects applications beyond the package responsible for the root cause, it has an importance of Critical.

Changed in software-center (Ubuntu):
importance: High → Critical
description: updated
description: updated
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Please, confirm bug #1197568.

Thank you.

Revision history for this message
EricDHH (ericdhh) wrote :

Have 3 computers, all 13.04 amd64 and no other is listed on every single computer. They are perfectly isolated in software center, but work together in ubuntuone.

Here is the missing test from above:

eric@tethys:~$ oneconf-query --debug --list --hosts
DEBUG:__main__:Direct call: only take from cache
DEBUG:oneconf.hosts:LOGO None: None
WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/eric/.cache/oneconf/f5ce68771d2f285894c5c3f1519fc1ad/other_hosts'
DEBUG:oneconf.hosts:Request to compute an list of all hosts
Dieser Anbieter, der in OneConf gespeichert ist, wird aufgelistet:
ID: f5ce68771d2f285894c5c3f1519fc1ad [Current]
 name: tethys
 share inventory: True

Revision history for this message
Hermann (blablup-b) wrote :

Same problem here:
I have 2 computers, both 13.04 amd64.
After choosing sync, software center shows only the local pc but never the other machine.
Ubuntu1 shows both machines; file sync works fine.

Revision history for this message
Hermann (blablup-b) wrote :

Attached is the console output after starting softare-center.

Changed in software-center (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
VladimirCZ (vlabla) wrote :

Same problem here with 13.04 amd64.
After choosing sync, software center shows only the local pc but never the other machines that have 12.04 amd64 and can see each other without problem.

Revision history for this message
Kevin C. (kedoc) wrote :

I got exactly the same behavior on my personal (i386) and professional (amd64) computers, both running Ubuntu 13.04 and connected on the same Ubuntu One account.

If it can help, here is what I get when I start oneconf-service in debug mode (the log shown here is from Ubuntu 13.04 i386):
$ /usr/share/oneconf/oneconf-service --debug
DEBUG:oneconf.hosts:LOGO 0ed271f4b7404458c65d173ff692aa0fa9554d05c3bae85f1400e7571370986465.4888024: /home/kevin/Images/wallpaper-1085004.jpg
DEBUG:oneconf.hosts:Save current host to disk
DEBUG:oneconf.utils:Saving updated /home/kevin/.cache/oneconf/94c7f53ef51c0cf6aecd5eff517da29e/host to disk
WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/kevin/.cache/oneconf/94c7f53ef51c0cf6aecd5eff517da29e/other_hosts'
DEBUG:__main__:daemon up and running
DEBUG:__main__:Setting loop quit ping: 300s
DEBUG:__main__:Create a sync handler with infra
DEBUG:oneconf.distributor:get_distro: 'Ubuntu'
DEBUG:oneconf.networksync.netstatus:network status changed to 70
DEBUG:oneconf.networksync.ssohandler:Try to get a proxy
DEBUG:oneconf.networksync.ssohandler:look for credential
DEBUG:oneconf.networksync.netstatus:Connectivity state changed to: True
DEBUG:oneconf.networksync.ssohandler:credential found
DEBUG:oneconf.networksync:Start processing sync
ERROR:oneconf.networksync:WebClient server answering but not available
DEBUG:__main__:No more activity, go to sleep

Please let me know if I can post any other useful information.

Revision history for this message
Kevin C. (kedoc) wrote :

I think that this issue is linked to/caused by this one: https://bugs.launchpad.net/ubuntu/+source/oneconf/+bug/1165104

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Status changed to 'Triaged' because the bug is:

- Valid.
- Well described.
- Reported in the upstream project.
- Ready to be worked on by a developer.

Changed in software-center (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Mike Cole (mikecole) wrote :

I see this has been sitting here for 2 months with no additional updates noted. Is there any movement expected on this issue for 13.04? I tried updating to 13.10, but it broke my openconnect which is absolutely vital to me doing my job, so I was forced to roll it back. I never got so far as to try the software sync in 13.10. Can anyone comment on the odds of actually getting a fix for this in 13.04 before support ends? I really don't want to have to wait until April's LTS release to get a functional sync in place if I don't have to.

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Since this bug:

- Impacts the ease of use.
- Is easy to fix.
- Would be encountered by the average user.
- Affects the default installation of the latest Ubuntu or Kubuntu desktop release.

it's a paper cut.

Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Since this bug has a severe usability impact on a small portion of Ubuntu users, it has a priority of "High" on the "One Hundred Papercuts" project.

Changed in hundredpapercuts:
importance: Undecided → High
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Since this bug:

- Has a status of "Triaged" in Ubuntu.
- Its fix is already evident.

it's also triaged in the "One Hundred Papercuts" project.

Changed in hundredpapercuts:
status: New → Triaged
Changed in software-center:
status: New → Confirmed
Changed in hundredpapercuts:
assignee: nobody → Papercuts Ninja (papercuts-ninja)
Revision history for this message
Bruno Nova (brunonova) wrote :

As already mentioned, the problem is probably in oneconf: Bug #1165104.
I've added a patch to that bug that can, luckily, help to fix it. A developer should check/test it.

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.