** error loading plugin chroma:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/beets/plugins.py", line 270, in load_plugins
namespace = __import__(modname, None, None)
File "/usr/local/lib/python3.6/site-packages/beetsplug/chroma.py", line 27, in <module>
ModuleNotFoundError: No module named 'acoustid'
the current version already has py-pyacoustid in CHROMA_RUN_DEPENDS, are you experiencing this error in another way too?
Latest version still does not have a run-depend on pyacoustid:
$ pkg info --dependencies beets
So, the bug seems to still be present.
The problem with using CHROMA_RUN_DEPENDS is that the CHROMA port option is broken. It does not correctly unlink the chroma.py plugin from the beets application when the port option is disable. So with !CHROMA, beets still attempts to reference the missing acoustid via chroma.py.
I see I didn't hit this because I use that OPTION ON. I updated to the last version and I will remove the CHROMA OPTION and add pyacoustid to RUN_DEPENDS then.
A commit references this bug:
Date: Tue Jul 30 20:25:34 UTC 2019
New revision: 507661
audio/beets: Update to 1.4.9.
- add missing audio/py-pyacoustid to RUN_DEPENDS
- remove the CHROMA OPTION, the support is mandatory
Reported by: cem
Reviewed by: tcberner (mentor)
(In reply to Conrad Meyer from comment #2)
The chroma.py plugin is "unlinked" from Beets by removing the plugin from the configuration file "$HOME/.config/beets/config.yaml".
In setup.py, the chroma option is still present as an optional dependency.
See also <https://beets.readthedocs.io/en/stable/plugins/chroma.html>.