Package Details: mautrix-telegram 0.15.1-1

Git Clone URL: https://aur.archlinux.org/mautrix-telegram.git (read-only, click to copy)
Package Base: mautrix-telegram
Description: A Matrix-Telegram hybrid puppeting/relaybot bridge.
Upstream URL: https://github.com/tulir/mautrix-telegram
Licenses: AGPLv3
Submitter: BrainDamage
Maintainer: BrainDamage
Last Packager: BrainDamage
Votes: 2
Popularity: 0.000000
First Submitted: 2020-11-09 15:48 (UTC)
Last Updated: 2023-12-27 08:34 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

L0ric0 commented on 2021-06-15 08:57 (UTC)

with the new version of mautrix-telegram the version requirements for python-mautrix and python-teletron have changed.

  • python-mautrix >=0.9.3,<0.10
  • python-telethon >=1.20,<1.22

could you please change this and refere to requirements.txt for further updates

kauron commented on 2021-06-12 11:33 (UTC)

Now that python-brotlipy is no longer in the AUR, can it be replaced by extra/python-brotli?

L0ric0 commented on 2021-04-24 11:05 (UTC)

to prevent errors from python-mautrix updating without a new version of maturix-telegram released, could you please always add a max version to python-mautrix?

kauron commented on 2021-04-21 07:58 (UTC) (edited on 2021-04-21 08:06 (UTC) by kauron)

I've had an error with python-mautrix>=0.9, which has removed the module mautrix.util.network_retry (see release notes), and the bridge couldn't start, as it missed that module. Downgrading python-mautrix to 0.8.18 solved this issue. It seems that mautrix-telegram 0.10 has a fix already (commit).

istobic commented on 2021-04-16 17:05 (UTC)

Hey, thanks for taking time for your detailed response. I'll give you feedback once I have the clean setup.

BrainDamage commented on 2021-04-13 11:29 (UTC)

That's not correct, for one, the package never had such user, it's probably result of some leftover of another package or our own manual installation.

The db is not supposed to be located in /usr/share, /usr/share is for packaged files, not runtime data, the db should be located in /var/lib/username which is th user's home dir, as set per WorkingDirectory

I would advise you to uninstall the package, delete /usr/share/mautrix-telegram; reinstall and pay careful attention to any warning you get during installation about different permissions / users about more conflicting files

istobic commented on 2021-04-13 10:21 (UTC) (edited on 2021-04-13 11:14 (UTC) by istobic)

I'm getting

The job identifier is 5003.
Apr 13 12:19:05 <systemname> systemd[56102]: mautrix-telegram.service: Changing to the requested working directory failed: Permission denied
Apr 13 12:19:05 <systemname> systemd[56102]: mautrix-telegram.service: Failed at step CHDIR spawning alembic: Permission denied

from systemd. Any idea whats wrong? Settings from /usr/share:

drwxr-x--- 1 mx-telegram mx-telegram    112 Apr 13 12:13 mautrix-telegram
-rw-r--r-- 1 root        root        184320 Apr 13 12:23 mautrix-telegram.db

It seems suspicious, that the user here is mx-telegram instead of mautrix-telegram as defined in the mautrix-telegram.service

However, I got the service starting by editing the systemd unit (systemctl edit --full mautrix-telegram.service) and setting the WorkingDirectory to /usr/share/mautrix-telegram/ is this the intended WorkingDirectory?

L0ric0 commented on 2021-03-09 19:48 (UTC) (edited on 2021-03-09 20:33 (UTC) by L0ric0)

edit 2: raised issues at https://github.com/tulir/mautrix-telegram/issues/594 and https://github.com/ahupp/python-magic/issues/239

edit: it seems that python-magic (the python bindings published by the author of the file command) and python-magic-ahupp (looks like an independend implementation of the bindings) have a slightly different interface as with python-magic I'm getting the following exception: AttributeError: module 'magic' has no attribute 'from_buffer'. So the package should probably require python-magic-ahupp until that is fixed

could you please set the package to require a version of python-magic<0.5 as an exeption will be raised if a picture is recived over telegram and this message is not propagated to the matrix server

BrainDamage commented on 2021-01-29 17:16 (UTC)

There is no pip requirement ( it uses setup.py), and no trace of pip mention in the sources other than the docker script. It builds in a clean chroot here. How are you building it?

kauron commented on 2021-01-29 15:59 (UTC)

I had to manually install python-pip, as it wasn't listed as make dependency. Could you add it to the PKGBUILD?