Giter Site home page Giter Site logo

maubottrumptweet's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

maubottrumptweet's Issues

ModuleNotFoundError: No module named 'mautrix.client.api.types'

Hello,

I tried installing your plugin into a fresh docker image from dock.mau.dev/maubot/maubot:latest. It runs perfectly and am able to load other plugins without difficulty.

I also made sure to install wkhtmltopdf on the docker image.

Thank you for your help!

ERRORloader.zipFailed to load casavant.jeff.trumptweet v1.0.4
15:20:56ERRORloader.zipTraceback (most recent call last):
  File "/opt/maubot/maubot/loader/zip.py", line 192, in _load
    importer.load_module(module)
  File "/opt/maubot/maubot/lib/zipimport.py", line 282, in load_module
    exec(code, mod.__dict__)
  File "/data/plugins/casavant.jeff.trumptweet-v1.0.4.mbp/plugin.py", line 14, in <module>
    from mautrix.client.api.types.event.message import MediaMessageEventContent
ModuleNotFoundError: No module named 'mautrix.client.api.types'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/maubot/maubot/loader/zip.py", line 177, in load
    return self._load(reset_cache)
  File "/opt/maubot/maubot/loader/zip.py", line 196, in _load
    raise MaubotZipLoadError(f"Failed to load module {module}")
maubot.loader.zip.MaubotZipLoadError: Failed to load module plugin
15:20:56ERROR@ : Failed to start
15:20:56ERROR@ : Traceback (most recent call last):
  File "/opt/maubot/maubot/loader/zip.py", line 192, in _load
    importer.load_module(module)
  File "/opt/maubot/maubot/lib/zipimport.py", line 282, in load_module
    exec(code, mod.__dict__)
  File "/data/plugins/casavant.jeff.trumptweet-v1.0.4.mbp/plugin.py", line 14, in <module>
    from mautrix.client.api.types.event.message import MediaMessageEventContent
ModuleNotFoundError: No module named 'mautrix.client.api.types'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/maubot/maubot/client.py", line 127, in start
    await self._start(try_n)
  File "/opt/maubot/maubot/client.py", line 190, in _start
    await self.start_plugins()
  File "/opt/maubot/maubot/client.py", line 193, in start_plugins
    await asyncio.gather(*[plugin.start() for plugin in self.references])
  File "/opt/maubot/maubot/instance.py", line 162, in start
    cls = await self.loader.load()
  File "/opt/maubot/maubot/loader/zip.py", line 177, in load
    return self._load(reset_cache)
  File "/opt/maubot/maubot/loader/zip.py", line 196, in _load
    raise MaubotZipLoadError(f"Failed to load module {module}")
maubot.loader.zip.MaubotZipLoadError: Failed to load module plugin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.