Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'bool' object has no attribute '__getitem__' #3

Open
xiaochuanjiejie opened this issue Oct 25, 2019 · 0 comments
Open

TypeError: 'bool' object has no attribute '__getitem__' #3

xiaochuanjiejie opened this issue Oct 25, 2019 · 0 comments

Comments

@xiaochuanjiejie
Copy link

xiaochuanjiejie commented Oct 25, 2019

Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/tornado/web.py", line 1592, in _execute
result = yield result
File "/usr/lib64/python2.7/site-packages/tornado/gen.py", line 1133, in run
value = future.result()
File "/usr/lib64/python2.7/site-packages/tornado/concurrent.py", line 261, in result
raise_exc_info(self._exc_info)
File "/usr/lib64/python2.7/site-packages/tornado/gen.py", line 1147, in run
yielded = self.gen.send(value)
File "zookeeper_monitor/handlers.py", line 90, in get
self.render('{}.html'.format(self.ACTION), data=res)
File "/usr/lib64/python2.7/site-packages/tornado/web.py", line 766, in render
html = self.render_string(template_name, **kwargs)
File "/usr/lib64/python2.7/site-packages/tornado/web.py", line 907, in render_string
return t.generate(**namespace)
File "/usr/lib64/python2.7/site-packages/tornado/template.py", line 346, in generate
return execute()
File "host_html.generated.py", line 78, in _tt_execute
_tt_tmp = data['stat']['head'] # host.html:21 (via layout.html:12)
TypeError: 'bool' object has no attribute 'getitem'

Has anyone ever encountered this problem??

Python Version:Python 2.7.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant