I think there is indeed an issue with the package python2-flask-restplus on this commit : https://aur.archlinux.org/cgit/aur.git/commit/?h=python2-flask-restplus&id=f57e1030000264d132894384d7778a0c41170550
The PKGBUILD was updated to 0.9.0, but the .SRCINFO is not.
I think this is why the AUR (and yaourt when it tries to install it) says that it is "0.8.6". But in reality it installs the 0.9.0.
See the output of the yaourt command : http://pastebin.com/xb5NcPa8
Line 4 reports the installation of 0.8.6, but starting with line 20 you see it in fact installs 0.9.0
Search Criteria
Package Details: flexget 3.13.6-1
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-04 16:13 (UTC) |
Dependencies (81)
- 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 61 more dependencies...
Required by (0)
Sources (6)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 25 Next › Last »
sleduc commented on 2016-03-17 20:17 (UTC)
mkaito commented on 2016-03-17 17:41 (UTC)
I used yaourt to install it from AUR. It reports version 0.8.6, but installs 0.9.0:
aur/python2-flask-restplus 0.8.6-1 [installed: 0.9.0-1]
cgirard commented on 2016-03-17 17:19 (UTC)
Where did you get your python2-flask-restplus package? I have kept it outdated at 0.8.6 in AUR especially for Flexget.
mkaito commented on 2016-03-17 17:04 (UTC)
Both of those commands returned an error for me, which was odd. I tried reinstalliing restplus, and now it seems the version is too new for flexget:
pkg_resources.DistributionNotFound: The 'flask-restplus==0.8.6' distribution was not found and is required by FlexGet
❯ pacman -Q python2-flask-restplus
python2-flask-restplus 0.9.0-1
sleduc commented on 2016-03-17 16:57 (UTC)
It is strange that you have this traceback if you have the files...
Can you try the import manually :
python2 -c "from flask_restplus import Api as RestPlusAPI"
And maybe to check the package of the files :
pacman -Qo /usr/lib/python2.7/site-packages/flask_restplus/__init__.pyc
mkaito commented on 2016-03-17 09:57 (UTC)
That was a typo on my part. python2-flask-restplus is correctly installed, and files exist under /usr/lib/python2.7/site-packages/flask_restplus.
sleduc commented on 2016-03-16 18:33 (UTC)
Indeed, the error on your pastebin seems to indicate an error on flask_restplus, not on flask_restful.
The package python2-flask-restplus is a dependency of flexget, and should provide the python package flask_restplus.
Do you have this package installed ?
Do you see files in /usr/lib/python2.7/site-packages/flask_restplus/ ?
mkaito commented on 2016-03-16 17:25 (UTC)
There seems to be an issue with flask-restful: http://paste.ubuntu.com/15402921/
sleduc commented on 2016-01-27 12:05 (UTC)
python2-pathlib is a missing dependency of python2-pyscss, so it should be added there (a comment has already been posted on this package but it has not yet been updated).
I am not really sure about guessit : since the dependency states "python2-guessit>=2.0rc5" which is provided by python2-guessit-rc it should work, but maybe I am missing something...
I will have to try to do more tests to see what is going on.
bkuri commented on 2016-01-27 05:41 (UTC) (edited on 2016-01-27 06:43 (UTC) by bkuri)
I think `python2-pathlib` should be added to the list of dependencies. Also `python2-guessit-rc` wasn't found at setup runtime for some reason, so I had to install it manually before retrying.
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.