Hi Shivam,

 

It was added to the ‘develop’ branch recently [1].

 

[1] 
https://github.com/apache/airavata/commit/c9e0509c974cf907ba2f77d56568eb142a1a4900

 

From: "Rastogi, Shivam" <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Thursday, June 6, 2019 at 6:14 PM
To: "[email protected]" <[email protected]>
Subject: [Django portal] Error on Manage Users page in local dev environment

 

Hi All,

 

I have set up local development environment for the Django portal and 
everything seems to be working fine but when I navigate to the 'Manage users' 
page on the admin dashboard, I get the following error in the browser console:

 

I checked that and found that the getUsers method is available in the python 
API but could not find the corresponding method in the Airavata API. Any ideas 
what might be the problem?

​

FetchUtils.js?1b5f:168 GET 
http://127.0.0.1:8000/api/managed-user-profiles/?limit=10 500 (Internal Server 
Error)

processFetch @ FetchUtils.js?1b5f:168

get @ FetchUtils.js?1b5f:128

serviceObj.<computed> @ ServiceFactory.js?2b58:288

......

(anonymous) @ app.js:1564

(anonymous) @ app.js:1567

Show 38 more frames

 

ErrorReporter.js?9189:5 {

    "id": 0,

    "message": "Invalid method name: 'getUsers'",

    "error": {

        "details": {

            "url": "/api/managed-user-profiles/?limit=10",

            "status": 500,

            "response": {

                "detail": "Invalid method name: 'getUsers'"

            }

        }

    },

    "details": {

        "url": "/api/managed-user-profiles/?limit=10",

        "status": 500,

        "response": {

            "detail": "Invalid method name: 'getUsers'"

        }

    },

    "suppressDisplay": false,

    "suppressLogging": false,

    "createdDate": "2019-06-06T21:34:39.193Z"

}

FetchUtils.js?1b5f:189 Uncaught (in promise) Error: Invalid method name: 
'getUsers'

    at eval (FetchUtils.js?1b5f:189)

 

 

Thanks and regards,

Shivam Rastogi

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to