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
Sending event: library_opened
replaygain: analyzing Pink Floyd - The Wall - In the Flesh?
Traceback (most recent call last):
File "/usr/bin/beet", line 11, in <module>
load_entry_point('beets==1.5.0', 'console_scripts', 'beet')()
File "/usr/lib/python3.7/site-packages/beets-1.5.0-py3.7.egg/beets/ui/__init__.py", line 1267, in main
_raw_main(args)
File "/usr/lib/python3.7/site-packages/beets-1.5.0-py3.7.egg/beets/ui/__init__.py", line 1254, in _raw_main
subcommand.func(lib, suboptions, subargs)
File "/usr/lib/python3.7/site-packages/beets-1.5.0-py3.7.egg/beetsplug/replaygain.py", line 1052, in func
self.handle_track(item, write, force)
File "/usr/lib/python3.7/site-packages/beets-1.5.0-py3.7.egg/beetsplug/replaygain.py", line 1003, in handle_track
track_gains = backend_instance.compute_track_gain([item])
File "/usr/lib/python3.7/site-packages/beets-1.5.0-py3.7.egg/beetsplug/replaygain.py", line 752, in compute_track_gain
return [self._compute_track_gain(item) for item in items]
File "/usr/lib/python3.7/site-packages/beets-1.5.0-py3.7.egg/beetsplug/replaygain.py", line 752, in <listcomp>
return [self._compute_track_gain(item) for item in items]
File "/usr/lib/python3.7/site-packages/beets-1.5.0-py3.7.egg/beetsplug/replaygain.py", line 781, in _compute_track_gain
rg_track_gain, rg_track_peak = self._title_gain(rg, audiofile)
File "/usr/lib/python3.7/site-packages/beets-1.5.0-py3.7.egg/beetsplug/replaygain.py", line 764, in _title_gain
return rg.title_gain(audiofile.to_pcm())
File "/usr/lib/python3.7/site-packages/audiotools/mp3.py", line 217, in to_pcm
return MP3Decoder(self.filename)
TypeError: argument 1 must be str, not bytes
Setup
OS: Arch Linux 5.1.2-arch1-1-ARCH
Python version: 3.7.3
beets version: 1.5.0 (master)
Turning off plugins made problem go away (yes/no): no (this is a plugin related issue)
Thanks! Looks like another old library that (incorrectly, IMO) rejects bytestring paths. This is the situation for which we invented the py3_path function. I'll add that!
Problem
Running this command in verbose (
-vv
) mode:Led to this problem:
Setup
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: