Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/synapse/federation/federation_server.py", line 828, in on_edu

await handler(origin, content)


 "/usr/local/lib/python3.7/site-packages/synapse/handlers/receipts.py", line 65, in _received_remote_receipt

await self._handle_new_receipts(receipts)


 "/usr/local/lib/python3.7/site-packages/synapse/handlers/receipts.py", line 79, in _handle_new_receipts

receipt.data,


 "/usr/local/lib/python3.7/site-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks

result = result.throwExceptionIntoGenerator(g)


 "/usr/local/lib/python3.7/site-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator

return g.throw(self.type, self.value, self.tb)


 "/usr/local/lib/python3.7/site-packages/synapse/storage/data_stores/main/receipts.py", line 473, in insert_receipt

stream_id=stream_id,


 "/usr/local/lib/python3.7/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks

result = g.send(result)


 "/usr/local/lib/python3.7/site-packages/synapse/storage/database.py", line 499, in runInteraction

after_callback(*after_args, **after_kwargs)


 "/usr/local/lib/python3.7/site-packages/synapse/storage/data_stores/main/receipts.py", line 310, in _invalidate_get_users_with_receipts_in_room

if res and user_id in res:
TypeError: argument of type 'ObservableDeferred' is not iterable

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/local/lib/python3.6/dist-packages/web3/personal.py", line 30, in sendTransaction

[transaction, passphrase],


 "/usr/local/lib/python3.6/dist-packages/web3/manager.py", line 103, in request_blocking

response = self._make_request(method, params)


 "/usr/local/lib/python3.6/dist-packages/web3/manager.py", line 86, in _make_request

return request_func(method, params)


 "/usr/local/lib/python3.6/dist-packages/web3/middleware/gas_price_strategy.py", line 18, in middleware

return make_request(method, params)


 "/usr/local/lib/python3.6/dist-packages/web3/middleware/formatting.py", line 21, in middleware

response = make_request(method, formatted_params)


 "/usr/local/lib/python3.6/dist-packages/web3/middleware/attrdict.py", line 18, in middleware

response = make_request(method, params)


 "/usr/local/lib/python3.6/dist-packages/web3/middleware/formatting.py", line 23, in middleware

response = make_request(method, params)


 "/usr/local/lib/python3.6/dist-packages/web3/middleware/normalize_errors.py", line 9, in middleware

result = make_request(method, params)


 "/usr/local/lib/python3.6/dist-packages/web3/middleware/validation.py", line 45, in middleware

return make_request(method, params)


 "/usr/local/lib/python3.6/dist-packages/web3/middleware/formatting.py", line 20, in middleware

formatted_params = formatter(params)


 "cytoolz/functoolz.pyx", line 236, in cytoolz.functoolz.curry.__call__


 "cytoolz/functoolz.pyx", line 232, in cytoolz.functoolz.curry.__call__


 "/usr/local/lib/python3.6/dist-packages/eth_utils/functional.py", line 22, in inner

return callback(fn(*args, **kwargs))


 "/usr/local/lib/python3.6/dist-packages/web3/utils/formatters.py", line 43, in apply_formatter_at_index

yield formatter(item)


 "cytoolz/functoolz.pyx", line 236, in cytoolz.functoolz.curry.__call__


 "cytoolz/functoolz.pyx", line 232, in cytoolz.functoolz.curry.__call__


 "/usr/local/lib/python3.6/dist-packages/web3/utils/rpc_abi.py", line 59, in apply_abi_formatters_to_dict

[data[field] for field in fields],


 "cytoolz/functoolz.pyx", line 236, in cytoolz.functoolz.curry.__call__


 "cytoolz/functoolz.pyx", line 232, in cytoolz.functoolz.curry.__call__


 "/usr/local/lib/python3.6/dist-packages/web3/utils/abi.py", line 464, in map_abi_data

return pipe(data, *pipeline)


 "cytoolz/functoolz.pyx", line 589, in cytoolz.functoolz.pipe


 "cytoolz/functoolz.pyx", line 565, in cytoolz.functoolz.c_pipe


 "cytoolz/functoolz.pyx", line 236, in cytoolz.functoolz.curry.__call__


 "cytoolz/functoolz.pyx", line 232, in cytoolz.functoolz.curry.__call__


 "/usr/local/lib/python3.6/dist-packages/web3/utils/abi.py", line 496, in data_tree_map

return recursive_map(map_to_typed_data, data_tree)


 "/usr/local/lib/python3.6/dist-packages/web3/utils/decorators.py", line 35, in wrapped

wrapped_val = to_wrap(*args)


 "/usr/local/lib/python3.6/dist-packages/web3/utils/formatters.py", line 117, in recursive_map

items_mapped = map_collection(recurse, data)


 "/usr/local/lib/python3.6/dist-packages/web3/utils/formatters.py", line 104, in map_collection

return datatype(map(func, collection))


 "/usr/local/lib/python3.6/dist-packages/web3/utils/formatters.py", line 116, in recurse

return recursive_map(func, item)


 "/usr/local/lib/python3.6/dist-packages/web3/utils/decorators.py", line 35, in wrapped

wrapped_val = to_wrap(*args)


 "/usr/local/lib/python3.6/dist-packages/web3/utils/formatters.py", line 118, in recursive_map

return func(items_mapped)


 "/usr/local/lib/python3.6/dist-packages/web3/utils/abi.py", line 493, in map_to_typed_data

return ABITypedData(func(*elements))


 "/usr/local/lib/python3.6/dist-packages/web3/utils/normalizers.py", line 42, in wrapper

modified = to_wrap(abi_type, data)


 "/usr/local/lib/python3.6/dist-packages/web3/utils/normalizers.py", line 121, in abi_address_to_hex

validate_address(data)


 "/usr/local/lib/python3.6/dist-packages/web3/utils/validation.py", line 112, in validate_address

raise TypeError('Address {} must be provided as a string'.format(value))
TypeError: Address b'' must be provided as a string
