diamondburned / gtkcord3

A Gtk3 Discord client in Golang
GNU General Public License v3.0
628 stars 28 forks source link

Login loads forever #110

Open AldairSoraka opened 2 years ago

AldairSoraka commented 2 years ago

I built with git clone and go build Then I ran the generated binary but it kept loading forever, what should I do? https://imgur.com/XQwSdgK.png logs on terminal: 2021/10/30 22:01:20 LevelWarning: Gtk: gtk_window_set_titlebar() called on a realized window Error: 22:01:20.690343 [non-fatal] Failed to get Gtkcord token from keyring Info: 22:01:20.690368 Keyring token is empty.

diamondburned commented 2 years ago

Does using this with a TOKEN environment variable work?

AldairSoraka commented 2 years ago

Does using this with a TOKEN environment variable work?

I'm sorry not a programmer and I do not know what that means that xD, and i translated it with the Google translator

diamondburned commented 2 years ago

You basically run gtkcord3 from your terminal like so:

TOKEN="asdasdasdasdasdas" gtkcord3

Where the value inside TOKEN="" is what you would put in the token box in gtkcord3.

AldairSoraka commented 2 years ago

Yeah it works with that

diamondburned commented 2 years ago

I'll reopen this, since it seems like a genuine bug. I don't know how to reproduce it, though. It might have to do with the failed keyring.

Tryware commented 2 years ago

Having the same issue, i tried it with the command you gave but it returned me this:

Error: 22:10:29.153465 [non-fatal] Failed to get Gtkcord token from keyring Info: 22:10:29.153509 Keyring token is empty.

diamondburned commented 2 years ago

Try exporting it.

Tryware commented 2 years ago

I reinstalled and forgot to tell you that it fixed. I followed "Can't launch after installing from AUR #95" steps