Traceback (most recent call last):


 "/home/matrixserv/synapse/env/bin/synapse_port_db", line 538, in run

[self.handle_table(*res) for res in setup_res], consumeErrors=True
twisted.internet.defer.FirstError: FirstError[#40, [Failure instance: Traceback: <class 'psycopg2.errors.UndefinedColumn'>: column "ts_valid_until_ms" of relation "server_signature_keys" does not exist

Traceback (most recent call last):


 "J:\test\test.py", line 6, in <module>

test.dump_all()


 "J:\test\test.py", line 55, in dump_all

self.__dump_table_structure(table.name)


 "J:\test\test.py", line 80, in __dump_table_structure

table_description = self.__dynamodb_client.describe_table(TableName=table_name)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\client.py", line 312, in _api_call

return self._make_api_call(operation_name, kwargs)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\client.py", line 588, in _make_api_call

operation_model, request_dict)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\endpoint.py", line 141, in make_request

return self._send_request(request_dict, operation_model)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\endpoint.py", line 168, in _send_request

request, operation_model, attempts)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\endpoint.py", line 233, in _get_response

response_dict, operation_model.output_shape)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\parsers.py", line 212, in parse

parsed = self._do_parse(response, shape)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\parsers.py", line 598, in _do_parse

parsed = self._parse_shape(shape, original_parsed)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\parsers.py", line 261, in _parse_shape

return handler(shape, node)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\parsers.py", line 525, in _handle_structure

raw_value)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\parsers.py", line 261, in _parse_shape

return handler(shape, node)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\parsers.py", line 525, in _handle_structure

raw_value)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\parsers.py", line 261, in _parse_shape

return handler(shape, node)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\parsers.py", line 525, in _handle_structure

raw_value)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\parsers.py", line 261, in _parse_shape

return handler(shape, node)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\parsers.py", line 542, in _handle_timestamp

return self._timestamp_parser(value)


 "J:\PythonVirtualEnv\test\lib\site-packages\botocore\utils.py", line 350, in parse_timestamp

return datetime.datetime.fromtimestamp(value, tzlocal())


 "J:\PythonVirtualEnv\test\lib\site-packages\dateutil\tz\_common.py", line 110, in fromutc

return f(self, dt)


 "J:\PythonVirtualEnv\test\lib\site-packages\dateutil\tz\_common.py", line 224, in fromutc

dt_wall = self._fromutc(dt)


 "J:\PythonVirtualEnv\test\lib\site-packages\dateutil\tz\_common.py", line 188, in _fromutc

dtoff = dt.utcoffset()


 "J:\PythonVirtualEnv\test\lib\site-packages\dateutil\tz\tz.py", line 178, in utcoffset

if self._isdst(dt):


 "J:\PythonVirtualEnv\test\lib\site-packages\dateutil\tz\tz.py", line 247, in _isdst

dstval = self._naive_is_dst(dt)


 "J:\PythonVirtualEnv\test\lib\site-packages\dateutil\tz\tz.py", line 216, in _naive_is_dst

return time.localtime(timestamp + time.timezone).tm_isdst
OSError: [Errno 22] Invalid argument
