Your message dated Thu, 01 Dec 2022 09:22:52 +0000
with message-id <[email protected]>
and subject line Bug#1025091: fixed in toot 0.30.1-1
has caused the Debian Bug report #1025091,
regarding toot: Posting toots with media attachment fails
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1025091: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025091
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: toot
Version: 0.29.0-1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I don't manage to post a toot with a photo:
% toot post -m ~/tmp/whatever.png -d "Some description" -p "My CW" -l deu
--debug
Uploading media: /home/gregoa/tmp/whatever.png
DEBUG:toot:>>> POST https://chaos.social/api/v1/media
DEBUG:toot:>>> HEADERS: {('User-Agent', 'toot/0.29.0'), ('Authorization',
'***CENSORED***')}
DEBUG:toot:>>> DATA: {'description': 'Some description'}
DEBUG:toot:>>> FILES: {'file': <_io.BufferedReader
name='/home/gregoa/tmp/whatever.png'>}
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): chaos.social:443
DEBUG:urllib3.connectionpool:https://chaos.social:443 "POST /api/v1/media
HTTP/1.1" 200 None
DEBUG:toot:<<< <Response [200]>
DEBUG:toot:<<<
b'{"id":"109428449579345798","type":"image","url":"https://assets.chaos.social/media_attachments/files/109/428/449/579/345/798/original/426857e54bb13ae8.png","preview_url":"https://assets.chaos.social/media_attachments/files/109/428/449/579/345/798/small/426857e54bb13ae8.png","remote_url":null,"preview_remote_url":null,"text_url":null,"meta":{"original":{"width":630,"height":552,"size":"630x552","aspect":1.141304347826087},"small":{"width":512,"height":449,"size":"512x449","aspect":1.1403118040089086}},"description":"Some
description","blurhash":"U5SY?ax]?cxu~qWBIUjFcsjF?HbIn%ayxukW"}'
Traceback (most recent call last):
File "/usr/bin/toot", line 33, in <module>
sys.exit(load_entry_point('toot==0.29.0', 'console_scripts', 'toot')())
File "/usr/lib/python3/dist-packages/toot/console.py", line 588, in main
run_command(app, user, command_name, args)
File "/usr/lib/python3/dist-packages/toot/console.py", line 570, in
run_command
return fn(app, user, parsed_args)
File "/usr/lib/python3/dist-packages/toot/commands.py", line 103, in post
args.text = "\n".join(m['text_url'] for m in uploaded_media)
TypeError: sequence item 0: expected str instance, NoneType found
As far as I can guess from the debug output, toot expects something
in text_url the but reply from the server contains "text_url":null
chaos.social runs mastodon v4.0.2 (but I seem to remember seeing this
also before the upgrade).
Cheers,
gregor
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmOGTylfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgaCfhAAo8mjY7WG5YscVqBi8QJefRwQeJNJuyXhW8ImG5UwaZ7M3sbMFAdmIgz2
KCFKFfLOXj4yKgZflatlJ9gb9Z5+mrQ2ogvZ6Vy69yEyN3APUjO7CDsNIZV1b1VA
A7rdnVGREphN1TTscrzmiO5cWPBUJeYNNuoqAvXz0+dZOSvzEyDgHWVdh9b6oLvQ
T+OW9BH46EHc7yjPYgP07V5WW07k3XXcRZ6+ljmgWU6CLQbS9RFJ1tshEEcf9RMq
t/dbDj0RT5PBDmE3PfS2GCeNVGRXNYWvwhDFGFt2+7etgoyjqmQAsJbq5goqKiGa
T1eaC1418frnr/cHkhuAbdB8Xf8bJCxrpFanlquYqtxYJQjbhVNj+mdaETIIP+xH
LcOJbb+1kPcj97T8LaDf8XpNH0lDUF/m468PkksbfuD1IMZZAMjqeqaH4+IJQ1rB
Loy4J5tHUu6kCFO7chSiNThjRrhE8zdaUNFzubbhup5ZdV56v2o7CdiuLJYF4rxF
LT8+jXsMcYmO3h7UuHHbtk2tfrcvbhBQqg8XlrMYVkXMUYvhaFz2dhYRnlISeHrE
34BrXVi8bd3T3D1A3R0CV2KmGuP6w2x7bHyXADnSDzWmc2BIdeNEs9tjvbx2QPGj
j54dPDT0zrB/E/82Hb6a/uXJ7Bifv6IZ6gY0h8rvfW+L4bUj9qs=
=Net+
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Source: toot
Source-Version: 0.30.1-1
Done: Jonathan Carter <[email protected]>
We believe that the bug you reported is fixed in the latest version of
toot, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jonathan Carter <[email protected]> (supplier of updated toot package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 01 Dec 2022 10:37:57 +0200
Source: toot
Architecture: source
Version: 0.30.1-1
Distribution: unstable
Urgency: medium
Maintainer: Jonathan Carter <[email protected]>
Changed-By: Jonathan Carter <[email protected]>
Closes: 1025091
Changes:
toot (0.30.1-1) unstable; urgency=medium
.
* New upstream release (Closes: #1025091)
Checksums-Sha1:
e4864f3effb8c4e7aa490a377aa9023ae1102541 1997 toot_0.30.1-1.dsc
ab8b64996f243595facbdebf0d06357d0a3ac2dc 81997 toot_0.30.1.orig.tar.gz
d82a1321c6c0caa1a0b41e125905b62273954971 3004 toot_0.30.1-1.debian.tar.xz
b39cf7154d154550ac2b79f9f6e2d39b6bca6d20 7270 toot_0.30.1-1_source.buildinfo
Checksums-Sha256:
5bac253c911f6cc377891402a9e5e658a71b2b5e64a904c2b90e8be665585113 1997
toot_0.30.1-1.dsc
bfabdfcbd8a78e9597f5f01e6dae171b2478553503d2c4cc66b33b4eb3132e65 81997
toot_0.30.1.orig.tar.gz
84fde29c52ced1212e549ef51ffc61acd9bc8a6abcefab75d05493486b4bb704 3004
toot_0.30.1-1.debian.tar.xz
a6c5ca51662a651684cd9b3618f0073f2838a328ea2c7ab96689b72df20c9100 7270
toot_0.30.1-1_source.buildinfo
Files:
55d9d8beb3e4afd823517034ddfecea2 1997 web optional toot_0.30.1-1.dsc
d7d6ee286b65b8f072eb4aa27862c753 81997 web optional toot_0.30.1.orig.tar.gz
415f13ddaef9cc415f0b1f2c1a78e791 3004 web optional toot_0.30.1-1.debian.tar.xz
e1ce892ab20e6b0b036ac074be57d0dd 7270 web optional
toot_0.30.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEExyA8CpIGcL+U8AuxsB0acqyNyaEFAmOIaC0PHGpjY0BkZWJp
YW4ub3JnAAoJELAdGnKsjcmhsgYQANFIfFvRnQosNKj3ahJfbr1QhzETHl0nlLUC
lAZO52NIxBy2QQ4YzZd812OhcdQ2vO+wk6C0i280ukny+RyNfnY7uoa5ljvN4zhr
WUUUWOippIxirD6pdhOwUjhHL4vh7dFIQASMpftv8UbtNYYlaG+Qw0cTcNrSksHA
9KFfFIXN/H18S5jz1dn2IuINlA5NRNRqu74KJED9P9pBNy4kTMG4cGFv36LA7lGI
S6Y/AcNQC7+OAly+ZnPou9BTaSjP5sPem7tBmQeoZHh/GchE5vFn6iC4t4lkAJ6G
AJbbYbxjnVkMSdZGQQrk4YI0pRbXOj5IyMKd2huE64bVYVzIyzu91JHSkoKHfUU5
olmMhS1xIXvf612bVDV8nmGEtJg4MqtLZW5sOPIQHhOwQZahVaB91lxSVhzlA4ev
MDR1kc5Knx22oUK7nr2HIo28cmIxVHUEf7oIKa08tMRtoc7qiTGj7+7bV/t7WfRN
zhRAn8GESlqgSWKGGkWtv5bSRuxu/9UJ/xUYv25Zc2TExpvNX2cWeeH+cDiQRfGl
XSXGP2emz//dxvuG8Wx+Yc0AnDL+FDAyCleJZe79RbL4xtQTbUTqJKt4OLb1h4pi
nPLJJya/jb7K+w4ZEPHZp4Ib9Wmg+nhQ8eLe4PxH2pHgYayxSc5xtvtGY4UI6Wvr
mIFFRcm/
=xbSr
-----END PGP SIGNATURE-----
--- End Message ---