Package: toot Version: 0.27.0-1 Severity: important Tags: upstream X-Debbugs-Cc: [email protected]
I tried to post a JPG image and it crashed with a stack dump: ===8<------------------------------ $ torsocks toot post -u [email protected] -m ./some_pic.jpg -e emacs Uploading media: ./some_pic.jpg Traceback (most recent call last): File "/usr/bin/toot", line 11, in <module> load_entry_point('toot==0.27.0', 'console_scripts', 'toot')() File "/usr/lib/python3/dist-packages/toot/console.py", line 550, in main run_command(app, user, command_name, args) File "/usr/lib/python3/dist-packages/toot/console.py", line 532, in run_command return fn(app, user, parsed_args) File "/usr/lib/python3/dist-packages/toot/commands.py", line 104, in post args.text = "\n".join(m['text_url'] for m in media) TypeError: sequence item 0: expected str instance, NoneType found ===8<------------------------------ Notice that it was over a Tor circuit though I don’t suppose that’s likely a factor. ===8<------------------------------ $ identify ./some_pic.jpg ./some_pic.jpg JPEG 1024x763 1024x763+0+0 8-bit sRGB 26324B 0.000u 0:00.000 ===8<------------------------------ -- System Information: Debian Release: 11.5 APT prefers stable-updates APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'testing'), (990, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-19-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages toot depends on: ii python3 3.9.2-3 ii python3-bs4 4.9.3-1 ii python3-requests 2.25.1+dfsg-2 ii python3-urwid 2.1.2-1 ii python3-wcwidth 0.1.9+dfsg1-2 toot recommends no packages. toot suggests no packages. -- no debconf information

