Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on alpine linux #337

Open
caywin25 opened this issue Nov 23, 2022 · 5 comments
Open

Issue on alpine linux #337

caywin25 opened this issue Nov 23, 2022 · 5 comments

Comments

@caywin25
Copy link

Hello,

After install weechat-matrix on alpine linux, I have this error on weechat boot when I load weechat-matrix.py script :

20:50 python: loading script "/home/test/.local/share/weechat/python/weechat-matrix.py"
20:50 python: stdout/stderr (?): Traceback (most recent call last):
20:50 python: stdout/stderr (?):   File "/home/test/.local/share/weechat/python/weechat-matrix.py", line 43, in <module>
20:50 python: stdout/stderr (?):     import OpenSSL.crypto as crypto
20:50 python: stdout/stderr (?):   File "/usr/lib/python3.10/site-packages/OpenSSL/__init__.py", line 8, in <module>
20:50 python: stdout/stderr (?):     from OpenSSL import SSL, crypto
20:50 python: stdout/stderr (?):   File "/usr/lib/python3.10/site-packages/OpenSSL/SSL.py", line 9, in <module>
20:50 python: stdout/stderr (?):     from OpenSSL._util import (
20:50 python: stdout/stderr (?):   File "/usr/lib/python3.10/site-packages/OpenSSL/_util.py", line 6, in <module>
20:50 python: stdout/stderr (?):     from cryptography.hazmat.bindings.openssl.binding import Binding
20:50 python: stdout/stderr (?):   File "/usr/lib/python3.10/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in <module>
20:50 python: stdout/stderr (?):     from cryptography.hazmat.bindings._openssl import lib
20:50 python: stdout/stderr (?): ModuleNotFoundError: No module named '_cffi_backend'

Could you help me please ?
Thank

@caywin25
Copy link
Author

caywin25 commented Nov 23, 2022

py3-cffi package is already installed.

Thx !

@caywin25
Copy link
Author

Ok sorry, I just managed to launch it.

Is the configuration of the account in weechat possible when its synapse instance is behind a proxy and accessible with port 443?

If I configure my server via: matrix.server.com:443 weechat returns me a 404: matrix: Error: LoginInfoError: 404 unknown error

Thank you

@caywin25
Copy link
Author

I have this error message on weechat :

python: stdout/stderr (matrix): /home/test/.local/share/weechat/python/autoload/weechat-matrix.py:365: DeprecationWarning: ssl NPN is deprecated, use ALPN instead
python: stdout/stderr (matrix):   server.socket.selected_npn_protocol())

Thank you

@craftyguy
Copy link

@caywin25 is this a problem with your matrix server config? I haven't seen that failure, and have been running weechat-matrix on Alpine for over a year now.

@martin-braun
Copy link

@caywin25 How did you manage to get it to run? I installed weechat-matrix via NixOS package manager and my script throws ModuleNotFoundError: No module named '_cffi_backend' as well.

cffi is already satisfied as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants