Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to include folder/dir as deps in elyra pipeline from node properties. #3181

Open
harshad16 opened this issue Sep 19, 2023 · 0 comments

Comments

@harshad16
Copy link
Contributor

harshad16 commented Sep 19, 2023

Describe the issue
Using elyra plugin to create a pipeline, when trying to introduce the file system as dependencies from node properties.
The inclusion of single files works as expected, however, when trying to include a folder/directory, the elyra sends out an error.
Example:

Error details:
{
  "severity": 1,
  "source": "Elyra Pipeline Validation Service",
  "type": "invalidFilePath",
  "message": "Property has an invalid path to a file/dir or the file/dir does not exist.",
  "data": {
    "nodeID": "8c333f6c-f21f-4061-a00a-098cd80c0f81",
    "nodeName": "test.ipynb",
    "propertyName": "dependencies",
    "value": "/opt/app-root/src/test/test"
  }

To Reproduce
Steps to reproduce the behavior:

  1. Create an elyra pipeline.
  2. Include some files in a directory and Click on 'node-properties' and then file dependencies
  3. include the folder in the dependencies and submit a pipeline.
  4. See error

Screenshots or log output
Screenshot from 2023-09-19 16-21-02

Expected behavior
The folder should be included in the pipeline without many changes.
as it fits these requirements: https://elyra.readthedocs.io/en/stable/user_guide/best-practices-file-based-nodes.html#file-input

Deployment information
Describe what you've deployed and how:

  • Elyra version: 3.15.0
  • Installation source: PyPI
  • Deployment type: Open Data Hub
  • Operating system: linux

Related-issue: opendatahub-io/notebooks#215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant