machristie commented on pull request #40:
URL:
https://github.com/apache/airavata-django-portal/pull/40#issuecomment-620637378
Hi @dinukadesilva , you need to create an application that has an
application input of type URI. Then you'll see the "Select file from storage OR
upload" UI for that input when you create an experiment for that application.
Locally I tried Gaussian which has a single URI input.
When I select "Select file from storage" I get
```
Vue Global Error Handler TypeError: "this.userStoragePath is null"
isDir
webpack-internal:///./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./static/django_airavata_workspace/js/components/storage/UserStoragePathViewer.vue?vue&type=script&lang=js&:125
VueJS 4
render
webpack-internal:///./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"48bd918a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./static/django_airavata_workspace/js/components/storage/UserStoragePathViewer.vue?vue&type=template&id=9f8dcff2&:11
VueJS 33
```
I also see these warnings:
```
[Vue warn]: Missing required prop: "username"
found in
---> <UserStoragePathViewer> at
static/django_airavata_workspace/js/components/storage/UserStoragePathViewer.vue
<UserStorageFileSelectionContainer> at
static/django_airavata_workspace/js/components/storage/UserStorageFileSelectionContainer.vue
<InputFileSelector> at
static/django_airavata_workspace/js/components/experiment/input-editors/InputFileSelector.vue
<FileInputEditor> at
static/django_airavata_workspace/js/components/experiment/input-editors/FileInputEditor.vue
<BFormGroup>
<InputEditorFormGroup> at
static/django_airavata_workspace/js/components/experiment/input-editors/InputEditorFormGroup.vue
<InputEditorContainer> at
static/django_airavata_workspace/js/components/experiment/input-editors/InputEditorContainer.vue
<TransitionGroup>
<EditExperiment> at
static/django_airavata_workspace/js/components/experiment/ExperimentEditor.vue
<CreateExperimentContainer> at
static/django_airavata_workspace/js/containers/CreateExperimentContainer.vue
<MainLayout> at
static/common/js/components/MainLayout.vue
<Root> vue.runtime.esm.js:620:15
```
```
[Vue warn]: Missing required prop: "storagePath"
found in
---> <UserStoragePathViewer> at
static/django_airavata_workspace/js/components/storage/UserStoragePathViewer.vue
<UserStorageFileSelectionContainer> at
static/django_airavata_workspace/js/components/storage/UserStorageFileSelectionContainer.vue
<InputFileSelector> at
static/django_airavata_workspace/js/components/experiment/input-editors/InputFileSelector.vue
<FileInputEditor> at
static/django_airavata_workspace/js/components/experiment/input-editors/FileInputEditor.vue
<BFormGroup>
<InputEditorFormGroup> at
static/django_airavata_workspace/js/components/experiment/input-editors/InputEditorFormGroup.vue
<InputEditorContainer> at
static/django_airavata_workspace/js/components/experiment/input-editors/InputEditorContainer.vue
<TransitionGroup>
<EditExperiment> at
static/django_airavata_workspace/js/components/experiment/ExperimentEditor.vue
<CreateExperimentContainer> at
static/django_airavata_workspace/js/containers/CreateExperimentContainer.vue
<MainLayout> at
static/common/js/components/MainLayout.vue
<Root> vue.runtime.esm.js:620:15
```
Do you have a testdrive.airavata.org account? I can point you to an
application there that has a URI input so you can see how it is configured. You
should then be able to create a similarly configured application in your local
test environment.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]