mailman3 3.2.2 python3.8 problem on focal
Hello list!
I saw a few posts regarding the "Uncaught runner exception: module 'time' has no attribute 'clock'" problem but no solution to that. It seems this issue sneaked in at some point. I was getting aware of it when suddenly notifications to non-member posts did not work anymore. Everything else seems still to work.
So, what is the prefered solution here? Is it possible to "repair" focal? There is python2.7, python3.6 and python3.8 installed currently. Or do I need to switch to a supported distribution like debian something? Wait for ubuntu 24.04?
Any hints are really appreciated. cheers! t.
Answering my own post for now.
Replacing time.clock() with time.process_time() in /usr/lib/python3/dist-packages/mailman/utilities/uid.py seems to fix the current issue for me. Don't know what else I broke with it though. :)
cheers! t.
Am 2024-03-20 12:54, schrieb Thomas Stein:
Hello list!
I saw a few posts regarding the "Uncaught runner exception: module 'time' has no attribute 'clock'" problem but no solution to that. It seems this issue sneaked in at some point. I was getting aware of it when suddenly notifications to non-member posts did not work anymore. Everything else seems still to work.
So, what is the prefered solution here? Is it possible to "repair" focal? There is python2.7, python3.6 and python3.8 installed currently. Or do I need to switch to a supported distribution like debian something? Wait for ubuntu 24.04?
Any hints are really appreciated. cheers! t.
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/...
This message sent to himbeere@meine-oma.de
On 3/20/24 10:24, Thomas Stein wrote:
Answering my own post for now.
Replacing time.clock() with time.process_time() in /usr/lib/python3/dist-packages/mailman/utilities/uid.py seems to fix the current issue for me. Don't know what else I broke with it though. :)
Mailman 3.2.2 is not compatible with Python>=3.8. Unfortunately, at least one Debian/Ubuntu release included that combination. Your fix is the correct one, see https://gitlab.com/mailman/mailman/-/commit/ea05bdd0f74ba06d85adad1f7d190a62...
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks!
Am 21. März 2024 01:19:36 MEZ schrieb Mark Sapiro <mark@msapiro.net>:
On 3/20/24 10:24, Thomas Stein wrote:
Answering my own post for now.
Replacing time.clock() with time.process_time() in /usr/lib/python3/dist-packages/mailman/utilities/uid.py seems to fix the current issue for me. Don't know what else I broke with it though. :)
Mailman 3.2.2 is not compatible with Python>=3.8. Unfortunately, at least one Debian/Ubuntu release included that combination. Your fix is the correct one, see https://gitlab.com/mailman/mailman/-/commit/ea05bdd0f74ba06d85adad1f7d190a62...
participants (2)
-
Mark Sapiro
-
Thomas Stein