I got my test script working with the 0.15 Airavata-remote, with one exception. No output is returned from the /bin/date command:
cmd (/media/scigap/scigap/0.15/airavata/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata-remote -h gw111.iu.xsede.org:9930 validateExperiment 'dateexperiment_a51b9f4b-5e3d-4295-8cdb-c7dbc7c6ff51') expout = (True ) cmd (/media/scigap/scigap/0.15/airavata/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/Airavata-remote -h gw111.iu.xsede.org:9930 launchExperiment 'dateexperiment_a51b9f4b-5e3d-4295-8cdb-c7dbc7c6ff51' runme) expout = (None ) Is there a way to tell what happened to the output? On Thu, Mar 26, 2015 at 03:18:01PM -0400, Suresh Marru wrote: > Hi Kenneth, > > Please see below: > > > On Mar 26, 2015, at 2:58 PM, K Yoshimoto <[email protected]> wrote: > > > > I've given it a try. I cloned 0.15 and was able to run > > TestAiravataConnection.py, with a slight addition to sys.path. > > Great. Atleast now we are use you can connect to the deployed server and do > not get hung up connection issues. > > > I've been trying to run my test script using the Airavata-remote > > 0.15 client, but I don't have the models in the cloned 0.15 tree. > > > > What is the right place to build these? The same as before, > > in airavata-api/thrift-interface-descriptions, which requires a thrift > > gen. Or somehow use what's in > > airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib? > > Not sure if that requires a thrift gen or other prep. > > You should not need to do any thrift gen. You can directly use the generated > thrift classes in the lib directly and move forward to use the API. I will be > happy to program some examples for you. I will update the API documentation > and will send you an updated link. > > > > > I haven't done the maven build. Am I supposed to do that to get the > > python client working beyond version retrieval? > > No you should not need any for now. You will need to use the maven build, if > you would like to build Airavata Java Server and deploy it locally. Also you > will need to use the build to get the python scripts like a bundled package. > We can defer these for now. > > Suresh > > > > Kenneth > > > > On Tue, Mar 24, 2015 at 01:18:27PM -0400, Suresh Marru wrote: > >> Hi Kenneth, > >> > >> As you have requested, we now have a straw man python client which > >> connects to Airavata Server. Now we have the basic deployment and this > >> client, lets walk through your usecases and beef this client up with some > >> meaningful examples. > >> > >> You can checkout the client at - https://github.com/apache/airavata > >> <https://github.com/apache/airavata> and cd to > >> airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources > >> you will samples directory. The lib is essentially Airavata API (thrift > >> generated) and configuration has connection properties. > >> > >> If you have any questions, please reply to this email or jump onto > >> Airavata HipChat instant messaging - https://www.hipchat.com/gkzJyHoot > >> <https://www.hipchat.com/gkzJyHoot> > >> > >> Cheers, > >> Suresh
