[Bug 252921] www/seahub: AttributeError: 'SeafileAPI' object has no attribute 'get_group_quota_usage'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 22 20:38:12 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252921
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 at freebsd.org
Reporter: ole at free.de
Flags: maintainer-feedback?(ultima at freebsd.org)
Assignee: ultima at freebsd.org
Hello,
after upgrading to the latest version seahub throws errors, if something
related to groups is accessed. Like "shared with my groups"
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 = get_response(request)
File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py",
line 249, in _legacy_get_response
response = self._get_response(request)
File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py",
line 187, in _get_response
response = 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 = wrapped_callback(request, *callback_args, **callback_kwargs)
File
"/usr/local/lib/python3.7/site-packages/django/views/decorators/csrf.py", line
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", line
505, in dispatch
response = self.handle_exception(exc)
File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line
465, in handle_exception
self.raise_uncaught_exception(exc)
File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line
476, in raise_uncaught_exception
raise exc
File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line
502, in dispatch
response = handler(request, *args, **kwargs)
File
"/usr/local/www/haiwen/seafile-server/seahub/seahub/api2/endpoints/groups.py",
line 131, in get
group_info = get_group_info(request, g.id, avatar_size)
File
"/usr/local/www/haiwen/seafile-server/seahub/seahub/api2/endpoints/groups.py",
line 78, in get_group_info
group_info['group_quota_usage'] =
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 at 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 at 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 at 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 at seafile:/usr/local/www/haiwen # uname -r
12.2-RELEASE-p1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list