Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Synapse 1.7.1 has many Failed to backfill from X because _get_state_for_room() missing 1 required positional argument: 'include_event_in_state' #6575

Closed
Bubu opened this issue Dec 19, 2019 · 3 comments

Comments

@Bubu
Copy link
Contributor

Bubu commented Dec 19, 2019

Description

My Synapse 1.7.1 logs are full of the following errors:

Failed to backfill from X because _get_state_for_room() missing 1 required positional argument: 'include_event_in_state'
Dec 19 17:10:21 bubu synapse[26632]: TypeError: _get_state_for_room() missing 1 required positional argument: 'include_event_in_state'
Dec 19 17:10:21 bubu synapse[26632]:     return f(*args, **kwargs)
Dec 19 17:10:21 bubu synapse[26632]:   File "/usr/lib/python3.8/site-packages/synapse/logging/utils.py", line 79, in wrapped
Dec 19 17:10:21 bubu synapse[26632]:     gen = f(*args, **kwargs)
Dec 19 17:10:21 bubu synapse[26632]:   File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 1604, in unwindGenerator
Dec 19 17:10:21 bubu synapse[26632]:     state, auth = yield self._get_state_for_room(
Dec 19 17:10:21 bubu synapse[26632]:   File "/usr/lib/python3.8/site-packages/synapse/handlers/federation.py", line 799, in backfill
Dec 19 17:10:21 bubu synapse[26632]:     result = g.send(result)
Dec 19 17:10:21 bubu synapse[26632]:   File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
Dec 19 17:10:21 bubu synapse[26632]:     yield self.backfill(
Dec 19 17:10:21 bubu synapse[26632]:   File "/usr/lib/python3.8/site-packages/synapse/handlers/federation.py", line 982, in try_backfill
Dec 19 17:10:21 bubu synapse[26632]: Traceback (most recent call last):
Dec 19 17:10:21 bubu synapse[26632]: During handling of the above exception, another exception occurred:
Dec 19 17:10:21 bubu synapse[26632]: StopIteration: set()
Dec 19 17:10:21 bubu synapse[26632]:     result = g.send(result)
Dec 19 17:10:21 bubu synapse[26632]:   File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
Dec 19 17:10:21 bubu synapse[26632]: Traceback (most recent call last):
Dec 19 17:10:21 bubu synapse[26632]: During handling of the above exception, another exception occurred:
Dec 19 17:10:21 bubu synapse[26632]: StopIteration: []
Dec 19 17:10:21 bubu synapse[26632]:     result = g.send(result)
Dec 19 17:10:21 bubu synapse[26632]:   File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
Dec 19 17:10:21 bubu synapse[26632]: Traceback (most recent call last):
Dec 19 17:10:21 bubu synapse[26632]: During handling of the above exception, another exception occurred:
Dec 19 17:10:21 bubu synapse[26632]: StopIteration: []
Dec 19 17:10:21 bubu synapse[26632]:     result = g.send(result)
Dec 19 17:10:21 bubu synapse[26632]:   File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
Dec 19 17:10:21 bubu synapse[26632]: Traceback (most recent call last):
Dec 19 17:10:21 bubu synapse[26632]: During handling of the above exception, another exception occurred:
Dec 19 17:10:21 bubu synapse[26632]: StopIteration: []
Dec 19 17:10:21 bubu synapse[26632]:     result = g.send(result)
Dec 19 17:10:21 bubu synapse[26632]:   File "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
Dec 19 17:10:21 bubu synapse[26632]: Traceback (most recent call last):

Version information

  • Homeserver: bubu1.eu

  • Version: 1.7.1

  • Install method:
    archlinux package

  • Platform:
    archlinux

@Bubu
Copy link
Contributor Author

Bubu commented Dec 19, 2019

@richvdh FYI

@EDmitry
Copy link

EDmitry commented Dec 20, 2019

I have this error when trying to load history for #ruma:matrix.org. History never gets loaded and I see this in the logs.

@richvdh
Copy link
Member

richvdh commented Dec 20, 2019

fixed by #6576

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants