boxdot / gurk-rs

Signal Messenger client for terminal
GNU Affero General Public License v3.0
479 stars 36 forks source link

Gurk seems to crash shortly after startup #223

Closed josephkerkhof closed 1 year ago

josephkerkhof commented 1 year ago

Shortly after starting gurk, it hard crashes (quits). When I run gurk -v and check the log there is this error at the end of the file:

2023-06-02T01:24:42.502985Z ERROR panic: thread 'main' panicked at 'called `Option::unwrap()` on a `None` value': src/signal/impl.rs:55

I see this error a few other times through the whole log file. I'm not exactly sure what's going on. I just set this up yesterday and it worked fine. I'm happy to help provide any other info to debug this.

boxdot commented 1 year ago

Looks like we panic when the group is not yet known. In https://github.com/boxdot/gurk-rs/pull/224, we now just log an error and do not panic anymore.

Edit: the fix is merged. You can install it with: cargo install --git https://github.com/boxdot/gurk-rs gurk

josephkerkhof commented 1 year ago

I tried that but am now having a different problem with my account getting unlinked. I'm not able to confirm that PR fixed this issue. :(

Edit: after a bit more usage and reauthenticating the gurk client, it does seem to pick up new groups.

josephkerkhof commented 1 year ago

This issue is solved when installing from github.