On my machine (Ubuntu 12.04 with enablement stack) I could trace the
error
oneconf.networksync:Invalid package data from server
This comes from:
/usr/lib/python2.7/dist-packages/oneconf/networksync
starting in line 89
def list_packages(self, machine_uuid):
"""List all packages for that machine"""
package_list = self._get('packages/%s/' % machine_uuid,
scheme=AUTHENTICATED_API_SCHEME)
if not package_list:
raise APIError('Package list empty')
# FIXME: need to do this hack to transform the http request to a json
format content
try:
package_list = json.loads(package_list[1:-1].replace("'",
'"').replace("True", "true").replace("False", 'false'))
except ValueError, e:
raise APIError('Package list invalid: %s' % e)
return package_list
The #FIXME is not enough, because the server delivers a kind of unicode string.
json.loads(package_list[1:-1].replace("u'", "'").replace("'",
'"').replace("True", "true").replace("False", 'false')
does it for me
** Attachment added: "infraclient_pristine.py"
https://bugs.launchpad.net/ubuntu/+source/oneconf/+bug/1165104/+attachment/4093725/+files/infraclient_pristine.py
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to oneconf in Ubuntu.
https://bugs.launchpad.net/bugs/1165104
Title:
oneconf is only showing the pc you are on in raring and isn't sharing
to other machines
Status in One Hundred Papercuts:
Triaged
Status in “oneconf” package in Ubuntu:
Triaged
Bug description:
In Raring I see only the machince I'm on. In the precise box beside
it I see a couple of boxes but not this one. Please see the
screenshots attached.
I have a feeling that some how the sync has broken but I'm not sure
what technology it is use on the backend.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: oneconf 0.3.3
ProcVersionSignature: Ubuntu 3.8.0-16.26-generic 3.8.5
Uname: Linux 3.8.0-16-generic x86_64
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Fri Apr 5 18:18:24 2013
InstallationDate: Installed on 2013-04-02 (3 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130402)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: oneconf
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1165104/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp