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
Trying to import an album results in a MemoryError, the reason seems to be that one of the candidates it finds on discogs is an album with 6666 tracks. Disabling the discogs plugin so this is not a candidate "fixes" it and lets the import proceed. While albums with that many tracks are not the norm, is there something which can be tweaked so beets can handle that?
Problem
$ beet -vv import -a SomeAlbum
...
Success. Distance: 0.06
Sending event: albuminfo_received
Candidate: Lord Poozix - Grim And Frostbitten Penguins (29948101)
Computing track assignment...
Traceback (most recent call last):
File "/usr/local/bin/beet", line 8, in<module>sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/beets/ui/__init__.py", line 1285, in main
_raw_main(args)
File "/usr/local/lib/python3.10/site-packages/beets/ui/__init__.py", line 1272, in _raw_main
subcommand.func(lib, suboptions, subargs)
File "/usr/local/lib/python3.10/site-packages/beets/ui/commands.py", line 973, in import_func
import_files(lib, paths, query)
File "/usr/local/lib/python3.10/site-packages/beets/ui/commands.py", line 943, in import_files
session.run()
File "/usr/local/lib/python3.10/site-packages/beets/importer.py", line 340, in run
pl.run_parallel(QUEUE_SIZE)
File "/usr/local/lib/python3.10/site-packages/beets/util/pipeline.py", line 446, in run_parallel
raise exc_info[1].with_traceback(exc_info[2])
File "/usr/local/lib/python3.10/site-packages/beets/util/pipeline.py", line 311, in run
out = self.coro.send(msg)
File "/usr/local/lib/python3.10/site-packages/beets/util/pipeline.py", line 193, in coro
func(*(args + (task,)))
File "/usr/local/lib/python3.10/site-packages/beets/importer.py", line 1376, in lookup_candidates
task.lookup_candidates()
File "/usr/local/lib/python3.10/site-packages/beets/importer.py", line 660, in lookup_candidates
autotag.tag_album(self.items, search_ids=self.search_ids)
File "/usr/local/lib/python3.10/site-packages/beets/autotag/match.py", line 466, in tag_album
_add_candidate(items, candidates, matched_candidate)
File "/usr/local/lib/python3.10/site-packages/beets/autotag/match.py", line 372, in _add_candidate
mapping, extra_items, extra_tracks = assign_items(items, info.tracks)
File "/usr/local/lib/python3.10/site-packages/beets/autotag/match.py", line 105, in assign_items
matching = Munkres().compute(costs)
File "/usr/local/lib/python3.10/site-packages/munkres.py", line 144, in compute
self.path = self.__make_matrix(self.n * 2, 0)
File "/usr/local/lib/python3.10/site-packages/munkres.py", line 181, in __make_matrix
matrix += [[val forjin range(n)]]
File "/usr/local/lib/python3.10/site-packages/munkres.py", line 181, in<listcomp>
matrix += [[val forjin range(n)]]
MemoryError
This is the discogs release which triggers the bug:
I just hit the same thing (searched this discogs ID and found this issue! haha) and i added a line like this so i dont keep hitting it and i can continue using discogs during a large import.
Line 408 (in get_album_info) on beetsplug/discogs.py
Trying to import an album results in a MemoryError, the reason seems to be that one of the candidates it finds on discogs is an album with 6666 tracks. Disabling the discogs plugin so this is not a candidate "fixes" it and lets the import proceed. While albums with that many tracks are not the norm, is there something which can be tweaked so beets can handle that?
Problem
This is the discogs release which triggers the bug:
https://www.discogs.com/release/29948101-Lord-Poozix-Grim-And-Frostbitten-Penguins
Setup
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: