Upgraded to 1.6.0 and getting an odd error

Traceback (most recent call last):
  File "/home/andy/.local/bin/beet", line 8, in <module>
    sys.exit(main())
  File "/home/andy/.local/lib/python3.8/site-packages/beets/ui/__init__.py", line 1285, in main
    _raw_main(args)
  File "/home/andy/.local/lib/python3.8/site-packages/beets/ui/__init__.py", line 1268, in _raw_main
    subcommands, plugins, lib = _setup(options, lib)
  File "/home/andy/.local/lib/python3.8/site-packages/beets/ui/__init__.py", line 1148, in _setup
    plugin_types_album = plugins.types(library.Album)
  File "/home/andy/.local/lib/python3.8/site-packages/beets/plugins.py", line 337, in types
    for plugin in find_plugins():
  File "/home/andy/.local/lib/python3.8/site-packages/beets/plugins.py", line 307, in find_plugins
    _instances[cls] = cls()
  File "/home/andy/.local/lib/python3.8/site-packages/beetsplug/fetchart.py", line 984, in __init__
    confuse.Optional(str)
AttributeError: module 'confuse' has no attribute 'Optional'

FIXED!

pip3 install confuse --upgrade

I was on confuse 1.4.0. Upgraded to confuse 1.7.0

1 Like

Indeed; we didn’t depend on the right version in the new release: