oneconf does not sync: "Invalid Package data from Server"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oneconf (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On my machine (Ubuntu 12.04 with enablement stack) I could trace the error
oneconf.
This comes from:
/usr/lib/
starting in line 89
def list_packages(self, machine_uuid):
"""List all packages for that machine"""
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:
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(
does it for me
the updated file is added, but its not a proper patch
could not change the commited file