question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin `flexget.components.imdb.api` failed to import dependencies

See original GitHub issue

Expected behaviour:

Arch Linux flexget AUR package. Python3.8 and kernel 5.4.41. I’m attempting to start flexget with flexget daemon start. It appears to start, but spews errors.

Actual behaviour:

Steps to reproduce:

  • Step 1: Installed flexget package and created a minimal config.yml
  • Step 2: Start flexget with flexget daemon start

Config:

tasks:
  test task:
    rss: https://www.archlinux.org/feeds/releases/
    accept_all: yes
    download: /mnt/linux/

Log:

(click to expand)
[deluge@bns-anarch ~]$ /usr/bin/flexget daemon start
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.plugins.daemon.web_server` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 555, in load_plugins
    _load_plugins_from_dirs(extra_plugins)
    |                       -> ['/srv/deluge/.config/flexget/plugins', '/usr/lib/python3.8/site-packages/flexget/plugins']
    -> <function _load_plugins_from_dirs at 0x7f6a3688f670>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 473, in _load_plugins_from_dirs
    _import_plugin(module_name, plugin_path)
    |              |            -> PosixPath('/usr/lib/python3.8/site-packages/flexget/plugins/daemon/web_server.py')
    |              -> 'flexget.plugins.daemon.web_server'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.plugins.daemon.web_server'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.plugins.daemon.web_server'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/plugins/daemon/web_server.py", line 3, in <module>
    from flexget.api import api_app
  File "/usr/lib/python3.8/site-packages/flexget/api/__init__.py", line 1, in <module>
    from .app import APIClient, APIResource, api, api_app  # noqa
  File "/usr/lib/python3.8/site-packages/flexget/api/app.py", line 10, in <module>
    from flask_restplus import Api as RestPlusAPI
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.trakt.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/trakt/api.py')
    |              -> 'flexget.components.trakt.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.trakt.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.trakt.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/trakt/api.py", line 4, in <module>
    from flask_restplus import inputs
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.managed_lists.lists.pending_list.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/managed_lists/lists/pending_list/api.py')
    |              -> 'flexget.components.managed_lists.lists.pending_list.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.managed_lists.lists.pending_list.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.managed_lists.lists.pending_list.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/managed_lists/lists/pending_list/api.py", line 8, in <module>
    from flexget.api import APIResource, api
  File "/usr/lib/python3.8/site-packages/flexget/api/__init__.py", line 1, in <module>
    from .app import APIClient, APIResource, api, api_app  # noqa
  File "/usr/lib/python3.8/site-packages/flexget/api/app.py", line 10, in <module>
    from flask_restplus import Api as RestPlusAPI
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.managed_lists.lists.entry_list.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/managed_lists/lists/entry_list/api.py')
    |              -> 'flexget.components.managed_lists.lists.entry_list.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.managed_lists.lists.entry_list.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.managed_lists.lists.entry_list.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/managed_lists/lists/entry_list/api.py", line 8, in <module>
    from flexget.api import APIResource, api
  File "/usr/lib/python3.8/site-packages/flexget/api/__init__.py", line 1, in <module>
    from .app import APIClient, APIResource, api, api_app  # noqa
  File "/usr/lib/python3.8/site-packages/flexget/api/app.py", line 10, in <module>
    from flask_restplus import Api as RestPlusAPI
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.managed_lists.lists.movie_list.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/managed_lists/lists/movie_list/api.py')
    |              -> 'flexget.components.managed_lists.lists.movie_list.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.managed_lists.lists.movie_list.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.managed_lists.lists.movie_list.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/managed_lists/lists/movie_list/api.py", line 8, in <module>
    from flexget.api import APIResource, api
  File "/usr/lib/python3.8/site-packages/flexget/api/__init__.py", line 1, in <module>
    from .app import APIClient, APIResource, api, api_app  # noqa
  File "/usr/lib/python3.8/site-packages/flexget/api/app.py", line 10, in <module>
    from flask_restplus import Api as RestPlusAPI
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.tmdb.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/tmdb/api.py')
    |              -> 'flexget.components.tmdb.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.tmdb.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.tmdb.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/tmdb/api.py", line 2, in <module>
    from flask_restplus import inputs
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.failed.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/failed/api.py')
    |              -> 'flexget.components.failed.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.failed.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.failed.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/failed/api.py", line 7, in <module>
    from flexget.api import APIResource, api
  File "/usr/lib/python3.8/site-packages/flexget/api/__init__.py", line 1, in <module>
    from .app import APIClient, APIResource, api, api_app  # noqa
  File "/usr/lib/python3.8/site-packages/flexget/api/app.py", line 10, in <module>
    from flask_restplus import Api as RestPlusAPI
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.pending_approval.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/pending_approval/api.py')
    |              -> 'flexget.components.pending_approval.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.pending_approval.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.pending_approval.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/pending_approval/api.py", line 4, in <module>
    from flask_restplus import inputs
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.history.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/history/api.py')
    |              -> 'flexget.components.history.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.history.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.history.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/history/api.py", line 7, in <module>
    from flexget.api import APIResource, api
  File "/usr/lib/python3.8/site-packages/flexget/api/__init__.py", line 1, in <module>
    from .app import APIClient, APIResource, api, api_app  # noqa
  File "/usr/lib/python3.8/site-packages/flexget/api/app.py", line 10, in <module>
    from flask_restplus import Api as RestPlusAPI
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.variables.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/variables/api.py')
    |              -> 'flexget.components.variables.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.variables.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.variables.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/variables/api.py", line 4, in <module>
    from flexget.api import APIResource, api
  File "/usr/lib/python3.8/site-packages/flexget/api/__init__.py", line 1, in <module>
    from .app import APIClient, APIResource, api, api_app  # noqa
  File "/usr/lib/python3.8/site-packages/flexget/api/app.py", line 10, in <module>
    from flask_restplus import Api as RestPlusAPI
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.series.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/series/api.py')
    |              -> 'flexget.components.series.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.series.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.series.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/series/api.py", line 5, in <module>
    from flask_restplus import inputs
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.seen.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/seen/api.py')
    |              -> 'flexget.components.seen.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.seen.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.seen.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/seen/api.py", line 5, in <module>
    from flask_restplus import inputs
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.status.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/status/api.py')
    |              -> 'flexget.components.status.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.status.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.status.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/status/api.py", line 5, in <module>
    from flask_restplus import inputs
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.scheduler.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/scheduler/api.py')
    |              -> 'flexget.components.scheduler.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.scheduler.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.scheduler.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/scheduler/api.py", line 5, in <module>
    from flexget.api import APIResource, api
  File "/usr/lib/python3.8/site-packages/flexget/api/__init__.py", line 1, in <module>
    from .app import APIClient, APIResource, api, api_app  # noqa
  File "/usr/lib/python3.8/site-packages/flexget/api/app.py", line 10, in <module>
    from flask_restplus import Api as RestPlusAPI
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.irc.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/irc/api.py')
    |              -> 'flexget.components.irc.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.irc.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.irc.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/irc/api.py", line 2, in <module>
    from flask_restplus import inputs
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.rejected.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/rejected/api.py')
    |              -> 'flexget.components.rejected.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.rejected.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.rejected.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/rejected/api.py", line 7, in <module>
    from flexget.api import APIResource, api
  File "/usr/lib/python3.8/site-packages/flexget/api/__init__.py", line 1, in <module>
    from .app import APIClient, APIResource, api, api_app  # noqa
  File "/usr/lib/python3.8/site-packages/flexget/api/app.py", line 10, in <module>
    from flask_restplus import Api as RestPlusAPI
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.thetvdb.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/thetvdb/api.py')
    |              -> 'flexget.components.thetvdb.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.thetvdb.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.thetvdb.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/thetvdb/api.py", line 2, in <module>
    from flask_restplus import inputs
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.tvmaze.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/tvmaze/api.py')
    |              -> 'flexget.components.tvmaze.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.tvmaze.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.tvmaze.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/tvmaze/api.py", line 2, in <module>
    from flask_restplus import inputs
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:27 CRITICAL plugin                        Plugin `flexget.components.imdb.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 11, in <module>
    load_entry_point('FlexGet==3.1.30', 'console_scripts', 'flexget')()
    -> <function load_entry_point at 0x7f6a38231b80>
  File "/usr/lib/python3.8/site-packages/flexget/__init__.py", line 41, in main
    manager.start()
    |       -> <function Manager.start at 0x7f6a36514a60>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 366, in start
    self.initialize()
    |    -> <function Manager.initialize at 0x7f6a36514820>
    -> <flexget.manager.Manager object at 0x7f6a3650f7f0>
  File "/usr/lib/python3.8/site-packages/flexget/manager.py", line 206, in initialize
    plugin.load_plugins(
    |      -> <function load_plugins at 0x7f6a3688f820>
    -> <module 'flexget.plugin' from '/usr/lib/python3.8/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 556, in load_plugins
    _load_components_from_dirs(extra_components)
    |                          -> ['/srv/deluge/.config/flexget/components', '/usr/lib/python3.8/site-packages/flexget/components']
    -> <function _load_components_from_dirs at 0x7f6a3688f700>
  File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 495, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    |              |             -> PosixPath('/usr/lib/python3.8/site-packages/flexget/components/imdb/api.py')
    |              -> 'flexget.components.imdb.api'
    -> <function _import_plugin at 0x7f6a3688f5e0>
> File "/usr/lib/python3.8/site-packages/flexget/plugin.py", line 424, in _import_plugin
    import_module(module_name)
    |             -> 'flexget.components.imdb.api'
    -> <function import_module at 0x7f6a38a31820>
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           |          |           |    |        |        -> 0
           |          |           |    |        -> None
           |          |           |    -> 0
           |          |           -> 'flexget.components.imdb.api'
           |          -> <function _gcd_import at 0x7f6a3952d430>
           -> <module 'importlib._bootstrap' (frozen)>
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.8/site-packages/flexget/components/imdb/api.py", line 3, in <module>
    from flexget.api import APIResource, api
  File "/usr/lib/python3.8/site-packages/flexget/api/__init__.py", line 1, in <module>
    from .app import APIClient, APIResource, api, api_app  # noqa
  File "/usr/lib/python3.8/site-packages/flexget/api/app.py", line 10, in <module>
    from flask_restplus import Api as RestPlusAPI
  File "/usr/lib/python3.8/site-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/lib/python3.8/site-packages/flask_restplus/fields.py", line 17, in <module>
    from werkzeug import cached_property

ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py)
2020-05-20 10:27:28 INFO     scheduler                     No schedules defined in config. Defaulting to run all tasks on a 1 hour interval.
2020-05-20 10:27:28 INFO     scheduler                     Starting scheduler

