Skip to content

Instantly share code, notes, and snippets.

@rubencabrera
Last active October 17, 2021 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubencabrera/adf173d832d3b8e1126972ed47925f6f to your computer and use it in GitHub Desktop.
Save rubencabrera/adf173d832d3b8e1126972ed47925f6f to your computer and use it in GitHub Desktop.
MusicBrainz error when running abcde v2.8.1

Problem statement

When configuring abcde with CDDBMETHOD=musicbrainz instead of cddb and using abcde version 2.8.1, the following error might occur:

Can't locate WebService/MusicBrainz/Release.pm in @INC (you may need to install the WebService::MusicBrainz::Release module) (@INC contains: /home/username/perl5/lib/perl5/5.26.1/x86_64-linux-gnu-thread-multi /home/username/perl5/lib/perl5/5.26.1 /home/username/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /home/username/perl5/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /home/username/perl5/lib/perl5/5.26.0 /home/username/perl5/lib/perl5/5.26.0/x86_64-linux-gnu-thread-multi /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/bin/abcde-musicbrainz-tool line 19.

Root cause

This is related to this fixed bug.

MusicBrainz API changed and is incompatible with previous major version. No matter how many perl packages you install following forum questions and stack** answers, you'll need to upgrade abcde for it to work.

Solution

Install a newer version of abcde. At the time of writing this text, 2.9 is out and the latest available from the official downloads.

Just get the latest version tar, extract it and run make install from the extracted folder (just copying the executable files would suffice, in both cases you might need to sudo).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment