Hi Eroma--
I don't have this problem. Can you do a "git pull" to make sure you are
up to date? Also, make sure you have the file
airavata/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/conf/airavata-client-properties.ini
And you need to run the php clients in the directory
airavata/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples.
Marlon
On 7/13/14, 7:33 PM, Eroma Abeysinghe wrote:
Hi Suresh,
Tried to execute the files but getting errors.
1. createProject.php script gives the error
Warning: parse_ini_file(../conf/airavata-client-properties.ini): failed to
open stream: No such file or directory in
/Users/airavata/Downloads/apache-airavata-php-sdk-0.13-SNAPSHOT/php-cli-samples/getAiravataClient.php
on line 4
Warning: parse_ini_file(../conf/app-catalog-identifiers.ini): failed to
open stream: No such file or directory in
/Users/airavata/Downloads/apache-airavata-php-sdk-0.13-SNAPSHOT/php-cli-samples/getAiravataClient.php
on line 6
Warning: require_once(Transport/TTransport.php): failed to open stream: No
such file or directory in
/Users/airavata/Downloads/apache-airavata-php-sdk-0.13-SNAPSHOT/php-cli-samples/getAiravataClient.php
on line 9
Fatal error: require_once(): Failed opening required
'Transport/TTransport.php' (include_path='.:') in
/Users/airavata/Downloads/apache-airavata-php-sdk-0.13-SNAPSHOT/php-cli-samples/getAiravataClient.php
on line 9
With help from Lahiru copied the .ini file and other configurations from
[1] and tried but then it was giving the below error.
airavata~/Downloads/apache-airavata-php-sdk-0.13-SNAPSHOT/php-cli-samples$
php createProject.php
Warning: require_once(../lib/Thrift/Transport/TTransport.php): failed to
open stream: No such file or directory in
/Users/airavata/Downloads/apache-airavata-php-sdk-0.13-SNAPSHOT/php-cli-samples/getAiravataClient.php
on line 9
Fatal error: require_once(): Failed opening required
'../lib/Thrift/Transport/TTransport.php' (include_path='.:') in
/Users/airavata/Downloads/apache-airavata-php-sdk-0.13-SNAPSHOT/php-cli-samples/getAiravataClient.php
on line 9
[1]
https://github.com/apache/airavata/tree/master/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/conf
Thank You,
Best Regards,
Eroma
On Sun, Jul 13, 2014 at 3:57 PM, Suresh Marru <[email protected]> wrote:
Hi All,
In preparation for a tutorial on Apache Airavata (http://sched.co/1rpgQmE),
I have staged the server and PHP and C++ clients as a RC0 testing. This
might help for a 0.13 release, but currently I am staging to have a
official download url (not yet for GA).
Please test and report any issues.
https://dist.apache.org/repos/dist/dev/airavata/0.13/RC0
Cheers,
Suresh