[Python-apps-team] Bug#964245: beets: Crashes on launch after upgrading to python 3.8.4~rc1-1

Ben Morris bugs at benmorris.org.uk
Sat Jul 4 12:13:46 BST 2020


Package: beets
Version: 1.4.9-4
Severity: grave
Justification: renders package unusable

Since the upgrade to Python 3.8.4rc1, Beets crashes on launch with the
following output:

$ beet
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/share/beets/beets/ui/__init__.py", line 1266, in main
    _raw_main(args)
  File "/usr/share/beets/beets/ui/__init__.py", line 1249, in _raw_main
    subcommands, plugins, lib = _setup(options, lib)
  File "/usr/share/beets/beets/ui/__init__.py", line 1144, in _setup
    lib = _open_library(config)
  File "/usr/share/beets/beets/ui/__init__.py", line 1201, in _open_library
    get_path_formats(),
  File "/usr/share/beets/beets/ui/__init__.py", line 619, in get_path_formats
    path_formats.append((query, template(view.as_str())))
  File "/usr/share/beets/beets/util/functemplate.py", line 571, in template
    return Template(fmt)
  File "/usr/share/beets/beets/util/functemplate.py", line 581, in __init__
    self.compiled = self.translate()
  File "/usr/share/beets/beets/util/functemplate.py", line 614, in translate
    func = compile_func(
  File "/usr/share/beets/beets/util/functemplate.py", line 155, in compile_func
    prog = compile(mod, '<generated>', 'exec')
ValueError: Name node can't be used with 'None' constant

Downgrading python3.8-minimal to version 3.8.3-1 fixes Beets.



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en_US (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages beets depends on:
ii  libjs-backbone          1.3.3~dfsg-5
ii  libjs-jquery            3.5.1+dfsg-4
ii  libjs-underscore        1.9.1~dfsg-1
ii  python3                 3.8.2-3
ii  python3-jellyfish       0.7.2-1+b1
ii  python3-munkres         1.1.2-1
ii  python3-musicbrainzngs  0.7.1-2
ii  python3-mutagen         1.44.0-1
ii  python3-pkg-resources   46.1.3-1
ii  python3-six             1.15.0-1
ii  python3-unidecode       1.1.1-3
ii  python3-yaml            5.3.1-2

beets recommends no packages.

Versions of packages beets suggests:
pn  beets-doc                  <none>
pn  libav-tools                <none>
pn  mp3gain                    <none>
ii  python3-acoustid           1.1.5-2
ii  python3-bs4                4.9.1-1
ii  python3-dbus               1.2.16-2
ii  python3-flask              1.1.2-1
ii  python3-gi                 3.36.0-3
ii  python3-gst-1.0            1.16.2-2+b1
pn  python3-langdetect         <none>
pn  python3-mpd                <none>
ii  python3-pil                7.0.0-4+b1
ii  python3-pylast             3.1.0-1
pn  python3-rarfile            <none>
ii  python3-requests           2.23.0+dfsg-2
ii  python3-requests-oauthlib  1.0.0-1.1
ii  python3-xdg                0.26-3

-- no debconf information



More information about the Python-apps-team mailing list