jupyter-scheduler icon indicating copy to clipboard operation
jupyter-scheduler copied to clipboard

Update to job definition does not fill in the input file correctly if not in base folder

Open mimikwang opened this issue 8 months ago • 1 comments

Description

When I edit a job definition created from a file in a subfolder, the input file does not include the path. I have to explicitly update the path as it defaults to the home path. This means that it fails - unless I have happen to have a file of the same name in the base folder, then the job definition is updated incorrectly with the wrong file.

Video:

https://github.com/user-attachments/assets/9d35d381-1def-4611-8b07-7f50e1d2be4e

How to reproduce

  1. Create a subfolder
  2. Create a notebook
  3. Create a job definition
  4. Edit the job definition and save

Expected behavior

When editing the job definition, the full path should be populated instead of just the file name

Context

  • Operating System and version:
  • Browser and version:
  • JupyterLab version:
  • Jupyter Scheduler version:
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.

mimikwang avatar Mar 19 '25 14:03 mimikwang

Hi @mimikwang. Thank you for creating this issue. Wanted to let you know that I'm working on the solution to this problem.

andrii-i avatar Mar 31 '25 19:03 andrii-i