oneconf does not sync installed packages across computers

Bug #977456 reported by Invincicble Mutant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

oneconf does not synchronise installed package across computers. I have 2 laptops signed in, but the computer list does not show all signed in computers and sync all installed packages across each one. It seems that the menu item does not serve it purpose.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.14.1
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Uname: Linux 3.2.0-22-generic x86_64
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Date: Mon Apr 9 19:57:19 2012
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Invincicble Mutant (ngkengyap) wrote :
Michael Vogt (mvo)
Changed in software-center (Ubuntu):
assignee: nobody → Didier Roche (didrocks)
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks for your report here, I guess you are hitting the same problem than me.
Can you try this:
/usr/share/oneconf/oneconf-service --debug
wait for a minute (it will print some outputs) and drop the content of the terminal here.

You can then call oneconf-query --stop to stop the daemon.

Can you try that multiple times? and attach the results here. I think you are hitting some server side 500 errors as I do. Thanks!

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Invincicble Mutant (ngkengyap) wrote :
Download full text (4.3 KiB)

Hi Didier Roche,

I get either 404 or 500. Got error 500 in my second attempt, and the rest error 404. Any clue?

ngkengyap:~$ /usr/share/oneconf/oneconf-service --debug
WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/ngkengyap/.cache/oneconf/ff3fc229cb843621c3011fcb0000000a/other_hosts'
DEBUG:__main__:daemon up and running
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
DEBUG:oneconf.networksync:Check if other hosts metadata needs to be refreshed
DEBUG:oneconf.networksync:Ensure that current host is not shared
DEBUG:oneconf.networksync:Can't delete current host from infra: 404: {'status': '404', 'content-length': '20', 'via': '1.1 apps.ubuntu.com', '-content-encoding': 'gzip', 'strict-transport-security': 'max-age=2592000', 'vary': 'Authorization,Accept-Encoding', 'server': 'Apache/2.2.14 (Ubuntu)', 'etag': '"40aa569eb6d3f830039cb666c0cda4ee"', 'date': 'Fri, 13 Apr 2012 16:36:29 GMT', 'content-type': 'text/html; charset=utf-8'}
DEBUG:oneconf.networksync.utils:Saving updated /home/ngkengyap/.cache/oneconf/ff3fc229cb843621c3011fcb0000000a/last_sync to disk
DEBUG:oneconf.dbusconnect:Send last sync timestamp: 1334334988.33

ngkengyap:~$ /usr/share/oneconf/oneconf-service --debug
WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/ngkengyap/.cache/oneconf/ff3fc229cb843621c3011fcb0000000a/other_hosts'
DEBUG:__main__:daemon up and running
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
DEBUG:oneconf.networksync:Check if other hosts metadata needs to be refreshed
DEBUG:oneconf.networksync:Ensure that current host is not shared
DEBUG:oneconf.networksync:Can't delete current host from infra: 404: {'status': '404', 'content-length': '20', 'via': '1.1 apps.ubuntu.com', '-content-encoding': 'gzip', 'strict-transport-security': 'max-age=2592000', 'vary': 'Authorization,Accept-Encoding', 'server': 'Apache/2.2.14 (Ubuntu)', 'etag': '"40aa569eb6d3f830039cb666c0cda4ee"', 'date': 'Fri, 13 Apr 2012 16:36:29 GMT', 'content-type': 'text/html; charset=utf-8'}
DEBUG:oneconf.networksync.utils:Saving updated /home/ngkengyap/.cache/oneconf/ff3fc229cb843621c3011fcb0000000a/last_sync to disk
DEBUG:oneconf.dbusconnect:Send last sync timestamp: 1334334988.33
^CTraceback (most recent call last):
  File "/usr/share/oneconf/oneconf-service", line 111, in <module>
    loop.run()
KeyboardInterr...

Read more...

Revision history for this message
Anthony Lenton (elachuni) wrote :

Sounds like the 500 issues could be caused by bug #983106 on the server.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

now that the server side is done, all seems fine for me, can you confirm you are syncing back your package list?

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Please reassign it to me if you get any news on this one :)

Changed in software-center (Ubuntu):
assignee: Didier Roche (didrocks) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for software-center (Ubuntu) because there has been no activity for 60 days.]

Changed in software-center (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.