paul-nameless / tg

terminal telegram client
The Unlicense
943 stars 75 forks source link

Blank screen after installing tg #290

Open numero69 opened 2 years ago

numero69 commented 2 years ago

Used pip3 to install it. Unfortunately, after launching tg, I am met with a blank screen and nothing is happening. I cannot even exit it with CTRL+C. It allowed me to login first and I see the client in my devices. Machine is running a debian fork.

hrueschwein commented 1 year ago

same on openSUSE Tumbleweed

kmacphail commented 1 year ago

Same on Ubuntu 22.04.1 LTS. The application starts asks for the number and lists it on my devices. However it leaves a blank screen. I can exit by pressing q, but it doesn't seem to respond to anything else. I read in a similar bug that installing tdlib resolved their issue, I installed tdlib and ran tg but I was still met with a blank screen. I removed tg, restarted the PC and then reinstalled tg but the outcome remained the same.

TheWhetherMan commented 1 year ago

Same issue here. Using Ubuntu 20.04.5 via Windows Subsystem for Linux.

colutti commented 1 year ago

Same thing here on Fedora 37 KDE using Konsole.

tomaszg7 commented 1 year ago

Seems to be duplicate of https://github.com/paul-nameless/tg/issues/277

massimostanzione commented 1 year ago

Same on xfce4-terminal 0.8.10, Linux Mint 20.2

gambhiro commented 1 year ago

At first I installed with 'pip install tg' (python3.11) and had the blank screen problem.

The I cloned the repo, and adjusted pyproject.toml:

[tool.poetry.dependencies]
python = "~3.10"
python-telegram = "0.17.0"

Ran 'poetry install', activated the venv with 'poetry shell' and now tg runs well.

python --version
Python 3.10.7

python -m tg

# or

python tg/__main__.py
yurenchen000 commented 1 year ago

@gambhiro

[tool.poetry.dependencies]
python = "~3.10"
python-telegram = "0.17.0"


ubuntu 22 lts.

pip3.10 install python-telegram==0.17.0