imbev / matrix-matrix-bridge Goto Github PK
View Code? Open in Web Editor NEWA bridge for the Matrix Protocol that connects Matrix rooms to each other.
License: GNU General Public License v3.0
A bridge for the Matrix Protocol that connects Matrix rooms to each other.
License: GNU General Public License v3.0
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.
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"
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.