tulir / gomuks

A terminal based Matrix client written in Go.
https://maunium.net/go/gomuks
GNU Affero General Public License v3.0
1.34k stars 120 forks source link

Error when opening gomuks #408

Open ChocolatePie698 opened 1 year ago

ChocolatePie698 commented 1 year ago

Trying to run Gomuks like I normally do in a terminal (using kitty), the application crashes and dumps a file with this in it:

failed to load auth-cache.yaml: yaml: control characters are not allowed goroutine 1 [running]: runtime/debug.Stack() /usr/lib/go/src/runtime/debug/stack.go:24 +0x65 maunium.net/go/gomuks/debug.PrettyPanic({0xf82a00, 0xc000445080}) debug/debug.go:133 +0x19a maunium.net/go/gomuks/debug.Recover() debug/debug.go:107 +0x5a panic({0xf82a00, 0xc000445080}) /usr/lib/go/src/runtime/panic.go:884 +0x212 maunium.net/go/gomuks/config.(*Config).LoadAuthCache(0xc000155ce0?) config/config.go:290 +0xa5 maunium.net/go/gomuks/config.(*Config).LoadAll(0xc000155ce0) config/config.go:200 +0x1b8 main.NewGomuks(0x1128cb8, {0xc00002fa60, 0x1c}, {0xc000030bd0, 0x21}, {0xc00002faa0, 0x1b}, {0xc0000a6000, 0x17}) gomuks.go:85 +0x191 main.main() main.go:82 +0x54e

I'm unable to locate that file so I'm kinda lost on why it's no longer running.