On 3/2/21 12:33 PM, David Partain via Mailman-users wrote:
On Tue, 2021-03-02 at 20:07 +0000, David Partain via Mailman-users wrote:
On Tue, 2021-03-02 at 19:56 +0000, David Partain via Mailman-users wrote:
I assume this is because /usr/share/mailman3-web/manage.py, which has:
'#!/usr/bin/env python'
resolves to Python 2.7.17.
Should I could try changing that to '#!/usr/bin/env python3' and see what happens? :) I could also uninstall python2 but that becomes more of a nail-biter...
NO! Do not do that.
I can report that the above doesn't help. Neither does just making /usr/bin/python link to /usr/bin/python3.6
I still get errors in mailman-web.log pointing to 2.7 as shown in my previous mail.
If I force the issue by linking /usr/bin/python to /usr/bin/python3.6, I start seeing:
ModuleNotFoundError: No module named 'hyperkitty
in mailman-web.log.
I know next to nothing about python. Is
pip install hyperkitty
the right answer?
No.
I have the following installed now:
# dpkg -l | grep hyperkitty python-django-hyperkitty 1.1.4-4 python3-mailman-hyperkitty 1.1.0-4
but this version of Ubuntu has no python3-django-hyperkitty or I'd just try installing that...
This is all because you are using the Ubuntu 18.04 package which is about 4 years out of date and is from the era where HyperKitty, Postorius and django_mailman3 still ran under Python 2.1.7.
Unless you want to remove the Ubuntu package and install everything with pip, you need to just stick with what you have that at least partly works and we'll try to determine how to fix the utf8mb4 issue.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan