[ 
https://issues.apache.org/jira/browse/AIRAVATA-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15616454#comment-15616454
 ] 

Marcus Christie commented on AIRAVATA-2181:
-------------------------------------------

I added some debug logging to the /download route in app/routes.php

{noformat}
[2016-10-28 20:15:07] production.DEBUG: dataProductModel ["[object] 
(Airavata\\Model\\Data\\Replica\\DataProductModel: 
{\"productUri\":\"airavata-dp://7bab795b-0da2-4b65-84f6-df1a07b0f5dc\",\"gatewayId\":\"seagrid\",\"parentProductUri\":null,\"productName\":\"Echo-Standard-Out\",\"productDescription\":null,\"ownerName\":\"marcus-user\",\"dataProductType\":0,\"productSize\":0,\"creationTime\":1477684087000,\"lastModifiedTime\":1477684087000,\"productMetadata\":[],\"replicaLocations\":[{\"replicaId\":\"f9f01f66-7ceb-4032-b589-1a061980d9a8\",\"productUri\":\"airavata-dp://7bab795b-0da2-4b65-84f6-df1a07b0f5dc\",\"replicaName\":\"Echo-Standard-Out
 gateway data store 
copy\",\"replicaDescription\":null,\"creationTime\":1477684087000,\"lastModifiedTime\":1477684087000,\"validUntilTime\":null,\"replicaLocationCategory\":0,\"replicaPersistentType\":0,\"storageResourceId\":\"gw54.iu.xsede.org_5cd90eaf-ec37-4cb9-86eb-27588bf86d0a\",\"filePath\":\"file://p...@gw54.iu.xsede.org:0/var/www/portals/gateway-user-data/dev-seagrid/marcus-user/DefaultProject/echo1477684044/Echo.stdout\",\"replicaMetadata\":[]}]})"]
 []
[2016-10-28 20:15:07] production.DEBUG: 
currentOutputPath=file://p...@gw54.iu.xsede.org:0/var/www/portals/gateway-user-data/dev-seagrid/marcus-user/DefaultProject/echo1477684044/Echo.stdout
 [] []
[2016-10-28 20:15:07] production.DEBUG: path=, 
dataRoot=/var/www/portals/gateway-user-data/dev-seagrid/ [false] []
[2016-10-28 20:15:07] production.DEBUG: 
downloadLink=/var/www/portals/gateway-user-data/dev-seagrid/ [] []
[2016-10-28 20:15:07] production.ERROR: exception 
'Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException' with 
message 'The file "/var/www/portals/gateway-user-data/dev-seagrid/" does not 
exist' in 
/var/www/portals/dev-seagrid/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/File.php:41
...
{noformat}

It's probably hard to tell, but it looks like in the code
{code}
parse_url($currentOutputPath, PHP_URL_PATH)
{code}
is returning {{false}} for currentOutputPath = 
{{file://p...@gw54.iu.xsede.org:0/var/www/portals/gateway-user-data/dev-seagrid/marcus-user/DefaultProject/echo1477684044/Echo.stdout}}

> Cannot view the experiment outputs from PGA. Getting exception: The file 
> "/var/www/portals/gateway-user-data/dev-seagrid/" does not exist
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-2181
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2181
>             Project: Airavata
>          Issue Type: Bug
>          Components: PGA PHP Web Gateway
>         Environment: https://dev.seagrid.org
>            Reporter: Eroma
>            Assignee: Marcus Christie
>             Fix For: 0.17-SNAPSHOT
>
>
> When tried to view inputs and outputs from experiment summary;
> 1. Can successfully download the input file
> 2. Cannot view the outputs.
> 3. They exists in the specific data directory of the experiment in gw54 
> machine. (Path: 
> var/www/portals/gateway-user-data/dev-seagrid/ProdE2016/October_21_2016/Clone_of_SLM2_Gaussian_Gordon1477061600)
> Experiment ID: 
> Clone_of_SLM2-Gaussian-Gordon_e44417f0-de47-4baf-aceb-5bd7a6126fef



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to