Package Details: flexget 3.18.38-1

Git Clone URL: https://aur.archlinux.org/flexget.git (read-only, click to copy)
Package Base: flexget
Description: 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: 77
Popularity: 0.000758
First Submitted: 2009-09-11 19:38 (UTC)
Last Updated: 2026-01-16 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 2025-04-14 15:19 (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.

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

Latest Comments

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

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.

tuxitop commented on 2019-09-08 14:14 (UTC)

What is the point of including the flexget@.service file, if you are not installing it in the PKGBUILD?

redfish commented on 2018-11-18 18:21 (UTC)

@je-vv: thanks, merged. I kept the min version specs for now, though, they don't hurt.

je-vv commented on 2018-11-04 05:12 (UTC)

This patch might be of interest:

diff -Naur flexget.orig/PKGBUILD flexget/PKGBUILD
--- flexget.orig/PKGBUILD       2018-11-03 22:59:17.800654614 -0600
+++ flexget/PKGBUILD    2018-11-03 23:04:58.118357988 -0600
@@ -17,35 +17,35 @@

 depends=('python'
          # documented in requirements.in
-         'python-feedparser>=5.2.1'
-         'python-sqlalchemy>=1.0.9'
+         'python-feedparser'
+         'python-sqlalchemy'
          'python-yaml'
-         'python-beautifulsoup4>=4.5'
-         'python-html5lib>=0.11'
+         'python-beautifulsoup4'
+         'python-html5lib'
          'python-pyrss2gen'
          'python-pynzb'
          'python-rpyc'
          'python-jinja'
-         'python-requests>=2.16.3'
-         'python-dateutil>=2.5.3'
-         'python-jsonschema>=2.0'
-         'python-path>=8.1.1'
-         'python-pathlib>=1.0'
-         #'python-guessit' # feature disabled until upstream updates to latest API
+         'python-requests'
+         'python-dateutil'
+         'python-jsonschema'
+         'python-path.py'
+         # 'python-pathlib'
+         'python-guessit'
          'python-rebulk'
-         'python-apscheduler>=3.2.0'
-         'python-terminaltables>=3.1.0'
-         'python-colorclass>=2.2.0'
-         'python-cherrypy>=3.7.0'
-         'python-flask>=0.7'
-         'python-flask-restful>=0.3.3'
+         'python-apscheduler'
+         'python-terminaltables'
+         'python-colorclass'
+         'python-cherrypy'
+         'python-flask'
+         'python-flask-restful'
          'python-flask-restplus'
-         'python-flask-compress>=1.2.1'
-         'python-flask-login>=0.4.0'
-         'python-flask-cors>=2.1.2'
-         'python-pyparsing>=2.0.3'
+         'python-flask-compress'
+         'python-flask-login'
+         'python-flask-cors'
+         'python-pyparsing'
          'python-zxcvbn'
-         'python-future>=0.15.2'
+         'python-future'
          )
 optdepends=('python-guppy: for memusage plugin' #AUR#
             'python-transmissionrpc: Transmission support' #AUR#
@@ -66,7 +66,7 @@
 prepare() {
   cd "${_pkgname}"-"${pkgver}"

-  #msg "Patching shebangs to point to python2"
+  #msg "Patching shebangs to point to python"
   sed -i '1s/python2/python/' flexget{,/ui}/__init__.py

   # Don't use the requirements.txt with pinned deps
@@ -82,6 +82,9 @@
   # zxcvbn-python has been renamed zxcvbn
   sed -i 's/zxcvbn-python/zxcvbn/' requirements.txt

+  # pathlib no longer required since python 3.4
+  sed -i 's/pathlib.*//' requirements.txt
+
   # disable this parser because python-guessit API changed and upstream
   # needs to be patched to support it.
   rm flexget/plugins/parsers/parser_guessit.py

je-vv commented on 2018-10-21 06:42 (UTC)

Please, change dependency from python-path, to python-path.py, which is the same but available from official repos. Please also remove dependency upon python-pathlib, that's not required at all on python 3. Some tweaks to requirements.txt might be required

highway commented on 2018-08-26 22:53 (UTC) (edited on 2018-08-26 22:55 (UTC) by highway)

After another round of issues due to updates and broken functionality, I uninstalled flexget and all of its depends using pacman. I kept setuptools installed, and installed python2-virutalenv and python2-pip. I followed the instructions on the flexget page for setting up a virtualenv for ONLY flexget using python2 (python3 seems to have issues at this time). This seems to be working well and running OK. This process creates a build of flexget and its depends (independent of Arch) in a local folder somewhere, so it can be executed but will never interfere with Arch packages. I don't ever plan on updating the virtualenv or the packages/depends installed inside of that folder. Hopefully I can now use flexget in peace, without it breaking in an attempt to give me feature updates I don't need and won't use.

highway commented on 2018-04-29 13:21 (UTC) (edited on 2018-04-29 13:22 (UTC) by highway)

@cgirard - thank you, that fixed it!

file path if anyone else needs it:

/usr/lib/python2.7/site-packages/FlexGet-2.10.48-py2.7.egg-info/requires.txt