From owner-freebsd-ports-bugs@freebsd.org Tue Feb 26 09:50:11 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B5AE1514224 for ; Tue, 26 Feb 2019 09:50:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B51CA76875 for ; Tue, 26 Feb 2019 09:50:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 721541514223; Tue, 26 Feb 2019 09:50:10 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F7A71514222 for ; Tue, 26 Feb 2019 09:50:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C33A876872 for ; Tue, 26 Feb 2019 09:50:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E68651B803 for ; Tue, 26 Feb 2019 09:50:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1Q9o8Og078155 for ; Tue, 26 Feb 2019 09:50:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1Q9o8dq078153 for ports-bugs@FreeBSD.org; Tue, 26 Feb 2019 09:50:08 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 236047] www/seahub: possible regression when calling /api2/search-user/ Date: Tue, 26 Feb 2019 09:50:07 +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: martin@waschbuesch.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.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 09:50:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236047 Bug ID: 236047 Summary: www/seahub: possible regression when calling /api2/search-user/ 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: martin@waschbuesch.de Flags: maintainer-feedback?(ultima@freebsd.org) Assignee: ultima@freebsd.org On a current seafile install, I go to System Admin =3D> Libraries and then for any library open the Share dialog. In the search field, I can enter a username or email to search for a user to share the library with, but I always get a 'Loading failed' error. The corresponding error in seahub.log is: 2019-02-25 17:35:06,946 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api2/search-user/ Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner response =3D get_response(request) File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response response =3D self._get_response(request) File "/usr/local/lib/python2.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/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response response =3D wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python2.7/site-packages/django/views/decorators/csrf.= py", line 58, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 495, in dispatch response =3D self.handle_exception(exc) File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 455, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python2.7/site-packages/rest_framework/views.py", line 492, in dispatch response =3D handler(request, *args, **kwargs) File "/usr/local/www/haiwen/seafile-server/seahub/seahub/api2/endpoints/search_u= ser.py", line 129, in get user_obj_list =3D ccnet_api.get_emailusers_in_list('DB', email_list_json= ) + \ AttributeError: 'CcnetAPI' object has no attribute 'get_emailusers_in_list' The package versions are: libsearpc-3.1.0,1 py27-seafdav-6.3.11 py27-seafobj-6.3.11 seafile-server-6.3.4_1 seahub-6.3.11 Now, I have an older installation still running libsearpc-3.0.8_1,1 py27-seafdav-6.3.7 py27-seafobj-6.3.7 seafile-server-6.3.4_1 seahub-6.3.7_1 but otherwise the same config (webserver, seahub_settings, etc.) which does= not show the issue. Could this be a bug in the most recent version? --=20 You are receiving this mail because: You are the assignee for the bug.=