Skip to content

Filesystem plugin crashes #2526

@paranoidi

Description

@paranoidi

Steps to reproduce:

  • Step 1: remove directory after configuration has passed validation

Log:

(click to expand)
Traceback (most recent call last):
  File "/home/paranoidi/apps/flexget/flexget/task.py", line 520, in __run_plugin
    result = method(*args, **kwargs)
  File "/home/paranoidi/apps/flexget/flexget/event.py", line 20, in __call__
    return self.func(*args, **kwargs)
  File "/home/paranoidi/apps/flexget/flexget/plugins/input/filesystem.py", line 216, in on_task_input
    path_list, match, recursive, test_mode, get_files, get_dirs, get_symlinks
  File "/home/paranoidi/apps/flexget/flexget/plugins/input/filesystem.py", line 168, in get_entries_from_path
    for path_object in folder_objects:
  File "/usr/lib/python3.7/pathlib.py", line 1122, in rglob
    for p in selector.select_from(self):
  File "/usr/lib/python3.7/pathlib.py", line 569, in _select_from
    for p in successor_select(starting_point, is_dir, exists, scandir):
  File "/usr/lib/python3.7/pathlib.py", line 520, in _select_from
    entries = list(scandir(parent_path))
FileNotFoundError: [Errno 2] No such file or directory: '/storage/transfer/done/xz/xy'

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