matrix.sh
matrix.sh copied to clipboard
File upload via Pantalaimon
I'm trying to use Pantalaimon so that messages become encrypted.
Simple text works ok. Images don't. Since this does not happen if not using Pantalaimon, it can be that the issue is not with Matrix.sh but pantalaimon itself, but i cannot debug further.
Error in matrix.sh:
matrix.sh --image --file=5Mph94m.jpeg
Sending file...
{"m.upload.size":2147483648}
Uploading...
jq: error (at
Error in Pantalaimon log:
pantalaimon-pantalaimon-1 | [2023-01-04 21:25:14.699830] INFO: pantalaimon: Adding media info for aguiarvieira.pt/lvGHuLnVIzFqiBgfzLXhUtBK to the store pantalaimon-pantalaimon-1 | Error handling request pantalaimon-pantalaimon-1 | Traceback (most recent call last): pantalaimon-pantalaimon-1 | File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request pantalaimon-pantalaimon-1 | resp = await request_handler(request) pantalaimon-pantalaimon-1 | File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 504, in _handle pantalaimon-pantalaimon-1 | resp = await handler(request) pantalaimon-pantalaimon-1 | File "/usr/local/lib/python3.8/site-packages/pantalaimon/daemon.py", line 1053, in send_message pantalaimon-pantalaimon-1 | return await _send(self.conf.ignore_verification) pantalaimon-pantalaimon-1 | File "/usr/local/lib/python3.8/site-packages/pantalaimon/daemon.py", line 1005, in _send pantalaimon-pantalaimon-1 | if content["info"].get("thumbnail_url", False): pantalaimon-pantalaimon-1 | KeyError: 'info'