Additional information:

  • FlexGet version: 3.1.30
  • Python version: 3.8
  • Installation method: AUR
  • Using daemon (yes/no): yes
  • OS and version: Arch Linux 5.4.41
  • Link to crash log:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ianstalkcommented, May 31, 2020

This looks to be an issue with flask-restplus: https://github.com/noirbizarre/flask-restplus/issues/758 which has been abandoned in favor of the flask-restx fork. We should probably consider moving over.

0reactions
InTheMorningcommented, May 31, 2020

I was able to get flexget working again by downgrading python-werkzeug to 0.16.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

ChangeLog - FlexGet
Changelog. This changelog is in progress. It can be manually updated via the wiki, but is also updated automatically via select commit messages...
Read more >
help - Forum - FlexGet - RSSing.com
Hi. I've been trying to setup a download from an RSS feed but it contains the relative path to the download and I...
Read more >
Flexget/Flexget - Gitter
i was thinking an api GET /api/lists that shows all the lists from the ... The pending plugin would use that component to...
Read more >
Release 1.2.355.dev FlexGet
Unit tests are not mandatory for a plugin to be included in the FlexGet ... Set defaults in the config that user did...
Read more >
Flexget - Bountysource
2021-05-19 17:04:14 CRITICAL plugin Plugin `flexget.plugins.daemon.web_server` failed to import dependencies Traceback (most recent call last): File "/opt/bin/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found