Riak Problem w/ Python Client "No JSON object could be decoded"

idmartin idmcraft at gmail.com
Sat Aug 20 19:10:27 EDT 2011

Ive been trying for a few days now to fix this, ive tried every single format
ive seen in examples online and put a JSON approved object as a string (used
several JSON validation sides to check) in and i continually get this

Can anyone give me some seggestions?

Module riakcontrol:128 in search
>>  for r in query.reduce_sort().reduce_limit(5).run():
Module riak.mapreduce:211 in run
>>  result = t.mapred(self._inputs, query, timeout)
Module riak.transports.http:221 in mapred
>>  result = json.loads(response[1])
Module json:326 in loads
>>  return _default_decoder.decode(s)
Module json.decoder:360 in decode
>>  obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Module json.decoder:378 in raw_decode
>>  raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
extra data

View this message in context: http://riak-users.197444.n3.nabble.com/Riak-Problem-w-Python-Client-No-JSON-object-could-be-decoded-tp3271810p3271810.html
Sent from the Riak Users mailing list archive at Nabble.com.

More information about the riak-users mailing list