Bug 1268596

Summary: CDDBMETHOD=musicbrainz: abcde-musicbrainz-tool: command not found
Product: [Fedora] Fedora Reporter: Niklas Fischer <cdf481f6>
Component: abcdeAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: dominik, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-03 13:21:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Niklas Fischer 2015-10-03 11:19:51 UTC
Description of problem:


Version-Release number of selected component (if applicable):
abcde -v
This is abcde v2.6.

How reproducible:
100%

Steps to Reproduce:
1. echo CDDBMETHOD=musicbrainz >> /etc/abcde.conf
2. abcde

Actual results:
/usr/bin/abcde: Zeile 1849: abcde-musicbrainz-tool: command not found.
[ERROR] abcde: CD could not be read. Perhaps there's no CD in the drive?

Expected results:
abcde should search the musicbrainz db for the current disk and continue as usual

Additional info:
I tried fixing the problem with

sudo ln -s /usr/share/doc/abcde/abcde-musicbrainz-tool /usr/bin/
sudo chmod +x /usr/bin/abcde-musicbrainz-tool 

unfortunately, abcde-musicbrainz-tool then fails with

Can't locate MusicBrainz/DiscID.pm in @INC (you may need to install the MusicBrainz::DiscID module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/abcde-musicbrainz-tool line 18.
BEGIN failed--compilation aborted at /usr/bin/abcde-musicbrainz-tool line 18.
[ERROR] abcde: CD could not be read. Perhaps there's no CD in the drive?

Comment 1 Ville Skyttä 2015-10-03 13:21:53 UTC
(In reply to Niklas Fischer from comment #0)
> unfortunately, abcde-musicbrainz-tool then fails with
> 
> Can't locate MusicBrainz/DiscID.pm in @INC [...]

Right, that's why abcde-musicbrainz-tool is installed only as documentation; we don't have the Perl modules it depends on available in Fedora. So CDDBMETHOD=musicbrainz is not supported at the moment.

But I guess you can get it to work by in addition to the things you already did, installing the MusicBrainz::DiscID perl module from CPAN -- no guarantees though, I haven't tried it myself. And if you continue that path, I suggest moving abcde-musicbrainz-tool from /usr/bin to /usr/local/bin.