When running media-sound/beets-1.4.9-r2 I get the following error Traceback (most recent call last): File "/usr/bin/beet", line 11, in <module> load_entry_point('beets==1.4.9', 'console_scripts', 'beet')() File "/usr/lib/python3.8/site-packages/beets/ui/__init__.py", line 1266, in main _raw_main(args) File "/usr/lib/python3.8/site-packages/beets/ui/__init__.py", line 1249, in _raw_main subcommands, plugins, lib = _setup(options, lib) File "/usr/lib/python3.8/site-packages/beets/ui/__init__.py", line 1144, in _setup lib = _open_library(config) File "/usr/lib/python3.8/site-packages/beets/ui/__init__.py", line 1201, in _open_library get_path_formats(), File "/usr/lib/python3.8/site-packages/beets/ui/__init__.py", line 619, in get_path_formats path_formats.append((query, template(view.as_str()))) File "/usr/lib/python3.8/site-packages/beets/util/functemplate.py", line 571, in template return Template(fmt) File "/usr/lib/python3.8/site-packages/beets/util/functemplate.py", line 581, in __init__ self.compiled = self.translate() File "/usr/lib/python3.8/site-packages/beets/util/functemplate.py", line 614, in translate func = compile_func( File "/usr/lib/python3.8/site-packages/beets/util/functemplate.py", line 155, in compile_func prog = compile(mod, '<generated>', 'exec') ValueError: Name node can't be used with 'None' constant See https://github.com/beetbox/beets/issues/3772 Reproducible: Always
I have the same problem with media-sound/beets-1.4.9-r2 and python 3.8.6
According to https://github.com/beetbox/beets/issues/3674 problem will be reproducible with any version of Python more recent than 3.7.
Hello everyone, yes I already noticed that issue and added a fix for it, it is actually being reviewed, you can help by trying the upgraded version, here: https://github.com/gentoo/gentoo/pull/16046 Thank you
I was able to update using the ebuild for beets-1.4.9-r3 that can be found at https://github.com/gentoo/gentoo/pull/16046 I no longer have the error with beets with Pythong 3.8.6
Fixed by the merge of #693164