-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when listing rooms in a space #17278
Comments
Hi @hakkelt, do you know which endpoint Element Android is calling when you complete the mentioned action? The code in the logs should only get triggered by a user attempting to join a room, though I'm not sure why tapping on "Explore rooms" would cause that to happen. Regardless, this does appear to be a bug. Would you be willing to toss your suggested change in a PR and we can merge it in? |
I realized I had copied the wrong log entry (the one copied earlier was some other error caused by the same line). This is the one I get after trying to view the list of rooms in a space:
I would gladly create a PR, but I was unsure whether it was enough or if I should correct other calls to |
I think just fixing the one usage for now should be enough. This problem may be related to this issue: python-attrs/attrs#1038 So rather than blindly trying to fix issues that may or may not exist, I think it would be best for the PR to be only for this one line:
|
Description
Up until my most recent server upgrade, listing rooms in a space worked fine, but since then I receive the following error messages:
It looks like your homeserver version does not support Spaces
(Element Android),Error while loading rooms
(app.element.io). The bug might have been introduced by #16785 (@erikjohnston @reivilibre), as changing line 783 at/synapse/storage/databases/main/state.py
fromto
apparently fixes the problem, and this line was introduced in the mentioned PR.
Steps to reproduce
Homeserver
private homeserver
Synapse Version
1.108.0
Installation Method
pip (from PyPI)
Database
single postgresql server
Workers
Single process
Platform
Fedora Linux 37 (Server Edition)
Python 3.11.6
Configuration
probably unrelated, but mautrix-meta bridge is configured
Relevant log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: