Package Details: flexget 3.3.26-1

Git Clone URL: https://aur.archlinux.org/flexget.git (read-only, click to copy)
Package Base: flexget
Description: Multipurpose automation tool for downloading media content from different sources
Upstream URL: https://github.com/flexget/flexget
Licenses: MIT
Submitter: jonkristian
Maintainer: lmartinez-mirror
Last Packager: lmartinez-mirror
Votes: 70
Popularity: 0.51
First Submitted: 2009-09-11 19:38 (UTC)
Last Updated: 2022-09-12 17:07 (UTC)

Latest Comments

1 2 3 4 5 6 .. 24 Next › Last »

rokam commented on 2022-10-29 21:28 (UTC)

Since python-werkzeug 2.2.x this package isn't working.

CRITICAL plugin                        Plugin `flexget.components.variables.api` failed to import dependencies
Traceback (most recent call last):

  File "/usr/bin/flexget", line 8, in <module>
    sys.exit(main())
    │   │    └ <function main at 0x7f0929f62830>
    │   └ <built-in function exit>
    └ <module 'sys' (built-in)>
  File "/usr/lib/python3.10/site-packages/flexget/__init__.py", line 44, in main
    manager.start()
    │       └ <function Manager.start at 0x7f092777f880>
    └ <flexget.manager.Manager object at 0x7f09277981f0>
  File "/usr/lib/python3.10/site-packages/flexget/manager.py", line 382, in start
    self.initialize()
    │    └ <function Manager.initialize at 0x7f092777f640>
    └ <flexget.manager.Manager object at 0x7f09277981f0>
  File "/usr/lib/python3.10/site-packages/flexget/manager.py", line 224, in initialize
    plugin.load_plugins(
    │      └ <function load_plugins at 0x7f0927c3d990>
    └ <module 'flexget.plugin' from '/usr/lib/python3.10/site-packages/flexget/plugin.py'>
  File "/usr/lib/python3.10/site-packages/flexget/plugin.py", line 551, in load_plugins
    _load_components_from_dirs(extra_components)
    │                          └ ['/home/kodi/.flexget/components', '/usr/lib/python3.10/site-packages/flexget/components']
    └ <function _load_components_from_dirs at 0x7f0927c3d870>
  File "/usr/lib/python3.10/site-packages/flexget/plugin.py", line 490, in _load_components_from_dirs
    _import_plugin(package_name, component_path)
    │              │             └ PosixPath('/usr/lib/python3.10/site-packages/flexget/components/variables/api.py')
    │              └ 'flexget.components.variables.api'
    └ <function _import_plugin at 0x7f0927c3d7e0>
> File "/usr/lib/python3.10/site-packages/flexget/plugin.py", line 419, in _import_plugin
    import_module(module_name)
    │             └ 'flexget.components.variables.api'
    └ <function import_module at 0x7f092a0a4820>
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           │          │           │    │        │        └ 0
           │          │           │    │        └ None
           │          │           │    └ 0
           │          │           └ 'flexget.components.variables.api'
           │          └ <function _gcd_import at 0x7f092a163400>
           └ <module '_frozen_importlib' (frozen)>
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/flexget/components/variables/api.py", line 4, in <module>
    from flexget.api import APIResource, api
  File "/usr/lib/python3.10/site-packages/flexget/api/__init__.py", line 1, in <module>
    from .app import APIClient, APIResource, api, api_app  # noqa
  File "/usr/lib/python3.10/site-packages/flexget/api/app.py", line 12, in <module>
    from flask_restx import Api as RestxAPI
  File "/usr/lib/python3.10/site-packages/flask_restx/__init__.py", line 5, in <module>
    from .api import Api  # noqa
  File "/usr/lib/python3.10/site-packages/flask_restx/api.py", line 50, in <module>
    from .swagger import Swagger
  File "/usr/lib/python3.10/site-packages/flask_restx/swagger.py", line 18, in <module>
    from werkzeug.routing import parse_rule

ImportError: cannot import name 'parse_rule' from 'werkzeug.routing' (/usr/lib/python3.10/site-packages/werkzeug/routing/__init__.py)

MarsSeed commented on 2022-07-11 07:40 (UTC)

Also, optdepend python-guppy does not exist anymore. But anyway, that only supported Python 2.

I was unable to find any references to guppy in mandatory or optional ('extra') dependencies in Flexget's requirements.in file or elsewhere. So maybe that optdepend can be removed altogether.

MarsSeed commented on 2022-07-11 07:36 (UTC)

Arch carries python-feedparser, whereas the current dependency, python-feedparser-dev does not exist anymore.

je-vv commented on 2021-10-25 00:54 (UTC)

@redfish, currently python-feedparser-dev is NO longer in AUR. But there's NO need for it either. The official Arch repos already have python-feedparser v. 6.0.2, and I guess the reason to depend on "python-feedparser-dev>=6.0.2" was precisely using 6.0.2 version.

A side effect of the dependency on python-feedparser-dev is the dependency on python-sgmllib3k which is NO longer part of AUR, and the last AUR version provided was v. 6.0.2, while the one the Arch official repos is v. 1.0.0 (I guess before being released separate from python-feedparser, it was sharing the python-feedparser version, but now that it has a separate release, then it became v. 1.0.0).

So @redfish can you please make flexget dependent on the Arch provided python-feedparser, which in turn will depend on the Arch provided python-sgmllib3k? Thanks !

luckyluke commented on 2021-07-04 08:00 (UTC)

Seems an upstream error of flask. ImportError: cannot import name '_endpoint_from_view_func' from 'flask.helpers' (/usr/lib/python3.9/site-packages/flask/helpers.py)

But the issue shows it has been solved. https://github.com/flask-restful/flask-restful/pull/913

redfish commented on 2021-04-22 19:57 (UTC) (edited on 2021-04-22 20:00 (UTC) by redfish)

MANUAL ACTION REQUIRED to install (due to a bug in another package). Before installing this package, patch and install python-feedparser-dev:

pacaur -S pbget
pbget --aur python-feedparser-dev
cd python-feedparser-dev
curl -LRO https://gist.githubusercontent.com/radfish/8e8844eff7b631ef1f592bd432ae4d5e/raw/fb74e305e25384d8dae2d405377a2252dda74ed3/0001-install-sgmllib3k-via-setuptools.patch
patch -p1 < 0001-install-sgmllib3k-via-setuptools.patch
makepkg -Cfsi

Then, proceed to install this flexget package.

The above patch fixes this error:

pkg_resources.DistributionNotFound: The 'sgmllib3k' distribution was not
found and is required by FeedParser

This workaround will remain necessary until the other package is fixed: https://aur.archlinux.org/packages/python-feedparser-dev/#comment-802450

redfish commented on 2021-04-18 01:25 (UTC) (edited on 2021-04-22 19:58 (UTC) by redfish)

Update is blocked by a bug in python-feedparser-dev package: https://aur.archlinux.org/packages/python-feedparser-dev/#comment-802450

@cheezsteak, @yongian: the python-brotli dep is transitive, it's a bug in another package, please vote on this bug: https://bugs.archlinux.org/index.php?do=details&action=details.addvote&task_id=68391 UPDATE: please do still vote on that bug, but I pushed the workaround to this package, since that bug won't be fixed anytime soon.

@youngian: python-babelfish is a dep of python-guessit, it's already in that package, so maybe you needed to rebuild python-guessit. Not sure, but I don't think there's anything to fix here.

@youngian: I didn't test extensively, but I'm not getting the error about cached_property from wekzeug. I feel like I've seen that before though in some other context. Try rebuild python-wekzeug and make sure it's from Arch not AUR.

youngian commented on 2021-04-09 15:53 (UTC)

In addition to python-brotli, I also had to install python-babelfish to get this to run.

I am also getting this error repeatedly that looks like it's coming from one of the plugins, even though I'm not using the plugin: ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3.9/site-packages/werkzeug/__init__.py)

cheezsteak commented on 2021-01-03 22:56 (UTC)

I had to add install python-brotli 1.0.9-4 to successfully run flexget --version. I don't know what version it should be or if its required by this package or one of it's dependencies.