[2023-12-18 11:17:43,711] [[email protected]] Error in handler
Traceback (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/com.github.Matthieu-LAURENT39.maubot-characterai-v0.2.1.mbp/cai/__init__.py", line 1, in <module>
from .cai import CAIBot
File "/data/plugins/com.github.Matthieu-LAURENT39.maubot-characterai-v0.2.1.mbp/cai/cai.py", line 13, in <module>
from characterai import PyAsyncCAI
ModuleNotFoundError: No module named 'characterai'
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 cai