You are not logged in.

#1 2011-10-07 13:51:23

sloppyperfectionist
Member
From: Graz, Austria
Registered: 2011-01-05
Posts: 10
Website

[SOLVED] Problem with abcde

Hi all,

recently I've come across the following problem: When I invoke abcde from the command line it throws me an error:

/usr/bin/abcde: line 2980: hostname: command not found.

It then says, that it's grabbing the entire CD (for example), but never starts to do so.

Any ideas what might cause this and are there any suggestions how to fix this? Sure, I can - and do - use cdparanoia alone instead, but I've come to like the comfort of abcde. Thanks in advance for any help.

Last edited by sloppyperfectionist (2011-10-10 18:53:15)

Offline

#2 2011-10-07 14:56:45

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,696

Re: [SOLVED] Problem with abcde

I do not have abcde installed, but may I suggest open abcde in your favorite edit and look at line 2980?

vi $(which abcde), Then type  2980G


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2011-10-07 15:30:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Problem with abcde

Do you have inetutils installed?
http://www.archlinux.org/news/hostname- … inetutils/

@ewaller

vi +2980 /usr/bin/abcde

works too :-)
That line says

[karol@black ~]$ sed -n 2980p /usr/bin/abcde
HELLOINFO="$(whoami)@$(hostname)"

Last edited by karol (2011-10-07 15:33:45)

Offline

#4 2011-10-07 15:45:54

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,696

Re: [SOLVED] Problem with abcde

Karol hit it on the head.  abcde seems to depend on the hostname, command.  hostname moved to a new home (as described in Karol's link)

ewaller@odin:/var/log[127] 1033 %pacman -Si abcde 
Repository     : community
Name           : abcde
Version        : 2.4.2-2
URL            : http://code.google.com/p/abcde/
Licenses       : GPL
Groups         : None
Provides       : None
Depends On     : bash  cd-discid  wget  vorbis-tools
Optional Deps  : eject: Eject support
                 cdparanoia: Paranoia ripping support
                 cdrkit: icedax ripping support
                 lame: MP3 encoding support
                 flac: FLAC encoding support
                 id3: ID3 v1/v2 tag support
                 id3v2: ID3 v2 tag support
Conflicts With : None
Replaces       : None
Download Size  :  48.69 K
Installed Size : 200.00 K
Packager       : schuay <jakob.gruber@gmail.com>
Architecture   : any
Build Date     : Sat 04 Jun 2011 10:02:49 AM PDT
MD5 Sum        : 9f1c61d55cca0dec8dd01835a6441ac0
Description    : A frontend command-line utility that grabs tracks off a CD, encodes them to ogg or mp3 format, and tags them, all in one
                 go.

ewaller@odin:/var/log 1034 %

Looks like a bug in the dependencies.  File a bug report.  In the mean time, install initutils (not as a dependency)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2011-10-07 15:55:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Problem with abcde

No, it's not a bug: https://bugs.archlinux.org/task/26318


Edit:
Not sure why other packages from 'base' group are mentioned as dependencies for abcde:
http://www.archlinux.org/packages/core/i686/bash/
http://www.archlinux.org/packages/core/i686/wget/

Last edited by karol (2011-10-07 15:58:55)

Offline

#6 2011-10-07 16:07:42

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,696

Re: [SOLVED] Problem with abcde

karol wrote:

Fine.

Okay, sloppyperfectionist:  See the bug report that has been rejected and the fix in Comment #1


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2011-10-10 19:14:19

sloppyperfectionist
Member
From: Graz, Austria
Registered: 2011-01-05
Posts: 10
Website

Re: [SOLVED] Problem with abcde

You just have to love Arch Linux and the community.

Thank you both for your help, the time and the effort. Not only did you present me with the (very simple) fix for my problem, you also taught me some greatly appreciated lessons. I have to admit that neither was I aware of abcde being a shell script and thus the easy possiblity to check the source code for useful information, nor did I recognize the implications of the news post concerning inetutils - although I remember reading it.

Gratefully,
Hans-Peter

Offline

Board footer

Powered by FluxBB