From nobody Sun Dec 05 05:43:29 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A2BC418332EF for ; Sun, 5 Dec 2021 05:43:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J6Fpn3Xgmz3p6F for ; Sun, 5 Dec 2021 05:43:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A7C012AB8 for ; Sun, 5 Dec 2021 05:43:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1B55hTdB011543 for ; Sun, 5 Dec 2021 05:43:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B55hT3B011542 for ports-bugs@FreeBSD.org; Sun, 5 Dec 2021 05:43:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260228] mail/py-django-mailman3: version skew? Date: Sun, 05 Dec 2021 05:43:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: phil.budne@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dvl@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638683009; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=p7jfi0bxE8XJ3IJZp0R4fjkT/GG/dPF/jDGdDJFuIkA=; b=ZbWigywhJgDjdgNFBr4rdDese8DNx9o77vBSWI1CWZD6p/e09XIuKc0klNStMzGZadD8EL ml4/mk1bdqhOv5xF1YMiEryNhMD79w0NtYzD9/nink84ZH8fcEzFiU2Tptjei4QI+ZBZ8P UFGRfhDgXWzzVrQ+uLnIXipJPXrD/iIiUGO8LyuFu69QdUAb01OglHBEndfIbZrJyWsD9r wT5ijSHKTR4pCxGC2tJn6B/UiolwwHv3LQZQSHRo6fFnljgQYf5JeHexyVwGYxNYwjJq51 iAtO/9+WDhn/ms2VxKOU4b3mxMM39fZ8Ie9/zYGMKmLK8z7VMBlHY+FZUr8zLQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638683009; a=rsa-sha256; cv=none; b=TxOlolSh5e+z8j/SQjP8S3ZHo4V1a/4Wh48d19mlOwGVEamKeUQToa92mupSldoVVnXszX bLoTWHUdwDYumC9jNCyECzU3qEvOmV5M4xmtcwq/vGyVmO90ORR171pcJfxlUZL4FBZY/Z ZqWwmMTE6h+OCfcZCGHIZ5TgLxIiPQulN7IXa8pS6RBM+0HzuTFnTByspJMPxVmE21PlNm bu3GhmImwPhvskvhHbv+c+WXobrcGQ5dlorqT8tBJUizLRhJvBeFgbZ1bf9V5z2f+EyQdL 7+0oukGIeO+Xl9c53GkNr9yfdfErv6gbU3u+N59c7vC0aNdpj0bjroIOYZC6WA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=