Hi all,
Got this exception while trying to clone an experiment on SEAGrid using my
Python script.
(ENV) [js-17-195] sa0412
~/test/airavata-jupyter-notebook-client-->python3.6 test.py
Traceback (most recent call last):
File "test.py", line 26, in <module>
main()
File "test.py", line 23, in main
username, existing_exp_id, new_exp_name, new_exp_proj_id)
File "/home/sa0412/test/airavata-jupyter-notebook-client/api.py", line
116, in clone_experiment
cloned_exp_id = airavataClient.cloneExperiment(auth_token,
existing_exp_id, new_exp_name, new_exp_proj_id)
File
"/home/sa0412/test/airavata-jupyter-notebook-client/apache/airavata/api/Airavata.py",
line 6244, in cloneExperiment
return self.recv_cloneExperiment()
File
"/home/sa0412/test/airavata-jupyter-notebook-client/apache/airavata/api/Airavata.py",
line 6277, in recv_cloneExperiment
raise result.ase
apache.airavata.api.error.ttypes.AiravataSystemException:
AiravataSystemException(airavataErrorType=2, message='Error while cloning
the experiment with existing configuration. More info : Error while getting
the experiment. More info : User does not have permission to access this
resource')
The following statement clones an experiment:
airavataClient.cloneExperiment(auth_token, existing_exp_id, new_exp_name,
new_exp_proj_id)
BTW, I am able to launch an experiment using the following statement:
airavata_client.launchExperiment(auth_token, experiment_id, gateway_id)
Please suggest.
Thanks in advance,
Saurabh Agrawal