Open rexbinary opened 7 months ago
Can't test yet as I'm away from my PC for a few days.
Does this crash occur when viewing with image support enabled or not? If with image support enabled, try it with image support disabled and see if it recurs.
Reproduced on my mac, specs are:
$< toot env
toot 0.43.0
Python 3.12.3 (main, Apr 9 2024, 08:09:14) [Clang 15.0.0 (clang-1500.3.9.4)]
macOS-14.5-arm64-arm-64bit
Other toot commands work mostly fine. I don't know how to disable image viewing in toot tui
, but didn't enable any.
What version of urwid are you using? And are you viewing with image support enabled or disabled?
I'm using /opt/homebrew/Cellar/toot/0.43.0_3/libexec/lib/python3.12/site-packages/term_image/widget/urwid.py
installed by brew
. I did see image views but just very blur color blocks.
Confirmed it's caused by viewing images. How do I disable image viewing? Didn't see any command line or config option for that.
Ah, I may not have added an option to disable image viewing. I'll have to add an option for that. Meanwhile, you can disable images by removing the term-image package, and it'll disable automatically. But before you do that...
I'm still trying to figure out what version of term-image and what version of urwid you have installed in your environment. I'm not familiar with how brew works, as all my dependencies install via pip. The latest versions are term-image 0.7.1 and urwid 2.6.12, and it'd be helpful to test with these versions (especially the latest term-image version) to see if the crash persists.
When using toot TUI to view:
https://mastodon.cloud/@slashdot/112287426200500203
toot TUI crashes with the output below.