Done, thanks for pointing that bug out. --------- Matt Taylor OS Community Flag-Bearer Numenta
On Thu, Oct 10, 2013 at 11:24 PM, Ari Kamlani <[email protected]> wrote: > > Moving the Plan to "Beta Program" from "Free Trial" seems to have fixed the > json decoding error: > > simplejson.decoder.JSONDecodeError: No JSON object could be decoded: line 2 > > However the Python issues still exist. I assume this is due to the > different module versions or Python Version. > We can either modify for the different json functions or instead move to > using json.loads() instead. > See the options below for each function: > > Repository: git://github.com/numenta/pycept.git > File: /usr/local/lib/python2.7/dist-packages/pycept/cept.py > > GetBitmap function, line 66: > (1) cached_sdr = response.json['bitmap'] -> cached_sdr > =response.json()['bitmap'] > (2) cached_sdr = response.json['bitmap'] -> cached_sdr = > json.loads(response.content)['bitmap'] > > > bitmapToTermsRaw function, line 101: > (1) return response.json -> return response.json() > (2) return response.json -> return json.loads(response.content) > > > - Ari > > _______________________________________________ > nupic mailing list > [email protected] > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org > _______________________________________________ nupic mailing list [email protected] http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
