[Bug 260228] mail/py-django-mailman3: version skew?
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Dec 2021 05:43:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260228
Bug ID: 260228
Summary: mail/py-django-mailman3: version skew?
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: dvl@FreeBSD.org
Reporter: phil.budne@gmail.com
Flags: maintainer-feedback?(dvl@FreeBSD.org)
Assignee: dvl@FreeBSD.org
pkg vers | egrep 'mailman|posto'
py38-django-mailman3-1.3.7 =
py38-mailman-3.3.1 =
py38-mailmanclient-3.3.1 =
py38-postorius-1.3.5 =
Seeing the following error from postorius:
ERROR 2021-12-05 05:16:40,697 49904 django.request Internal Server Error:
/postorius/lists/
Traceback (most recent call last):
File
"/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py",
line 34, in inner
response = get_response(request)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py",
line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py",
line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.8/site-packages/postorius/views/list.py", line
882, in list_index
lists = paginate(
File
"/usr/local/lib/python3.8/site-packages/django_mailman3/lib/paginator.py", line
71, in paginate
objects = paginator.page(page_num)
File
"/usr/local/lib/python3.8/site-packages/django_mailman3/lib/paginator.py", line
46, in page
number = self.validate_number(number)
File "/usr/local/lib/python3.8/site-packages/django/core/paginator.py", line
48, in validate_number
if number > self.num_pages:
File "/usr/local/lib/python3.8/site-packages/django/utils/functional.py",
line 80, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/lib/python3.8/site-packages/django/core/paginator.py", line
97, in num_pages
if self.count == 0 and not self.allow_empty_first_page:
File "/usr/local/lib/python3.8/site-packages/django/utils/functional.py",
line 80, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File
"/usr/local/lib/python3.8/site-packages/django_mailman3/lib/paginator.py", line
56, in count
return self.function(count=0, page=1).total_size
File "/usr/local/lib/python3.8/site-packages/postorius/views/list.py", line
876, in _get_list_page
client = get_mailman_client()
File "/usr/local/lib/python3.8/site-packages/django_mailman3/lib/mailman.py",
line 64, in get_mailman_client
client = MailmanClient(
TypeError: __init__() takes from 2 to 4 positional arguments but 5 were given
Looks very much like the issue described at
https://gitlab.com/mailman/django-mailman3/-/issues/46
--
You are receiving this mail because:
You are the assignee for the bug.