Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Can't open on arch with any terminal #5

Closed
g-casey opened this issue Jul 5, 2019 · 5 comments
Closed

Can't open on arch with any terminal #5

g-casey opened this issue Jul 5, 2019 · 5 comments

Comments

@g-casey
Copy link

g-casey commented Jul 5, 2019

Missing token OR username and password!
panic: failed to unlock correct collection '/org/freedesktop/secrets/aliases/default'

goroutine 1 [running]:
main.main()
        /home/jg3/6cord/main.go:146 +0x1f87
log file: 
2019/07/05 07:33:51 main.go:422: Storing token inside keyring...
2019/07/05 07:33:51 main.go:424: Failed to set keyring! Continuing anyway... fai
led to unlock correct collection '/org/freedesktop/secrets/aliases/default'    
2019/07/05 07:33:52 main.go:351: Discordgo: 0 2 [S0:CID1]: got close frame, code
: %d, Msg: %q [1002 ]                                                          
panic: exit status 1

goroutine 1 [running]:
main.main()
        /home/jg3/6cord/main.go:439 +0x1f0f

This happens in any terminal and with or without gnome-keyring installed

@diamondburned
Copy link
Owner

Missing token OR username and password!

Did you have -t?

@g-casey
Copy link
Author

g-casey commented Jul 6, 2019

same error with -t

goroutine 1 [running]:
main.main()
        /home/jg3/6cord/main.go:439 +0x1f0f
2019/07/05 21:07:50 main.go:422: Storing token inside keyring...
2019/07/05 21:07:50 main.go:424: Failed to set keyring! Continuing anyway... failed to unlock correct collection '/org/
freedesktop/secrets/aliases/default'                                                                                  
2019/07/05 21:07:53 main.go:351: Discordgo: 0 2 [S0:CID1]: got close frame, code: %d, Msg: %q [1002 ]
panic: exit status 1

@g-casey
Copy link
Author

g-casey commented Jul 7, 2019

I fixed it by installing kde. I was on i3 before. Something about gnome-keyring needs a desktop environment for it to work I think.

@g-casey g-casey closed this as completed Jul 7, 2019
@diamondburned
Copy link
Owner

Keyring should not be mandatory if a token is provided (and is not empty). This is something else.

@GwynethLlewelyn
Copy link

I know that this is an ancient issue, but to specifically fix the keyring issues (or get a workaround), maybe it's worth taking a look at this issue on another package.

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

No branches or pull requests

3 participants