error:
File “C:\Python27\lib\site-packages\jinja2\environment.py”, line 1008, in render
return self.environment.handle_exception(exc_info, True)
File “C:\Python27\lib\site-packages\jinja2\environment.py”, line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File “<template>”, line 1, in top-level template code
TypeError: ‘builtin_function_or_method’ object is not iterable
Check that the keywords values etc. are used in the template references
{%tc for col in report.threat_score.weeks %} | {{col}} | {%tc endfor %} |
{%tc for col in report.threat_score.values %} | {{col}} | {%tc endfor %} |
{%tc for col in report.threat_score.values %} |
Similar Posts:
- TypeError: ‘unicode’ object is not callable
- TypeError: ‘unicode’ object is not callable
- [salt.master :2195][ERROR ][6219] Failed to allocate a jid. The requested returner …
- Python AttributeError: ‘unicode’ object has no attribute ‘tzinfo’
- Strange frame error caused by incorrect use of flash. Redirect (‘/ path’) in flash
- [Solved] Djiango Create Migrations Error: query = query.decode(errors=’replace’) AttributeError: ‘str’ object has no attribute ‘decode’
- How to Solve Error: TypeError int object is not iterable
- Error report of cell timed task startup: KeyError: ‘scheduler’ KeyError: ‘entries’
- AttributeError: ‘NoneType’ object has no attribute ‘split’ [How to Solve]
- PIP install troubleshooting under Windows [How to Solve]