devstack - openstack dev environments

ValueError : No JSON object could be decoded

Asked by VINAY PATKAR on 2012-05-09

I was setting up devstack yesterday in a network with proxy to connect to internet,, I need some help to solve this error..

++ python -c 'import sys; import json; tok = json.loads(sys.stdin.read()); print tok['\''access'\'']['\''token'\'']['\''id'\''];'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
+ TOKEN=
++ failed
++ local r=1
++ set +o xtrace

Question information

Language:
English Edit question
Status:
Expired
For:
devstack Edit question
Assignee:
No assignee Edit question
Last query:
2012-05-09
Last reply:
2012-05-24
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.