Giter VIP home page Giter VIP logo

matrix-matrix-bridge's People

Stargazers

 avatar  avatar

matrix-matrix-bridge's Issues

Starting the bridge throws ValueError("Invalid Homeserver") with homeserver https://matrix.mydomain.de:443

Hi,

after installing the bridge according to the README and creating a initial config.toml i tried to run the bridge with:

sudo python -m poetry run main.py

afterwards i get the following exception:

FileNotFoundError

  [Errno 2] No such file or directory: b'/snap/bin/main.py'

  at /usr/lib/python3.8/os.py:601 in _execvpe
       597│         path_list = map(fsencode, path_list)
       598│     for dir in path_list:
       599│         fullname = path.join(dir, file)
       600│         try:
    →  601│             exec_func(fullname, *argrest)
       602│         except (FileNotFoundError, NotADirectoryError) as e:
       603│             last_exc = e
       604│         except OSError as e:
       605│             last_exc = e

A little bit googling didn't provided any helpful results. Any idea what could be the problem?

Using python version 3.8.10 on Ubuntu 20.04.

Feature Request: Possibility to bridge Matrix messages between two accounts/Matrix servers

It would be nice if there is possibility to login to two different Matrix servers and accounts and then this bridge relays messages from server 1 (and room X) to server 2 (and room Y) and vice versa.

There is such use case for this if there is a separate or segrated/standalone Matrix federation or server which is not federated at all.

Config example (ugly mockup):

homeserver[0][url] = "https://example.com"
homeserver[0][ursename] = "example_user"
homeserver[0][password] = "example_password"
homeserver[0][name] = "matrix-server-1"
homeserver[1][url] = "https://foo.bar"
homeserver[1][ursename] = "example_user2"
homeserver[1][password] = "example_password2"
homeserver[1][name] = "matrix-server-2"

# For each bridge:
[[bridge]] # Required
    name = "example_bridge"
    [[bridge.room1]]
        homeserver = "matrix-server-1"
        room_id = "!yRjNdMVvyeIgpYRBit:example.com"
    [[bridge.room2]]
        homeserver = "matrix-server-2"
        room_id = "!OGEhHVWSdvArJzumhm:foo.bar"

Cannot neither upgrade nor run bridge due to poetry based error

Hi,

i have tried to setup your bridge on my matrix server. Unfortunately i get the following error, when i try to install poetry:

myuser@matrix:/opt/matrix-matrix-bridge$ python3 -m poetry install
Creating virtualenv matrix-matrix-bridge-R9GnFoV_-py3.8 in /home/myuser/.cache/pypoetry/virtualenvs

  ModuleNotFoundError

  No module named 'virtualenv.seed.via_app_data'

  at <frozen importlib._bootstrap>:973 in _find_and_load_unlocked 

I already tried to uninstall the virtualenv like suggested here. But i still get the same error.

I'm installing the bridge within a proxmox LXC container. The OS is Ubuntu 20.04.4 LTS. My installed python version is Python 3.8.10

Any ideas, what could be wrong?

Thanks

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.