Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510054 - media-sound/beets-1.3.3 should depend on dev-python/pyechonest
Summary: media-sound/beets-1.3.3 should depend on dev-python/pyechonest
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Stanislav Ochotnicky (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-11 11:56 UTC by Sergio
Modified: 2014-05-13 20:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio 2014-05-11 11:56:39 UTC
media-sound/beets-1.3.3 is equipped with the echonest plugin by default (http://beets.readthedocs.org/en/v1.3.3/plugins/echonest.html). But the plugins seems to need dev-python/pyechonest.
Enabling the plugin, in fact, gives this non fatal error:

$ beet import my_music_dir
** error loading plugin echonest
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/beets/plugins.py", line 190, in load_plugins
    namespace = __import__(modname, None, None)
  File "/usr/lib64/python2.7/site-packages/beetsplug/echonest.py", line 26, in <module>
    import pyechonest
ImportError: No module named pyechonest

Reproducible: Always

Steps to Reproduce:
1.enable the echonest plugin
2.import some music
3.read the error message
Actual Results:  
The program outputs the shown error message and continue to run

Expected Results:  
No errors
Comment 1 Stanislav Ochotnicky (RETIRED) gentoo-dev 2014-05-11 18:56:02 UTC
(In reply to Sergio from comment #0)
> media-sound/beets-1.3.3 is equipped with the echonest plugin by default
> (http://beets.readthedocs.org/en/v1.3.3/plugins/echonest.html). But the
> plugins seems to need dev-python/pyechonest.
> Enabling the plugin, in fact, gives this non fatal error:

This is actually covered by a use flag "echonest_tempo". There's just a bug with removing the plugin when the use flag is disabled. Will look into it.
Comment 2 Sergio 2014-05-11 19:11:11 UTC
> This is actually covered by a use flag "echonest_tempo". There's just a bug
> with removing the plugin when the use flag is disabled. Will look into it.

In fact I obtained the error with that USE flag disabled. But the plugin files are there.
Comment 3 Stanislav Ochotnicky (RETIRED) gentoo-dev 2014-05-13 16:57:51 UTC
Fix comitted in beets-1.3.3-r1. Added additional "echonest" use flag to cover this plugin in addition to echonest_tempo. Without the use flags the plugins should not be there