Open strongpapazola opened 2 years ago
Same here. I've also tried to use my own codes in the config file as:
API_ID = 'XXXXXX'
API_HASH = '....'
to no avail.
P.S.: @strongpapazola althought it's not the cause of the issue, regarding the find: ‘/root/.cache/tg/files’
, I wouldn't run tg (or any other IM) as root.
Ah, downgrading tdlib from 1.8.6 to 1.8.5 fixed the issue for me.
tdlib
how exactly did you do that ? are you running docker as doc? as docker run -it --rm ghcr.io/paul-nameless/tg ?
@heitumo nope. I was about to update the OpenBSD tdlib package (currently at 1.8.4) when I saw that 1.8.6 broke td. Haven't tried with newer versions yet.
@omar-polo Are you able to run tg and log in ?
@heitumo yes, with tg 0.19 and tdlib 1.8.4 i can login and it works.
% pkg_info | egrep '^(tg|tdlib|py3-telegram)-'
py3-telegram-0.15.0p0 Python wrapper for Telegram tdlib
tdlib-1.8.4p0 cross-platform library for building Telegram clients
tg-0.19.0p1 ncurses Telegram client
i got the idea that maybe the newer versions of tdlib needed some tweaks here since some some users had a similar issue with telega too: https://github.com/zevlg/telega.el/issues/374
note that you probably need to downgrade https://github.com/alexander-akhmetov/python-telegram to 0.15 too.
Same here. I've also tried to use my own codes in the config file as:
API_ID = 'XXXXXX' API_HASH = '....'
to no avail.
P.S.: @strongpapazola althought it's not the cause of the issue, regarding the
find: ‘/root/.cache/tg/files’
, I wouldn't run tg (or any other IM) as root.
Hi!! I use Arch and some things differs from you, like tdlib versions and I couldn't downgrade python-telegram for some reason I still don't know. Should I set API_ID and API_HASH for this or take another set of actions?