RasmusLindroth / tut

TUI for Mastodon with vim inspired keys
https://tut.anv.nu
MIT License
449 stars 29 forks source link

Runtime Error When Scrolling Notifications #104

Closed MickTheLinuxGeek closed 2 years ago

MickTheLinuxGeek commented 2 years ago

Good day.

I'm having an issue while using tut. I'm using POP! OS as my operating system and has all updates applied. I've tried the amd64 binary and also building from the source with the same issue. What happens: I navigate down to the notifications section and begin to scroll through them. I get to the 10th notification and try to go the the 11th, the app crashes every time with a runtime error. I've attached a file that contains the stack dump messages. If there is any other info you need, please let me know.

Thanks,

/Mike Biel mick.the.linux.geek@hotmail.com

Screenshot from 2021-11-17 16-03-42

RasmusLindroth commented 2 years ago

That's weird, the status seems to be empty for some reason. What instance are you on? And could you check what type of notification it is in the browser? So just scroll through your notifications in the browser and see which type of notification that makes tut crash.

The fix will be easy, but I want to know if I've missed to handle some possible notification, so tut can handle it correctly.

Thank you for the bug report :)

RasmusLindroth commented 2 years ago

Now I've updated it. Could you please try the latest version to see if it works?

MickTheLinuxGeek commented 2 years ago

Hey! Sorry it has taken me awhile to check this and get back you. I've updated to the newest version and it seems to be working fine. I am running on the mastodon.online instance. Since I filed the issue I have deleted all my mastodon notifications, so what I have done is probably not a true test, but I'll keep a look out. It is a cool CLI app. Thanks for fixing the issue.

/Mike Biel - mick.the.linux.geek@hotmail.com

RasmusLindroth commented 2 years ago

Thank you for the feedback. Just reopen this issue if it occurs again :)