Traceback on Import

I ran into some python problems when I recently upgraded to Big Sur and had to re-install beets. Version 1.4.9 isn’t working at all for me, so I installed the current source version.

I’m able to do a “beets list” and I see everything fine. No errors. But when I try to import anything, I get:

Traceback (most recent call last):
  File "/usr/local/bin/beet", line 8, in <module>
sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/beets/ui/__init__.py", line 1278, in main
_raw_main(args)
  File "/usr/local/lib/python3.9/site-packages/beets/ui/__init__.py", line 1265, in _raw_main
subcommand.func(lib, suboptions, subargs)
  File "/usr/local/lib/python3.9/site-packages/beets/ui/commands.py", line 960, in import_func
import_files(lib, paths, query)
  File "/usr/local/lib/python3.9/site-packages/beets/ui/commands.py", line 930, in import_files
session.run()
  File "/usr/local/lib/python3.9/site-packages/beets/importer.py", line 341, in run
pl.run_parallel(QUEUE_SIZE)
  File "/usr/local/lib/python3.9/site-packages/beets/util/pipeline.py", line 445, in run_parallel
six.reraise(exc_info[0], exc_info[1], exc_info[2])
  File "/usr/local/lib/python3.9/site-packages/six.py", line 703, in reraise
raise value
  File "/usr/local/lib/python3.9/site-packages/beets/util/pipeline.py", line 312, in run
out = self.coro.send(msg)
  File "/usr/local/lib/python3.9/site-packages/beets/util/pipeline.py", line 194, in coro
func(*(args + (task,)))
  File "/usr/local/lib/python3.9/site-packages/beets/importer.py", line 1365, in lookup_candidates
task.lookup_candidates()
  File "/usr/local/lib/python3.9/site-packages/beets/importer.py", line 653, in lookup_candidates
autotag.tag_album(self.items, search_ids=self.search_ids)
  File "/usr/local/lib/python3.9/site-packages/beets/autotag/match.py", line 468, in tag_album
_add_candidate(items, candidates, matched_candidate)
  File "/usr/local/lib/python3.9/site-packages/beets/autotag/match.py", line 374, in _add_candidate
mapping, extra_items, extra_tracks = assign_items(items, info.tracks)
  File "/usr/local/lib/python3.9/site-packages/beets/autotag/match.py", line 102, in assign_items
row.append(track_distance(item, track))
  File "/usr/local/lib/python3.9/site-packages/beets/autotag/match.py", line 134, in track_distance
if track_info.length:
AttributeError: 'str' object has no attribute 'length'

Any ideas?

Hmm; something seems very wrong here… do you have any plugins enabled? (Specifically, any non-MusicBrainz data sources?)