bad json string

Bug #1078995 reported by Fantoccini
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
cloud-images
Won't Fix
Undecided
Unassigned

Bug Description

Hi,

The json string on: http://cloud-images.ubuntu.com/locator/ec2/releasesTable is badly formatted, there is a superfluous comma at the end of 4th last line (222nd line). JavaScript can parse this string but python can't.

Thanks,
TianYi

affects: ubuntu-website → cloud-init
Revision history for this message
Scott Moser (smoser) wrote :

Hi,
  Thanks for raising this.
  I'd like to suggest that http://cloud-images.ubuntu.com/locator/ec2/releasesTable is not intended to be externally consumed (other than by that browser application).

  We do, however have that data available in 2 supported formats now:
* simplestreams: http://cloud-images.ubuntu.com/releases/streams/v1/index.sjs
* "/query": http://cloud-images.ubuntu.com/query/

The simplestreams data should largely be self explanatory for parsing, with aws specific data at http://cloud-images.ubuntu.com/releases/streams/v1/com.ubuntu.cloud:released:aws.js .

There is a package 'simplestreams' available in Ubuntu raring (http://launchpad.net/simplestreams) that also has a client and tools for reading the data.

Revision history for this message
Scott Moser (smoser) wrote :
no longer affects: cloud-init
Changed in ubuntu:
status: New → Won't Fix
tags: added: cloud-images cloud-images-build
Mathew Hodson (mhodson)
affects: ubuntu → cloud-images
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.