You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2021/10/15 17:11:00 UTC

[jira] [Updated] (AIRAVATA-3532) [Errno 21] Is a directory: '/var/www/portals/gateway-user-data/lrose/username/Default_Project/precip_stage2_BhQJ8dI/rate'

     [ https://issues.apache.org/jira/browse/AIRAVATA-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Christie updated AIRAVATA-3532:
--------------------------------------
    Environment: https://gateway.lrose.net/

> [Errno 21] Is a directory: '/var/www/portals/gateway-user-data/lrose/username/Default_Project/precip_stage2_BhQJ8dI/rate'
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-3532
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3532
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>         Environment: https://gateway.lrose.net/
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> When a directory is registered as an output file, the Django Portal tries to read from it as though it were a file, but then gets the exception IsADirectoryError.
> The app interface having an output of type URI and value that resolves to a directory is a misconfiguration, but the Django Portal should more gracefully handle such a situation.
> {code}
> Traceback (most recent call last):
>  File "/var/www/portals/django-lrose/venv/lib64/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner
>    response = get_response(request)
>  File "/var/www/portals/django-lrose/venv/lib64/python3.6/site-packages/django/core/handlers/base.py", line 181, in _get_response
>    response = wrapped_callback(request, *callback_args, **callback_kwargs)
>  File "/var/www/portals/django-lrose/venv/lib64/python3.6/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
>    return view_func(request, *args, **kwargs)
>  File "/var/www/portals/django-lrose/airavata-django-portal/django_airavata/apps/workspace/views.py", line 174, in view_experiment
>    response.data['detail']))
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)