airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas Chau <dch...@binghamton.edu>
Subject Re: python client - gw111
Date Thu, 06 Aug 2015 22:52:03 GMT
Hey Suresh,

I also tried reading it directly from the configuration once before to make
sure, but the issue still persisted.

Doug
On Aug 6, 2015 6:44 PM, "Suresh Marru" <smarru.apache@gmail.com> wrote:

> 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
> like:
>
> self.gatewayId = self.airavataConfig.get('GatewayProperties', 'gateway_id')
>
> Suresh
>
> On Aug 6, 2015, at 5:56 PM, Douglas Chau <dchau3@binghamton.edu> 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:
> https://gist.github.com/dogless/090c0d5ddb747089476a
>
> 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
> host=gw111.iu.xsede.org
> port=9930
> # Gateway Specific Properties
> [GatewayProperties]
> gateway_id=default
>
> Perhaps I’m missing something here, but has anyone encountered this issue
> before?
>
> Thanks
> Doug
>
>
>

Mime
View raw message