Skip to content
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 joining a room causes heisenbridge to crash on startup #285

Open
NovaAndrom3da opened this issue Apr 27, 2024 · 0 comments
Open

Error joining a room causes heisenbridge to crash on startup #285

NovaAndrom3da opened this issue Apr 27, 2024 · 0 comments

Comments

@NovaAndrom3da
Copy link

Apr 27 01:29:21 instance-20231029-1656 python3[3426741]: Traceback (most recent call last):
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     return _run_code(code, main_globals, None,
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     exec(code, run_globals)
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/local/lib/python3.10/dist-packages/heisenbridge/__main__.py", line 974, in <module>
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     main()
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/local/lib/python3.10/dist-packages/heisenbridge/__main__.py", line 969, in main
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     asyncio.run(async_main())
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     return loop.run_until_complete(main)
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     return future.result()
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/local/lib/python3.10/dist-packages/heisenbridge/__main__.py", line 965, in async_main
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     await service.run(listen_address, listen_port, args.homeserver, args.owner, args.safe_mode)
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/local/lib/python3.10/dist-packages/heisenbridge/__main__.py", line 749, in run
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     await room.post_init()
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/local/lib/python3.10/dist-packages/heisenbridge/private_room.py", line 961, in post_init
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     await self._detach_hidden_room_internal()
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/local/lib/python3.10/dist-packages/heisenbridge/private_room.py", line 903, in _detach_hidden_room_internal
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     await self.az.intent.send_state_event(
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/local/lib/python3.10/dist-packages/mautrix/appservice/api/intent.py", line 142, in wrapper
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     return await __method(*args, **kwargs)
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/local/lib/python3.10/dist-packages/mautrix/appservice/api/intent.py", line 458, in send_state_event
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     await self._ensure_has_power_level_for(room_id, event_type, state_key=state_key)
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:   File "/usr/local/lib/python3.10/dist-packages/mautrix/appservice/api/intent.py", line 713, in _ensure_has_power_level_for
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]:     raise IntentError(
Apr 27 01:29:21 instance-20231029-1656 python3[3426741]: mautrix.errors.base.IntentError: Power level of @heisenbridge:nova.astraltech.org is not enough for m.room.join_rules in REDACTED_ROOMID

This error prevents heisenbridge from starting and renders it completely useless.

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

No branches or pull requests

1 participant