?Thrift file in both master and develop branch of Airavata do not specify any 
getUsers function. Seems like interfaces in Django-Portal were recently updated 
by a different thrift file than one available in master or develop branch of 
Airavata.


Regards,

Aarushi Bisht


________________________________
From: Rastogi, Shivam <[email protected]>
Sent: Thursday, June 6, 2019 6:13 PM
To: [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

Reply via email to