Hello, when you look a bit further up in the logs, you might see another error with mysql - error creating the mainman database (something like 'index too long'. This error can be found in some other applications as well and has to do something with the mysql backend setup. This can be fixed manually for other apps, but the necessary steps are hard to be implemented in the scripts. I only recollect my memories here - cannot look up in my notes currently. Yes, a switch to postgres will help you if this fits into your architecture. Jörg
- Januar 2019 12:01, "Bjoern Franke" <bjo@nord-west.org> schrieb:
Hi,
I already opened a debian bugreport for it, but I'm still wondering why the following issue appears:
File "/usr/lib/python3/dist-packages/django/db/backends/mysql/base.py", line 30, in <module> 'Did you install mysqlclient or MySQL-python?' % e django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named 'MySQLdb'. Did you install mysqlclient or MySQL-python?
python3-pymysql, which is a dependency of mailman3-web and provides mySQLdb, is installed.
(Maybe it's time to migrate to postgres.)
Kind regards Bjoern
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