Date: Sun, 05 Dec 2021 05:43:29 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260228] mail/py-django-mailman3: version skew? Message-ID: <bug-260228-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260228 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 =3D py38-mailman-3.3.1 =3D py38-mailmanclient-3.3.1 =3D py38-postorius-1.3.5 =3D 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 =3D get_response(request) File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py= ", line 115, in _get_response response =3D 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 =3D wrapped_callback(request, *callback_args, **callback_kwarg= s) File "/usr/local/lib/python3.8/site-packages/postorius/views/list.py", li= ne 882, in list_index lists =3D paginate( File "/usr/local/lib/python3.8/site-packages/django_mailman3/lib/paginator.py", = line 71, in paginate objects =3D paginator.page(page_num) File "/usr/local/lib/python3.8/site-packages/django_mailman3/lib/paginator.py", = line 46, in page number =3D self.validate_number(number) File "/usr/local/lib/python3.8/site-packages/django/core/paginator.py", l= ine 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 =3D instance.__dict__[self.name] =3D self.func(instance) File "/usr/local/lib/python3.8/site-packages/django/core/paginator.py", l= ine 97, in num_pages if self.count =3D=3D 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 =3D instance.__dict__[self.name] =3D self.func(instance) File "/usr/local/lib/python3.8/site-packages/django_mailman3/lib/paginator.py", = line 56, in count return self.function(count=3D0, page=3D1).total_size File "/usr/local/lib/python3.8/site-packages/postorius/views/list.py", li= ne 876, in _get_list_page client =3D get_mailman_client() File "/usr/local/lib/python3.8/site-packages/django_mailman3/lib/mailman.= py", line 64, in get_mailman_client client =3D MailmanClient( TypeError: __init__() takes from 2 to 4 positional arguments but 5 were giv= en Looks very much like the issue described at https://gitlab.com/mailman/django-mailman3/-/issues/46 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260228-7788>