Hi Suresh, Marcus,
Thank you so much. We found it. Incidentally, both of us hadn't updated our repos in a while. Something to take care of in the future :) Thanks and regards, Shivam Rastoig ________________________________ From: Suresh Marru <[email protected]> Sent: 07 June 2019 09:12 To: Airavata Dev Subject: [External] Re: [Django portal] Error on Manage Users page in local dev environment This message was sent from a non-IU address. Please exercise caution when clicking links or opening attachments from external sources. Hi Shivam, Aarushi, May be you are looking for them within Airavata API's, they exist outside of the main API's - https://github.com/apache/airavata/tree/develop/thrift-interface-descriptions/service-cpis/profile-service Suresh On Jun 7, 2019, at 9:04 AM, Christie, Marcus Aaron <[email protected]<mailto:[email protected]>> wrote: Hi Shivam, It was added to the 'develop' branch recently [1]. [1] https://github.com/apache/airavata/commit/c9e0509c974cf907ba2f77d56568eb142a1a4900 From: "Rastogi, Shivam" <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Thursday, June 6, 2019 at 6:14 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[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
