Beets suddenly stopped working

This was working fine for me for a few days up until about 10 minutes ago. I have tried restarting, uninstalling beets, python 3.10 and 2.7 (should have been running against 3.10) removing and re-adding environment variables…nothing seems to work…I’m at a loss here (and partiallly in panic mode so i may not have thought of everything, but hoping someone can look at this error output that i get when running literally any beets command and maybe tell me what’s happening…it looks like a script error, but i would think reinstalling would fix that, but it does not.

beet config -p
Traceback (most recent call last):
  File "C:\Users\Andrew Sutcliffe\AppData\Local\Programs\Python\Python310\Scripts\beet-script.py", line 33, in <module>
    sys.exit(load_entry_point('beets==1.5.0', 'console_scripts', 'beet')())
  File "C:\Users\Andrew Sutcliffe\AppData\Local\Programs\Python\Python310\lib\site-packages\beets\ui\__init__.py", line 1291, in main
    _raw_main(args)
  File "C:\Users\Andrew Sutcliffe\AppData\Local\Programs\Python\Python310\lib\site-packages\beets\ui\__init__.py", line 1274, in _raw_main
    subcommands, plugins, lib = _setup(options, lib)
  File "C:\Users\Andrew Sutcliffe\AppData\Local\Programs\Python\Python310\lib\site-packages\beets\ui\__init__.py", line 1153, in _setup
    plugins = _load_plugins(options, config)
  File "C:\Users\Andrew Sutcliffe\AppData\Local\Programs\Python\Python310\lib\site-packages\beets\ui\__init__.py", line 1139, in _load_plugins
    plugins.send("pluginload")
  File "C:\Users\Andrew Sutcliffe\AppData\Local\Programs\Python\Python310\lib\site-packages\beets\plugins.py", line 497, in send
    for handler in event_handlers()[event]:
  File "C:\Users\Andrew Sutcliffe\AppData\Local\Programs\Python\Python310\lib\site-packages\beets\plugins.py", line 480, in event_handlers
    for plugin in find_plugins():
  File "C:\Users\Andrew Sutcliffe\AppData\Local\Programs\Python\Python310\lib\site-packages\beets\plugins.py", line 315, in find_plugins
    _instances[cls] = cls()
  File "C:\Users\Andrew Sutcliffe\AppData\Local\Programs\Python\Python310\lib\site-packages\beetsplug\lyrics.py", line 736, in __init__
    sources = self.sanitize_bs_sources(sources)
  File "C:\Users\Andrew Sutcliffe\AppData\Local\Programs\Python\Python310\lib\site-packages\beetsplug\lyrics.py", line 763, in sanitize_bs_sources
    if source.REQUIRES_BS:
AttributeError: 'str' object has no attribute 'REQUIRES_BS'

ok, After i disabled all the plugins and re-enabled one by one, I found out that it’s the “lyrics” plugin that is having an issue, who supports this plugin?

This bug was recently fixed on master:

2 Likes

Works like a dream now! Man you guys are awesome!