anyupdate? still broken
Search Criteria
Package Details: telegram-tg 0.19.0-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/telegram-tg.git (read-only, click to copy) |
---|---|
Package Base: | telegram-tg |
Description: | terminal telegram client that really works |
Upstream URL: | https://github.com/paul-nameless/tg |
Keywords: | client telegram term terminal tg tui |
Licenses: | Unlicense |
Conflicts: | telegram-tg-git |
Submitter: | j.r |
Maintainer: | j.r |
Last Packager: | j.r |
Votes: | 3 |
Popularity: | 0.030761 |
First Submitted: | 2020-06-28 22:13 (UTC) |
Last Updated: | 2022-09-04 21:57 (UTC) |
Dependencies (13)
- python-setuptools
- python-telegram
- python3 (python)
- python-build (make)
- python-installer (python-installer-git) (make)
- python-poetry (python-poetry-git) (make)
- python-wheel (make)
- ffmpeg (ffmpeg-nox-git, ffmpeg-svt-vp9-git, ffmpeg-intel-full-git, ffmpeg-yt-dlp-bin, ffmpeg-shinobi, ffmpeg-git, ffmpeg-ndi, ffmpeg-mmal, ffmpeg-nocuda, ffmpeg-obs, ffmpeg-cuda, ffmpeg-decklink, ffmpeg-headless, ffmpeg-amd-full-git, ffmpeg-amd-full, ffmpeg-libfdk_aac, ffmpeg-gpl-bin, ffmpeg-v4l2-request-git, ffmpeg-full, ffmpeg-full-git, ffmpeg-jxl, ffmpeg-mpp) (optional) – to record voice msgs and upload videos correctly
- fzf (fzf-git, skim-fzf-dropin) (optional) – to create groups and secret chats, used for single and multiple user selection
- libnotify (libnotify-gtk2, libnotify-id, libnotify-git) (optional) – for notifications, you could also use other programs: see config
- nnn (nnn-icons, nnn-git, nnn-nerd) (optional) – can be used to choose file when sending, customizable with FILE_PICKER_CMD
- ranger (ranger-git, ranger-sixel-git, ranger-alacritty) (optional) – can be used to choose file when sending, customizable with FILE_PICKER_CMD
- urlview (urlview-git, urlview-xdg-git) (optional) – to choose urls when there is multiple in message, use URL_VIEW in config file to use another app, it should accept urls in stdin
Required by (0)
Sources (2)
malcolm commented on 2022-08-10 20:20 (UTC)
j.r commented on 2022-07-25 16:26 (UTC)
@saro @Inko204 I investigated a bit more and found out if I build without a clean chroot, it indeed does not install the files correctly, but idk why. I thing I'll ask at the aur-general ML
saro commented on 2022-07-24 12:31 (UTC)
@j.r
I can confirm that the package is broken with last PKGBUILD
version.
After installation I can see the following list of files installed:
$ pacman -Ql telegram-tg
telegram-tg /usr/
telegram-tg /usr/bin/
telegram-tg /usr/bin/tg
telegram-tg /usr/lib/
telegram-tg /usr/lib/python3.10/
telegram-tg /usr/lib/python3.10/site-packages/
telegram-tg /usr/lib/python3.10/site-packages/tg-0.19.0.dist-info/
telegram-tg /usr/lib/python3.10/site-packages/tg-0.19.0.dist-info/METADATA
telegram-tg /usr/lib/python3.10/site-packages/tg-0.19.0.dist-info/RECORD
telegram-tg /usr/lib/python3.10/site-packages/tg-0.19.0.dist-info/WHEEL
telegram-tg /usr/lib/python3.10/site-packages/tg-0.19.0.dist-info/entry_points.txt
It looks like the actual python files are not installed. With the previous version the result is
$ pacman -Ql telegram-tg
telegram-tg /usr/
telegram-tg /usr/bin/
telegram-tg /usr/bin/tg
telegram-tg /usr/lib/
telegram-tg /usr/lib/python3.10/
telegram-tg /usr/lib/python3.10/site-packages/
telegram-tg /usr/lib/python3.10/site-packages/tg-0.19.0-py3.10.egg-info/
telegram-tg /usr/lib/python3.10/site-packages/tg-0.19.0-py3.10.egg-info/PKG-INFO
telegram-tg /usr/lib/python3.10/site-packages/tg-0.19.0-py3.10.egg-info/SOURCES.txt
telegram-tg /usr/lib/python3.10/site-packages/tg-0.19.0-py3.10.egg-info/dependency_links.txt
telegram-tg /usr/lib/python3.10/site-packages/tg-0.19.0-py3.10.egg-info/entry_points.txt
telegram-tg /usr/lib/python3.10/site-packages/tg-0.19.0-py3.10.egg-info/requires.txt
telegram-tg /usr/lib/python3.10/site-packages/tg-0.19.0-py3.10.egg-info/top_level.txt
telegram-tg /usr/lib/python3.10/site-packages/tg/
telegram-tg /usr/lib/python3.10/site-packages/tg/__init__.py
telegram-tg /usr/lib/python3.10/site-packages/tg/__main__.py
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/__init__.cpython-310.opt-1.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/__init__.cpython-310.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/__main__.cpython-310.opt-1.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/__main__.cpython-310.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/colors.cpython-310.opt-1.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/colors.cpython-310.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/config.cpython-310.opt-1.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/config.cpython-310.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/controllers.cpython-310.opt-1.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/controllers.cpython-310.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/models.cpython-310.opt-1.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/models.cpython-310.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/msg.cpython-310.opt-1.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/msg.cpython-310.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/tdlib.cpython-310.opt-1.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/tdlib.cpython-310.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/update_handlers.cpython-310.opt-1.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/update_handlers.cpython-310.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/utils.cpython-310.opt-1.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/utils.cpython-310.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/views.cpython-310.opt-1.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/__pycache__/views.cpython-310.pyc
telegram-tg /usr/lib/python3.10/site-packages/tg/colors.py
telegram-tg /usr/lib/python3.10/site-packages/tg/config.py
telegram-tg /usr/lib/python3.10/site-packages/tg/controllers.py
telegram-tg /usr/lib/python3.10/site-packages/tg/models.py
telegram-tg /usr/lib/python3.10/site-packages/tg/msg.py
telegram-tg /usr/lib/python3.10/site-packages/tg/tdlib.py
telegram-tg /usr/lib/python3.10/site-packages/tg/update_handlers.py
telegram-tg /usr/lib/python3.10/site-packages/tg/utils.py
telegram-tg /usr/lib/python3.10/site-packages/tg/views.py
Inko204 commented on 2022-07-22 14:57 (UTC)
@j.r @bitreactor
broken:
Traceback (most recent call last):
File "/usr/bin/tg", line 5, in <module>
from tg.__main__ import main
ModuleNotFoundError: No module named 'tg'
i'm on Manjaro.
j.r commented on 2022-07-14 21:51 (UTC)
@bitreactor at least for me it works. Could you provide more details about your build?
bitreactor commented on 2022-07-08 07:23 (UTC) (edited on 2022-07-08 07:23 (UTC) by bitreactor)
Built is broken:
Traceback (most recent call last):
File "/usr/bin/tg", line 5, in <module>
from tg.__main__ import main
ModuleNotFoundError: No module named 'tg'
j.r commented on 2021-05-31 07:45 (UTC)
@franck.stauffer added it to both telegram-tg and telegram-tg-git, thanks for the hint
qontinuum commented on 2021-05-30 14:38 (UTC)
It seems that python-setuptools
is also a runtime dependency
[qontinuum@artixlinux ~]$ tg
Traceback (most recent call last):
File "/usr/bin/tg", line 33, in <module>
sys.exit(load_entry_point('tg==0.17.0', 'console_scripts', 'tg')())
File "/usr/bin/tg", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 855, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/lib/python3.9/site-packages/tg/__main__.py", line 8, in <module>
from tg import config, update_handlers, utils
File "/usr/lib/python3.9/site-packages/tg/update_handlers.py", line 6, in <module>
from tg.controllers import Controller
File "/usr/lib/python3.9/site-packages/tg/controllers.py", line 13, in <module>
from tg.models import Model
File "/usr/lib/python3.9/site-packages/tg/models.py", line 10, in <module>
from tg.tdlib import (
File "/usr/lib/python3.9/site-packages/tg/tdlib.py", line 4, in <module>
from telegram.client import AsyncResult, Telegram
File "/usr/lib/python3.9/site-packages/telegram/client.py", line 21, in <module>
from telegram.tdjson import TDJson
File "/usr/lib/python3.9/site-packages/telegram/tdjson.py", line 8, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
aachukay commented on 2021-04-29 12:12 (UTC)
@j.r Yes it got built just fine with no memory leakage whatsover. Thanks a lot!
j.r commented on 2021-04-29 10:20 (UTC)
@aachukay please try with the new version of the libtd package
Pinned Comments