Open BhasherBEL opened 9 months ago
I get a similar error when run in standalone mode:
[2024-03-12 10:53:20,263] [DEBUG@maubot.init] Loading plugin metadata from maubot.yaml
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/opt/maubot_exec/env/lib/python3.11/site-packages/maubot/standalone/__main__.py", line 123, in <module>
bot_module = importlib.import_module(module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/opt/maubot_exec/exec/__init__.py", line 1, in <module>
from .bot import ExecBot
File "/opt/maubot_exec/exec/bot.py", line 29, in <module>
from .runner import PythonRunner, ShellRunner, OutputType
File "/opt/maubot_exec/exec/runner/__init__.py", line 3, in <module>
from .python import PythonRunner
File "/opt/maubot_exec/exec/runner/python.py", line 25, in <module>
from mautrix.util.manhole import asyncify
ImportError: cannot import name 'asyncify' from 'mautrix.util.manhole' (/opt/maubot_exec/env/lib/python3.11/site-packages/mautrix/util/manhole.py)
There are now 3 subsequent forks, which appear to fix parts of the problems with the most recent maubot version (currently 0.4.2
):
Some packages seems to be missing and make this package not working on the last maubot version.
Stacktrace: