FS#46506 - [beets] python2-requests is needed for Chromaprint/Acoustid plugin

Attached to Project: Community Packages
Opened by Bastien Traverse (Neitsab) - Thursday, 01 October 2015, 11:17 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 07 October 2015, 09:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

python2-requests is matched against "FetchArt plugin" in optdepends but is also needed for Chromaprint/Acoustid, otherwise it fails with an ImportError message.

Additional info:
* package version(s): 1.3.14-2
* config and/or log files etc.

Steps to reproduce:

- all optdepends flagged for Chromaprint/Acoustid installed
- "chroma" plugin enabled in ~/.config/beets/config.yaml

$ beet version
** error loading plugin chroma:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/beets/plugins.py", line 254, in load_plugins
namespace = __import__(modname, None, None)
File "/usr/lib/python2.7/site-packages/beetsplug/chroma.py", line 27, in <module>
import acoustid
File "/usr/lib/python2.7/site-packages/acoustid.py", line 20, in <module>
import requests
ImportError: No module named requests

beets version 1.3.14
plugins: convert, duplicates

# pacman -S python2-requests
...
$ beet version
beets version 1.3.14
plugins: chroma, convert, duplicates
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Wednesday, 07 October 2015, 09:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.3.14-3

Loading...