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>
  File "/usr/local/lib/python3.9/site-packages/beets/ui/", line 1278, in main
  File "/usr/local/lib/python3.9/site-packages/beets/ui/", line 1265, in _raw_main
subcommand.func(lib, suboptions, subargs)
  File "/usr/local/lib/python3.9/site-packages/beets/ui/", line 960, in import_func
import_files(lib, paths, query)
  File "/usr/local/lib/python3.9/site-packages/beets/ui/", line 930, in import_files
  File "/usr/local/lib/python3.9/site-packages/beets/", line 341, in run
  File "/usr/local/lib/python3.9/site-packages/beets/util/", line 445, in run_parallel
six.reraise(exc_info[0], exc_info[1], exc_info[2])
  File "/usr/local/lib/python3.9/site-packages/", line 703, in reraise
raise value
  File "/usr/local/lib/python3.9/site-packages/beets/util/", line 312, in run
out = self.coro.send(msg)
  File "/usr/local/lib/python3.9/site-packages/beets/util/", line 194, in coro
func(*(args + (task,)))
  File "/usr/local/lib/python3.9/site-packages/beets/", line 1365, in lookup_candidates
  File "/usr/local/lib/python3.9/site-packages/beets/", 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/", line 468, in tag_album
_add_candidate(items, candidates, matched_candidate)
  File "/usr/local/lib/python3.9/site-packages/beets/autotag/", 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/", line 102, in assign_items
row.append(track_distance(item, track))
  File "/usr/local/lib/python3.9/site-packages/beets/autotag/", 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?)