Bug 1268596 - CDDBMETHOD=musicbrainz: abcde-musicbrainz-tool: command not found
Summary: CDDBMETHOD=musicbrainz: abcde-musicbrainz-tool: command not found
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: abcde
Version: 23
Hardware: All
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-03 11:19 UTC by Niklas Fischer
Modified: 2015-10-03 13:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-10-03 13:21:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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