Bug 1268596 - CDDBMETHOD=musicbrainz: abcde-musicbrainz-tool: command not found
CDDBMETHOD=musicbrainz: abcde-musicbrainz-tool: command not found
Status: CLOSED CANTFIX
Product: Fedora
Classification: Fedora
Component: abcde (Show other bugs)
23
All Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Ville Skyttä
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-03 07:19 EDT by Niklas Fischer
Modified: 2015-10-03 09:21 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-03 09:21:53 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Niklas Fischer 2015-10-03 07:19:51 EDT
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 09:21:53 EDT
(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.

Note You need to log in before you can comment on or make changes to this bug.