You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Rastogi, Shivam" <sr...@iu.edu> on 2019/06/06 22:13:54 UTC
[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
Re: [External] Re: [Django portal] Error on Manage Users page in
local dev environment
Posted by "Rastogi, Shivam" <sr...@iu.edu>.
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 <sm...@apache.org>
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 <ma...@iu.edu>> wrote:
Hi Shivam,
It was added to the 'develop' branch recently [1].
[1] https://github.com/apache/airavata/commit/c9e0509c974cf907ba2f77d56568eb142a1a4900
From: "Rastogi, Shivam" <sr...@iu.edu>>
Reply-To: "dev@airavata.apache.org<ma...@airavata.apache.org>" <de...@airavata.apache.org>>
Date: Thursday, June 6, 2019 at 6:14 PM
To: "dev@airavata.apache.org<ma...@airavata.apache.org>" <de...@airavata.apache.org>>
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
Re: [Django portal] Error on Manage Users page in local dev
environment
Posted by Suresh Marru <sm...@apache.org>.
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 <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 <ma...@iu.edu> wrote:
>
> Hi Shivam,
>
> It was added to the ‘develop’ branch recently [1].
>
> [1] https://github.com/apache/airavata/commit/c9e0509c974cf907ba2f77d56568eb142a1a4900 <https://github.com/apache/airavata/commit/c9e0509c974cf907ba2f77d56568eb142a1a4900>
>
> From: "Rastogi, Shivam" <sr...@iu.edu>
> Reply-To: "dev@airavata.apache.org" <de...@airavata.apache.org>
> Date: Thursday, June 6, 2019 at 6:14 PM
> To: "dev@airavata.apache.org" <de...@airavata.apache.org>
> 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
Re: [Django portal] Error on Manage Users page in local dev
environment
Posted by "Christie, Marcus Aaron" <ma...@iu.edu>.
Hi Shivam,
It was added to the ‘develop’ branch recently [1].
[1] https://github.com/apache/airavata/commit/c9e0509c974cf907ba2f77d56568eb142a1a4900
From: "Rastogi, Shivam" <sr...@iu.edu>
Reply-To: "dev@airavata.apache.org" <de...@airavata.apache.org>
Date: Thursday, June 6, 2019 at 6:14 PM
To: "dev@airavata.apache.org" <de...@airavata.apache.org>
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
Re: [Django portal] Error on Manage Users page in local dev
environment
Posted by "Bisht, Aarushi" <ab...@iu.edu>.
?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 <sr...@iu.edu>
Sent: Thursday, June 6, 2019 6:13 PM
To: dev@airavata.apache.org
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