-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Some packages seems to be missing and make this package not working on the last maubot version.
Stacktrace:
[23:19:10](file:////opt/maubot/maubot/loader/zip.py:203)ERRORmaubot.loader.zipFailed to load xyz.maubot.exec v0.1.0
[23:19:10](file:////opt/maubot/maubot/loader/zip.py:203)ERRORmaubot.loader.zipTraceback (most recent call last):
File "/opt/maubot/maubot/loader/zip.py", line 216, in _load
importer.load_module(module)
File "/opt/maubot/maubot/lib/zipimport.py", line 280, in load_module
exec(code, mod.__dict__)
File "/data/plugins/xyz.maubot.exec-v0.1.0.mbp/exec/__init__.py", line 1, in <module>
from .bot import ExecBot
File "/data/plugins/xyz.maubot.exec-v0.1.0.mbp/exec/bot.py", line 29, in <module>
from .runner import PythonRunner, ShellRunner, OutputType
File "/data/plugins/xyz.maubot.exec-v0.1.0.mbp/exec/runner/__init__.py", line 3, in <module>
from .python import PythonRunner
File "/data/plugins/xyz.maubot.exec-v0.1.0.mbp/exec/runner/python.py", line 25, in <module>
from mautrix.util.manhole import asyncify
ImportError: cannot import name 'asyncify' from 'mautrix.util.manhole' (/usr/lib/python3.11/site-packages/mautrix/util/manhole.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/maubot/maubot/loader/zip.py", line 201, in load
return self._load(reset_cache)
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/maubot/maubot/loader/zip.py", line 220, in _load
raise MaubotZipLoadError(f"Failed to load module {module}")
maubot.loader.zip.MaubotZipLoadError: Failed to load module exec
[23:19:10](file:////opt/maubot/maubot/management/api/middleware.py:68)ERRORmaubot.serverError in handler
[23:19:10](file:////opt/maubot/maubot/management/api/middleware.py:68)ERRORmaubot.serverTraceback (most recent call last):
File "/opt/maubot/maubot/loader/zip.py", line 216, in _load
importer.load_module(module)
File "/opt/maubot/maubot/lib/zipimport.py", line 280, in load_module
exec(code, mod.__dict__)
File "/data/plugins/xyz.maubot.exec-v0.1.0.mbp/exec/__init__.py", line 1, in <module>
from .bot import ExecBot
File "/data/plugins/xyz.maubot.exec-v0.1.0.mbp/exec/bot.py", line 29, in <module>
from .runner import PythonRunner, ShellRunner, OutputType
File "/data/plugins/xyz.maubot.exec-v0.1.0.mbp/exec/runner/__init__.py", line 3, in <module>
from .python import PythonRunner
File "/data/plugins/xyz.maubot.exec-v0.1.0.mbp/exec/runner/python.py", line 25, in <module>
from mautrix.util.manhole import asyncify
ImportError: cannot import name 'asyncify' from 'mautrix.util.manhole' (/usr/lib/python3.11/site-packages/mautrix/util/manhole.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/maubot/maubot/management/api/middleware.py", line 49, in error
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/maubot/maubot/management/api/instance.py", line 85, in update_instance
return await _update_instance(instance, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/maubot/maubot/management/api/instance.py", line 69, in _update_instance
await instance.update_started(data.get("started"))
File "/opt/maubot/maubot/instance.py", line 489, in update_started
await (self.start() if started else self.stop())
File "/opt/maubot/maubot/instance.py", line 362, in start
cls = await self.loader.load()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/maubot/maubot/loader/zip.py", line 201, in load
return self._load(reset_cache)
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/maubot/maubot/loader/zip.py", line 220, in _load
raise MaubotZipLoadError(f"Failed to load module {module}")
maubot.loader.zip.MaubotZipLoadError: Failed to load module execMetadata
Metadata
Assignees
Labels
No labels