Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank screen after installing tg #290

Open
numero69 opened this issue Oct 23, 2022 · 8 comments
Open

Blank screen after installing tg #290

numero69 opened this issue Oct 23, 2022 · 8 comments

Comments

@numero69
Copy link

numero69 commented Oct 23, 2022

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
Copy link

same on openSUSE Tumbleweed

@kmacphail
Copy link

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
Copy link

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

@colutti
Copy link

colutti commented Nov 18, 2022

Same thing here on Fedora 37 KDE using Konsole.

@tomaszg7
Copy link

Seems to be duplicate of #277

@massimostanzione
Copy link

Same on xfce4-terminal 0.8.10, Linux Mint 20.2

@gambhiro
Copy link

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
Copy link

yurenchen000 commented Apr 1, 2023

@gambhiro

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

ubuntu 22 lts.

  • ❌ change TERM env or run inside screen tmux not help
  • ✅ change python-telegram from 0.15.0 to 0.17.0 works
pip3.10 install python-telegram==0.17.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants