Turns out it's a bug in the package python2-stevedore,
https://bugs.archlinux.org/task/42063
Once it is fixed, you can safely update to 1.2.189.
In any event, python2-argparse should be removed from the depends.
There shouldn't be a reason for python2-argparse to exist, besides to support older versions of python, which is of no concern to this package.
Search Criteria
Package Details: flexget 3.13.7-2
Package Actions
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.21 |
First Submitted: | 2009-09-11 19:38 (UTC) |
Last Updated: | 2025-01-07 03:48 (UTC) |
Dependencies (83)
- python-aniso8601
- python-apschedulerAUR
- python-attrs
- python-autocommand (python-autocommand-gitAUR)
- python-babelfish
- python-beautifulsoup4
- python-blinker
- python-brotli (python-brotli-gitAUR)
- python-certifi
- python-charset-normalizer
- python-cheroot
- python-cherrypy
- python-click
- python-colorama (python-colorama-gitAUR)
- python-dateutil
- python-feedparser
- python-flask
- python-flask-compress
- python-flask-cors
- python-flask-login
- Show 63 more dependencies...
Required by (0)
Sources (6)
Latest Comments
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 25 Next › Last »
lolilolicon commented on 2014-09-22 11:22 (UTC)
lolilolicon commented on 2014-09-22 06:14 (UTC)
argparse is in the standard library, so it shouldn't be needed. It's definitely a bug upstream. I've opened an issue there.
For now, the right thing to do is to stick to an older version (e.g. 1.2.181) that's free of this bug.
rbellamy commented on 2014-09-21 23:37 (UTC)
@NygelLyndley, that seems a problem with the python2-argparse dependency tree. Maybe make a comment there?
NygelLyndley commented on 2014-09-21 23:17 (UTC)
Hmm ok.
I installed python2-argparse.
Then removed all the python3 related stuff that pulled in : `pacman -R python-argparse python python-setuptools` this left behind to python 2 arguparse
And flexget --version (at least) now works.
NygelLyndley commented on 2014-09-21 23:01 (UTC)
Hi, the same as rnd,
mispelt dependecy + the same errors on executing flexget.
The dependency can be fixed manually, the errors can be fixed by installing https://aur.archlinux.org/packages/python2-argparse/
But this installs python 3. I'm not a python dev, I don't know if this will have repercussions on your Arch install.
Or perhaps someone needs to create a python27-argparse package?
https://aur.archlinux.org/packages/?O=0&C=0&SeB=nd&K=argparse&outdated=&SB=n&SO=a&PP=50&do_Search=Go
rbellamy commented on 2014-09-21 22:54 (UTC)
@rnd - thanks for that. Fixed the typo.
Added python2-argparse as a dependency.
rnd commented on 2014-09-21 22:23 (UTC)
Hello,
I had 2 problems with 1.2.198-1.
First there seems to be a typo in the PKGBUILD:
"python2-guessiti" does not exist, it should be "python2-guessit".
After installation flexget failed to run even --version:
$ flexget --version
Traceback (most recent call last):
File "/usr/bin/flexget", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2867, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 432, in _build_master
ws.require(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 622, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse
Given the final line I tried installed aur/python2-argparse 1.2.1-1 and now it seems to run fine...
rbellamy commented on 2014-09-21 21:21 (UTC)
Added python2-guessit runtime dependency.
Bump to 1.2.189.
shelbydz commented on 2014-09-13 18:09 (UTC)
Also was getting the "You do not have the service_identity module installed..." error. Adding python2-service-identity resolved the problem. Maybe add this as a dependency?
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, traditionalsu
cannot do it because the shell of theflexget
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
oralias 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
flexget-webui
andflexget-webui-v1
inoptdepends
, 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./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.