Skip to content

Bug: File picker fails with "Could not get script path" / "The selected file does not have a valid path" #61

Description

@ryee123123

When creating or editing a startup entry and using the folder icon to browse for a script file (instead of typing the path manually), Ignition shows an error dialog: "Could not get script path The selected file does not have a valid path."

Steps to reproduce:

1: Open Ignition, create/edit a startup entry
2: Set type to Command or Script
3: Click the folder icon to browse for a script file
4: Select any valid script (e.g. a .sh file)
5: Error dialog appears instead of the path being filled in

Expected behavior:
The picker should fill the Command or Script field with the selected file's path.

Actual behavior:
Error dialog appears; no path is set.

Workaround:
Typing the full absolute path manually (via the pencil/edit icon) works correctly, e.g.:

sh -c '/home//.config/autostart/.sh'

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions