Skip to content

Unhandled error in plugin exists: 'PosixPath' object has no attribute 'walk' #2494

@carno

Description

@carno

Expected behaviour:

After daemon startup, tasks are run without errors

Actual behaviour:

Tasks are aborted

Steps to reproduce:

  • Step 1: Configure exists plugin
  • Step 2: Run flexget

Config:

AFAIR, any config using exists plugin

Log:

(click to expand)
2019-11-13 20:32 CRITICAL task          tv_rarbg        BUG: Unhandled error in plugin exists: 'PosixPath' object has no attribute 'walk'
Traceback (most recent call last):
  File "/home/carno/envs/flexget3/lib/python3.7/site-packages/flexget/task.py", line 520, in __run_plugin
    result = method(*args, **kwargs)
  File "/home/carno/envs/flexget3/lib/python3.7/site-packages/flexget/event.py", line 20, in __call__
    return self.func(*args, **kwargs)
  File "/home/carno/envs/flexget3/lib/python3.7/site-packages/flexget/plugins/filter/exists.py", line 41, in on_task_filter
    for p in folder.walk(errors='ignore'):
AttributeError: 'PosixPath' object has no attribute 'walk'

Additional information:

  • FlexGet version: 3.0.1
  • Python version: 3.7.2
  • Installation method: pip
  • Using daemon (yes/no): yes
  • OS and version: debian unstable
  • Link to crash log: N/A

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