paul-nameless / tg

terminal telegram client
The Unlicense
943 stars 75 forks source link

black screen after running "tg" #277

Open Kn07-1 opened 2 years ago

Kn07-1 commented 2 years ago

installed from source because pip was being a bitch till i figured out it was just be being stupid

expected behavior tg will run as seen in screenshots and function to any degree

observed behavior
blank terminal not even making a log file anywhere i can see yet i can see it running in htop and will throw an error if multiple instances are running (terminating any subsequent instance instantly)

troubleshooting tried reinstalling using pip, reinstalling and recompiling python 3.8, running in a clean vm, running as root

z8512 commented 2 years ago

solution is use arigram

zigoo0 commented 2 years ago

I'm having the same issue on Ubuntu based OS. Just blank black screen.

tomaszg7 commented 2 years ago

I'm also recently having this problem when I run tg from inside screen. Seems to work fine when started from normal terminal.

Tuxino88 commented 2 years ago

is the developer dead ?

venomega commented 2 years ago

For some kind of reason if you run tg inside a tmux screen, it will work 0_o

pizdjuk commented 2 years ago

same problem here. Urxvt terminal

pizdjuk commented 2 years ago

For some kind of reason if you run tg inside a tmux screen, it will work 0_o

don't work either

navakelvin commented 2 years ago

Same problem here https://github.com/paul-nameless/tg/issues/289#issuecomment-1261845519

tomaszg7 commented 1 year ago

I solve the problem with running tg inside of screen by specifying TERM variable for my terminal such as TERM=foot.

TERM=screen or TERM=xterm cause the issue. Don't know the underlying reason for that.

venomega commented 1 year ago

echo $TERM tmux-256color

also works for me

El mié, 30 nov 2022 a la(s) 08:49, Tomasz Goliński @.***) escribió:

I solve the problem with running tg inside of screen by specifying TERM variable for my terminal such as TERM=foot.

TERM=screen or TERM=xterm cause the issue. Don't know the underlying reason for that.

— Reply to this email directly, view it on GitHub https://github.com/paul-nameless/tg/issues/277#issuecomment-1332178729, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ5XMT2VK5R7SAIZXJ6WHLDWK5LNTANCNFSM5WWYGJTQ . You are receiving this because you commented.Message ID: @.***>

dpnova commented 1 year ago

also seeing this but none of the fixes listed work for me. xfce4 + xmonad on jammy

arigram works though ^

gambhiro commented 1 year ago

Running it with python3.10 might help: https://github.com/paul-nameless/tg/issues/290#issuecomment-1425844102