Module Not Found Error after update
I went to upgrade Mailman 3/Hyperkitty/Postorius on a development server:
|pip install --upgrade postorius hyperkitty mailman|
The above was done as the user mailman in a venv. I then proceed to run the ./mailman-post-update script in the bin directory. The script through an exception with the following line saying:
ModuleNotFoundError: No module named 'django_mailman3.lib.user'
Please advise.
-- Brian Carpenter Harmonylists.com Emwd.com
On 2/4/21 11:29 AM, Brian Carpenter wrote:
I went to upgrade Mailman 3/Hyperkitty/Postorius on a development server:
|pip install --upgrade postorius hyperkitty mailman|
The above was done as the user mailman in a venv. I then proceed to run the ./mailman-post-update script in the bin directory. The script through an exception with the following line saying:
ModuleNotFoundError: No module named 'django_mailman3.lib.user'
Please advise.
It looks an additional module needed to be upgraded:
pip install --upgrade django-mailman3
That fixed the error.
-- Brian Carpenter Harmonylists.com Emwd.com
On 2/4/21 8:29 AM, Brian Carpenter wrote:
I went to upgrade Mailman 3/Hyperkitty/Postorius on a development server:
|pip install --upgrade postorius hyperkitty mailman|
You left off django-mailman3
ModuleNotFoundError: No module named 'django_mailman3.lib.user'
Please advise.
You need django-mailman3 1.3.5
While all are not required in this case, when you upgrade like this with pip, you should upgrade all of django-mailman3, hyperkitty, mailman, mailmanclient, mailman-hyperkitty and postorius.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 2/4/21 11:46 AM, Mark Sapiro wrote:
You need django-mailman3 1.3.5
While all are not required in this case, when you upgrade like this with pip, you should upgrade all of django-mailman3, hyperkitty, mailman, mailmanclient, mailman-hyperkitty and postorius.
Thanks Mark. Perhaps Abhilash can include that in the instructions on the following page for future releases:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/N...
I will make a note of this in my own personal documentation and the Debian 10 How-to guide that I am currently working on.
-- Brian Carpenter Harmonylists.com Emwd.com
On Thu, Feb 4, 2021, at 8:52 AM, Brian Carpenter wrote:
On 2/4/21 11:46 AM, Mark Sapiro wrote:
You need django-mailman3 1.3.5
While all are not required in this case, when you upgrade like this with pip, you should upgrade all of django-mailman3, hyperkitty, mailman, mailmanclient, mailman-hyperkitty and postorius.
Thanks Mark. Perhaps Abhilash can include that in the instructions on the following page for future releases:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/N...
I was hoping pip would actually upgrade django-mailman3 given that P requires ‘django-mailman3>=1.3.5’ 1 but looks like it didn’t :(
I will make a note of this in my own personal documentation and the Debian 10 How-to guide that I am currently working on.
-- Brian Carpenter Harmonylists.com Emwd.com
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/
-- thanks, Abhilash Raj (maxking)
participants (3)
-
Abhilash Raj
-
Brian Carpenter
-
Mark Sapiro