Qinghe Jin created MESOS-210:
--------------------------------

             Summary: couldn't access slave from webui
                 Key: MESOS-210
                 URL: https://issues.apache.org/jira/browse/MESOS-210
             Project: Mesos
          Issue Type: Bug
            Reporter: Qinghe Jin


when I try to access slave node from webui, I got an unhandled 
execption:ValueError('No JSON object could be decoded',)

with the traceback below:
Traceback (most recent call last):
  File "/home/pps/mesos/trunk/src/webui/bottle-0.8.3/bottle.py", line 499, in 
handle
    return handler(**args)
  File "/home/pps/mesos/trunk/src/webui/slave/webui.py", line 57, in index
    return template("index", slave_port = slave_port, log_dir = log_dir)
  File "/home/pps/mesos/trunk/src/webui/bottle-0.8.3/bottle.py", line 1796, in 
template
    return TEMPLATES[tpl].render(**kwargs)
  File "/home/pps/mesos/trunk/src/webui/bottle-0.8.3/bottle.py", line 1775, in 
render
    self.execute(stdout, **args)
  File "/home/pps/mesos/trunk/src/webui/bottle-0.8.3/bottle.py", line 1763, in 
execute
    eval(self.co, env)
  File "/home/pps/mesos/trunk/src/webui/slave/index.tpl", line 11, in <module>
    % state = json.loads(data)
  File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.6/json/decoder.py", line 338, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to