From owner-freebsd-ports-bugs@freebsd.org Fri Jan 22 20:38:12 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CD4AE4FE2A1 for ; Fri, 22 Jan 2021 20:38:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DMrgS5GP0z3vy9 for ; Fri, 22 Jan 2021 20:38:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B2F9B4FE319; Fri, 22 Jan 2021 20:38:12 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B2BD14FE0D5 for ; Fri, 22 Jan 2021 20:38:12 +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 4DMrgS4cbhz3vy8 for ; Fri, 22 Jan 2021 20:38:12 +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 8D9DE24C0D for ; Fri, 22 Jan 2021 20:38:12 +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 10MKcClE043208 for ; Fri, 22 Jan 2021 20:38:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 10MKcCoO043207 for ports-bugs@FreeBSD.org; Fri, 22 Jan 2021 20:38:12 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 252921] www/seahub: AttributeError: 'SeafileAPI' object has no attribute 'get_group_quota_usage' Date: Fri, 22 Jan 2021 20:38:12 +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 Only Me X-Bugzilla-Who: ole@free.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ultima@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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2021 20:38:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252921 Bug ID: 252921 Summary: www/seahub: AttributeError: 'SeafileAPI' object has no attribute 'get_group_quota_usage' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ultima@freebsd.org Reporter: ole@free.de Flags: maintainer-feedback?(ultima@freebsd.org) Assignee: ultima@freebsd.org Hello, after upgrading to the latest version seahub throws errors, if something related to groups is accessed. Like "shared with my groups"=20 Log and some information are below. regards Ole 2021-01-22 20:28:24,442 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api/v2.1/groups/ Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py", line 41, in inner response =3D get_response(request) File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py= ", line 249, in _legacy_get_response response =3D self._get_response(request) File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py= ", line 187, in _get_response response =3D self.process_exception_by_middleware(e, request) File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py= ", line 185, in _get_response response =3D wrapped_callback(request, *callback_args, **callback_kwarg= s) File "/usr/local/lib/python3.7/site-packages/django/views/decorators/csrf.py", l= ine 58, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py= ", line 68, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", li= ne 505, in dispatch response =3D self.handle_exception(exc) File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", li= ne 465, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", li= ne 476, in raise_uncaught_exception raise exc File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", li= ne 502, in dispatch response =3D handler(request, *args, **kwargs) File "/usr/local/www/haiwen/seafile-server/seahub/seahub/api2/endpoints/groups.p= y", line 131, in get group_info =3D get_group_info(request, g.id, avatar_size) File "/usr/local/www/haiwen/seafile-server/seahub/seahub/api2/endpoints/groups.p= y", line 78, in get_group_info group_info['group_quota_usage'] =3D seafile_api.get_group_quota_usage(group_id) AttributeError: 'SeafileAPI' object has no attribute 'get_group_quota_usage' seahub-7.1.9 Name : seahub Version : 7.1.9 Installed on : Tue Jan 12 19:53:03 2021 CET Origin : www/seahub Architecture : FreeBSD:12:* Prefix : /usr/local Categories : www Licenses : APACHE20 Maintainer : ultima@FreeBSD.org WWW : https://github.com/haiwen/seahub Comment : Web frontend for Seafile Options : NLS : on SEAFDAV : on SEAFOBJ : on Annotations : repo_type : binary repository : FreeBSD Flat size : 70.3MiB Description : Seahub is the web frontend for seafile-server. WWW: https://github.com/haiwen/seahub root@seafile:/usr/local/www/haiwen # pkg info seafile-server seafile-server-7.1.5_1 Name : seafile-server Version : 7.1.5_1 Installed on : Tue Jan 12 19:52:48 2021 CET Origin : net-mgmt/seafile-server Architecture : FreeBSD:12:amd64 Prefix : /usr/local Categories : net-mgmt Licenses : GPLv3 Maintainer : ultima@FreeBSD.org WWW : https://github.com/haiwen/seafile-server Comment : Open Source Cloud Storage (Server) Options : FUSE : on NLS : on Shared Libs required: libglib-2.0.so.0 libarchive.so.13 libgobject-2.0.so.0 libfuse.so.2 libmysqlclient.so.20 libsqlite3.so.0 libuuid.so.1 libonig.so.5 libsearpc.so.1 libintl.so.8 libccnet.so.0 libiconv.so.2 libevent-2.1.so.7 libgio-2.0.so.0 libevhtp.so.0 libjansson.so.4 Annotations : FreeBSD_version: 1201000 repo_type : binary repository : FreeBSD Flat size : 2.25MiB Description : Seafile is an open source cloud storage system with features on privacy protection and teamwork. Collections of files are called libraries, and each library can be synced separately. A library can also be encrypted with a user chosen password. Seafile also allows users to create groups and easily sharing files into groups. This is the core component of Seafile server. It provides RPC to the web front-end (Seahub) to access files, and provides HTTP APIs to the desktop clients for syncing files. WWW: https://github.com/haiwen/seafile-server root@seafile:/usr/local/www/haiwen # uname -r 12.2-RELEASE-p1 --=20 You are receiving this mail because: You are the assignee for the bug.=