gioklr71@gmail.com writes:
Dear Jacob did you make any progress on this issue? I've exactly the same problem....
Is Jacob's problem really exactly the same as yours? Please compare your error message to Jacob's: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
Jacob Sievert writes:
Since a few days we get an error response from our automated membership script.
We use the following code to control the membership for some lists:
def mailinglist_manage(list_address, members):
This looks like it should work.
Since Tuesday without any update performed by us we get the following error from the script when it's running:
*Something* changed. It would likely help if one of you can figure out what.
line 339, in subscribe response, content = self._connection.call('members', data) File "/root/.local/lib/python3.6/site-packages/mailmanclient/restbase/connection.py",
Either mailmanclient is now marshalling the URL and data incorrectly (which is hard to believe, it's hard to imagine this simple call is causing an error without causing both Postorius and HyperKitty to break too), or the REST protocol has changed for that resource, and the resource accessed by the URL that is constructed by self._connection.call() is not the member roster. This also seems unlikely.
Your installation seems very old. From the next version of Mailman, we will not target Python 3.6 (that is, we have dropped it from the automated test pipeline), so regressions may occur. I know of at least one that occurs in old versions of core if you upgrade Python from < 3.8 to >= 3.8. Your Mailman installation also seems quite old: the code that the frame above says is on line 339 is on line 491 in git head.
Are you sure you haven't applied a batch of security updates or the like that might affect any of Python, mailmanclient, or Mailman core?