Traceback (most recent call last):


 "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/http/server.py", line 77, in wrapped_request_handler

await h(self, request)


 "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/http/server.py", line 326, in _async_render

callback_return = await callback_return


 "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/rest/admin/purge_room_servlet.py", line 55, in on_POST

await self.pagination_handler.purge_room(body["room_id"])


 "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/handlers/pagination.py", line 281, in purge_room

await self.storage.purge_events.purge_room(room_id)


 "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks

result = g.send(result)


 "/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/storage/purge_events.py", line 37, in purge_room

yield self.stores.main.purge_room_state(room_id, state_groups_to_delete)
AttributeError: 'DataStore' object has no attribute 'purge_room_state'

Traceback (most recent call last):


 "mitmproxy/tools/console/master.py", line 281, in run


 "site-packages/urwid/main_loop.py", line 278, in run


 "site-packages/urwid/main_loop.py", line 376, in _run


 "site-packages/urwid/main_loop.py", line 682, in run


 "site-packages/urwid/main_loop.py", line 719, in _loop


 "site-packages/urwid/raw_display.py", line 393, in <lambda>


 "site-packages/urwid/raw_display.py", line 493, in parse_input


 "site-packages/urwid/main_loop.py", line 403, in _update


 "site-packages/urwid/main_loop.py", line 503, in process_input


 "mitmproxy/tools/console/window.py", line 84, in keypress


 "site-packages/urwid/container.py", line 1128, in keypress


 "mitmproxy/tools/console/flowlist.py", line 417, in keypress


 "site-packages/urwid/listbox.py", line 987, in keypress


 "site-packages/urwid/listbox.py", line 939, in make_cursor_visible


 "mitmproxy/tools/console/flowlist.py", line 284, in get_focus


 "mitmproxy/tools/console/flowlist.py", line 123, in __init__


 "mitmproxy/tools/console/flowlist.py", line 132, in get_text


 "mitmproxy/tools/console/common.py", line 427, in format_flow
AttributeError: 'NoneType' object has no attribute 'state'
