Package Details: flexget 3.13.5-1

Git Clone URL: https://aur.archlinux.org/flexget.git (read-only, click to copy)
Package Base: flexget
Description: FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more.
Upstream URL: https://github.com/Flexget/Flexget
Licenses: MIT
Submitter: jonkristian
Maintainer: evine
Last Packager: evine
Votes: 76
Popularity: 0.22
First Submitted: 2009-09-11 19:38 (UTC)
Last Updated: 2024-12-25 16:14 (UTC)

Pinned Comments

evine commented on 2024-10-22 00:36 (UTC) (edited on 2024-10-26 00:26 (UTC) by evine)

@cmm11 I added this file /usr/lib/systemd/system/flexget.service with the intention of reducing the running permissions for users who use flexget-webui. Users using the webui can directly run command within the webui. If you have to run these commands from the command line, traditional su cannot do it because the shell of the flexget user is /usr/bin/nologin and login is prohibited.

  • You can run sudo -u flexget flexget -c /var/lib/flexget/config.yml execute --task task_name

  • Or You can use the gosu that I just packaged to implement: sudo gosu <user>:<group> <command>, for example: sudo gosu flexget:flexget flexget -c /var/lib/flexget/config.yml execute --task task_name.

If you are using /usr/lib/systemd/system/flexget.service, you can add a alias in your shell rc file: alias flexget="sudo -u flexget /usr/bin/flexget -c /var/lib/flexget/config.yml or alias flexget="sudo gosu flexget:flexget /usr/bin/flexget -c /var/lib/flexget/config.yml".

evine commented on 2024-10-19 04:50 (UTC) (edited on 2024-10-22 01:53 (UTC) by evine)

After taking over Flexget, I had

  • Added flexget-webui and flexget-webui-v1 in optdepends, you can install and enable webui if you need. When using webui, it is recommended to use /usr/lib/systemd/system/flexget.service I have newly added.
  • Fixed dependency packages.
  • Added /usr/lib/systemd/system/flexget.service to run as a system user, the original methods that run as normal user still exists: /usr/lib/systemd/system/flexget@.service and /usr/lib/systemd/user/flexget.service.
  • Removed check function in PKGBUILD due to the official testing of flexget before release.

If upgrade fail, you should remove old flexget first, and reinstall.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 25 Next › Last »

JohnRobson commented on 2023-07-21 22:10 (UTC)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================================================== short test summary info ==================================================================================
FAILED flexget/tests/test_config_schema.py::TestSchemaValidator::test_registered_schemas_are_valid - AssertionError: plugin `/schema/config` has an invalid schema. required uniqueItems ['tasks', 'tasks'] has non-unique elements
========================================= 1 failed, 1376 passed, 27 skipped, 14 deselected, 4 xfailed, 5 xpassed, 25 warnings in 223.87s (0:03:43) ==========================================
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: flexget-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
flexget - exit status 4

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)