Bug 1862737 - beets: Crashes on launch
Summary: beets: Crashes on launch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: beets
Version: 32
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Michele Baldessari
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-02 00:46 UTC by Phil Coulson
Modified: 2020-08-03 14:12 UTC (History)
2 users (show)

Fixed In Version: beets-1.4.9-8.fc33
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-03 14:12:06 UTC
Type: Bug


Attachments (Terms of Use)

Description Phil Coulson 2020-08-02 00:46:49 UTC
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/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

Version-Release number of selected component (if applicable):
beets-1.4.9-4.fc32

How reproducible:
100%

Steps to Reproduce:
1. Run `beet`
2. See Traceback

Actual results:
Traceback shown

Expected results:
Help menu displayed

Additional info:
Looks to be related to the following:
https://github.com/beetbox/beets/pull/3621

Comment 1 Fedora Update System 2020-08-03 14:12:06 UTC
FEDORA-2020-098c588e84 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.