airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Marru <>
Subject Re: python client - gw111
Date Thu, 06 Aug 2015 22:43:56 GMT
Hi Doug,

As you can see from the exception the gateway id in your python code is
null. May be you are not reading it from config file. Try adding something

self.gatewayId = self.airavataConfig.get('GatewayProperties', 'gateway_id')


On Aug 6, 2015, at 5:56 PM, Douglas Chau <> wrote:

Hey Devs,

I was working on a small python client to submit jobs to airavata and I
believe I am having issues with passing in the correct gateway Id (i.g.
making a call to getAllComputeResourceNames(1: required AuthzToken, 2:
required gatewayId))

Here is a gist of my code:

I pass in “default” as the gatewayId on line 91, and I receive the error:
thrift.Thrift.TApplicationException: Required field 'gatewayId' was not
present! Struct: getAllApplicationInterfaceNames_args(gatewayId:null)

My airavata client properties are set to:
# SciGaP Development Server
# Gateway Specific Properties

Perhaps I’m missing something here, but has anyone encountered this issue


View raw message