[Django] ERROR (EXTERNAL IP): Internal Server Error: /mailman3/lists/test2.***/settings/message_acceptance MultipleObjectsReturned .. get() returned more than one EmailAddress -- it returned 2!

[Django] ERROR (EXTERNAL IP): Internal Server Error: /mailman3/lists/test2.av-huette.de/settings/message_acceptance Full error stack (redacted) see https://dpaste.com/CEFXPNP67.txt
Internal Server Error: /mailman3/lists/test2.*****/settings/message_acceptance
As far as I remember, I removed every member of that test2 list. I think, my bug report could be of interest to fix a (probably) lurking bug. Everything works here, but last week I had this error

On 8/18/25 12:01 PM, Wikinaut wrote:
[Django] ERROR (EXTERNAL IP): Internal Server Error: /mailman3/lists/test2.av-huette.de/settings/message_acceptance Full error stack (redacted) see https://dpaste.com/CEFXPNP67.txt
Internal Server Error: /mailman3/lists/test2.*****/settings/message_acceptance
As far as I remember, I removed every member of that test2 list. I think, my bug report could be of interest to fix a (probably) lurking bug. Everything works here, but last week I had this error
That error results from having two users with email addresses that differ only in case. This could occur with older versions of Django-allauth. There is a script at https://www.msapiro.net/scripts/UC_fix to fix this and one at https://www.msapiro.net/scripts/Mult_primary to fix a possible side effect of the other.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Wikinaut writes:
Full error stack (redacted) see https://dpaste.com/CEFXPNP67.txt
Please don't do this unless you're looking at megabytes or perhaps have forward privacy concerns (but it's better to deal with the latter by sending stuff directly to an interested dev). Pastepot/tinyurl sites eventually delete the data, which doesn't help future users who see similar issues. You can attach the file with an Content-Disposition: attachment and/or Content-Type: application/octet-stream MIME type to keep it out of the eyes of people who don't care to look, or just put it at the very end of the post.
-- GNU Mailman consultant (installation, migration, customization) Sirius Open Source https://www.siriusopensource.com/ Software systems consulting in Europe, North America, and Japan
participants (3)
-
Mark Sapiro
-
Stephen J. Turnbull
-
Wikinaut