You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running beets absubmit produced the following error.
Running this command in verbose (-vv) mode:
$ beet -vv absubmit
user configuration: /home/noname/.config/beets/config.yaml
data directory: /home/noname/.config/beets
plugin paths:
Sending event: pluginload
inline: adding item field multidisc
inline: adding item field bool_mp3
inline: adding item field custom_catalog
library database: /home/xxxxxxx/imported/musiclibrary.blb
library directory: /home/xxxxxxx/imported
Sending event: library_opened
Traceback (most recent call last):
File "/usr/local/bin/beet", line 11, in<module>
load_entry_point('beets==1.4.7', 'console_scripts', 'beet')()
File "/usr/local/lib/python3.5/dist-packages/beets/ui/__init__.py", line 1256, in main
_raw_main(args)
File "/usr/local/lib/python3.5/dist-packages/beets/ui/__init__.py", line 1243, in _raw_main
subcommand.func(lib, suboptions, subargs)
File "/usr/local/lib/python3.5/dist-packages/beetsplug/absubmit.py", line 108, incommand
analysis = self._get_analysis(item)
File "/usr/local/lib/python3.5/dist-packages/beetsplug/absubmit.py", line 137, in _get_analysis
analysis = json.load(tmp_file)
File "/usr/lib/python3.5/json/__init__.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
Setup
OS: Linux Mint
Python version: 3.5.2
beets version: 1.4.7
Turning off plugins made problem go away (yes/no): no
Problem
Running beets absubmit produced the following error.
Running this command in verbose (
-vv
) mode:Setup
It's do to this PR: #2673.
This change works for me:
The text was updated successfully, but these errors were encountered: