Traceback (most recent call last):


 "/usr/local/bin/capa", line 11, in <module>

load_entry_point('flare-capa', 'console_scripts', 'capa')()


 "/opt/capa/capa/main.py", line 581, in main

print(capa.render.render_vverbose(meta, rules, capabilities))


 "/opt/capa/capa/render/__init__.py", line 235, in render_vverbose

return capa.render.vverbose.render_vverbose(doc)


 "/opt/capa/capa/render/vverbose.py", line 221, in render_vverbose

render_rules(ostream, doc)


 "/opt/capa/capa/render/vverbose.py", line 208, in render_rules

render_match(ostream, match, indent=1)


 "/opt/capa/capa/render/vverbose.py", line 146, in render_match

render_node(ostream, match, match["node"], indent=indent)


 "/opt/capa/capa/render/vverbose.py", line 102, in render_node

render_statement(ostream, match, node["statement"], indent=indent)


 "/opt/capa/capa/render/vverbose.py", line 40, in render_statement

ostream.write(statement["count"] + " or more")
TypeError: unsupported operand type(s) for +: 'int' and 'str'

Traceback (most recent call last):


 "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run

self._context.run(self._callback, *self._args)


 "/usr/src/homeassistant/homeassistant/helpers/event.py", line 103, in state_change_listener

event.data.get("new_state"),


 "/usr/src/homeassistant/homeassistant/core.py", line 368, in async_run_job

target(*args)


 "/usr/src/homeassistant/homeassistant/helpers/event.py", line 130, in template_condition_listener

template_result = condition.async_template(hass, template, variables)


 "/usr/src/homeassistant/homeassistant/helpers/condition.py", line 369, in async_template

value = value_template.async_render(variables)


 "/usr/src/homeassistant/homeassistant/helpers/template.py", line 221, in async_render

return compiled.render(kwargs).strip()


 "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render

self.environment.handle_exception()


 "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception

reraise(*rewrite_traceback_stack(source=source))


 "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise

raise value.with_traceback(tb)


 "<template>", line 1, in top-level template code
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
