Mass subscription: HTTP Error 400: 'pathlib._local.PosixPath' object does not support the context manager protocol
Hi,
Debian trixie, virtualenv installation: When I entered addresses at the mass subscription field I got:
HTTP Error 400: 'pathlib._local.PosixPath' object does not support the context manager protocol
The addresses were subscribed though.
How can I have subscription working correctly?
I haven't found anything reasonable on the Internet. Thank you for your help!
Flo
I don't know if there is a connection to this problem but when I try to send an email to that list (with those email addresses which are subscribed with these error messages), the mail.log shows that it reaches the list but then I loose track of it. No email is delivered from the list.
Flo
On 6/23/26 11:11 AM, Flo via Mailman-users wrote:
Hi,
Debian trixie, virtualenv installation: When I entered addresses at the mass subscription field I got:
HTTP Error 400: 'pathlib._local.PosixPath' object does not support the context manager protocol
The addresses were subscribed though.
How can I have subscription working correctly?
I haven't found anything reasonable on the Internet. Thank you for your help!
Flo
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman- users@mailman3.org/message/URMQDOLMVCJL4DSFQK5I44XLQCJH25JI/
This message sent to debianflo@gmx.at
On June 23, 2026 2:11:59 AM PDT, Flo via Mailman-users <mailman-users@mailman3.org> wrote:
Hi,
Debian trixie, virtualenv installation: When I entered addresses at the mass subscription field I got:
HTTP Error 400: 'pathlib._local.PosixPath' object does not support the context manager protocol
Current Mailman does not support python 3.14.
-- Mark Sapiro <mark@msapiro.net> Sent from my Not_an_iThing with standards compliant, open source software.
On 6/23/26 4:02 PM, Mark Sapiro wrote:
On June 23, 2026 2:11:59 AM PDT, Flo via Mailman-users <mailman-users@mailman3.org> wrote:
Hi,
Debian trixie, virtualenv installation: When I entered addresses at the mass subscription field I got:
HTTP Error 400: 'pathlib._local.PosixPath' object does not support the context manager protocol
Current Mailman does not support python 3.14.
It looks like I am using Python 3.13.5 . Nevertheless I ran into the issue Steve pointed to.
Flo
Flo via Mailman-users writes:
On 6/23/26 4:02 PM, Mark Sapiro wrote:
On June 23, 2026 2:11:59 AM PDT, Flo via Mailman-users <mailman-users@mailman3.org> wrote:
HTTP Error 400: 'pathlib._local.PosixPath' object does not support the context manager protocol
Current Mailman does not support python 3.14.
It looks like I am using Python 3.13.5 .
That's consistent with Debian 'trixie', for sure.
Nevertheless I ran into the issue Steve pointed to.
Pretty sure this is a known issue with Python 3.13, and Mark mentioned that in the thread I cited. We got two or three of these when Debian promoted 'stable' to 'trixie' because that upgrade promoted Python to 3.13. Dunno if Mark was thinking about a different issue or if it was an off-by-one error, but he's definitely the author of the patch you used!
Steve
-- GNU Mailman consultant (installation, migration, customization) Sirius Open Source https://www.siriusopensource.com/ Software systems consulting in Europe, North America, and Japan
Flo via Mailman-users writes:
Hi,
Debian trixie, virtualenv installation: When I entered addresses at the mass subscription field I got:
HTTP Error 400: 'pathlib._local.PosixPath' object does not support the context manager protocol
Compare this post, pretty sure it's the same issue: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/... and see the reply from Mark Sapiro for a patch. I believe this will be fixed in the next release.
Steve
-- GNU Mailman consultant (installation, migration, customization) Sirius Open Source https://www.siriusopensource.com/ Software systems consulting in Europe, North America, and Japan
On 6/23/26 4:08 PM, Stephen J. Turnbull wrote:
Flo via Mailman-users writes:
Hi,
Debian trixie, virtualenv installation: When I entered addresses at the mass subscription field I got:
HTTP Error 400: 'pathlib._local.PosixPath' object does not support the context manager protocol
Compare this post, pretty sure it's the same issue: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/... and see the reply from Mark Sapiro for a patch. I believe this will be fixed in the next release.
Yes, the patch worked. Thanks a lot! Both mass subscription and mail delivery work now!
Flo
participants (3)
-
Flo -
Mark Sapiro -
Stephen J. Turnbull