I went to rip an audio CD and got the following error message: abcde: syntax error while processing track numbers (/media/dvd) abcde comes with debug output with the -D flag, so I tried that: Reproducible: Always Steps to Reproduce: 1. Install abcde with cdparanoia support (may not be related, but it's what I have) 2. Put an audio CD into your optical drive, ensure your user is in the optical group 3. Try to rip it with `abcde /path/to/cdrom` Actual Results: $ abcde -Dk /media/dvd/ + getopts 1a:bBc:C:d:Defghj:klLmMnNo:pPq:r:s:S:t:T:UvVxX:w:W:z opt + case "$opt" in + KEEPWAVS=y + getopts 1a:bBc:C:d:Defghj:klLmMnNo:pPq:r:s:S:t:T:UvVxX:w:W:z opt + shift 1 + '[' n = y ']' + echo /dev/cdrom + grep -i '.flac$' + '[' -n '' ']' + '[' '' = flac ']' + '[' '' = '' ']' + for DEFAULT_CDROMREADER in '$DEFAULT_CDROMREADERS' + new_checkexec cdparanoia + '[' '!' cdparanoia = '' ']' ++ echo cdparanoia ++ cut '-d ' -f2 + X=cdparanoia ++ which cdparanoia + '[' /usr/bin/cdparanoia = '' ']' ++ which cdparanoia + '[' '!' -x /usr/bin/cdparanoia ']' + return 0 + CDROMREADERSYNTAX=cdparanoia + break + '[' cdparanoia = '' ']' + '[' '' = y ']' + '[' 1 -gt 0 ']' + '[' media/dvd/ '!=' /media/dvd/ ']' + log error 'syntax error while processing track numbers (/media/dvd/)' + BLURB=error + shift + case $BLURB in + echo '[ERROR] abcde: syntax error while processing track numbers (/media/dvd/)' [ERROR] abcde: syntax error while processing track numbers (/media/dvd/) + exit 1 Expected Results: It should've used cdparanoia to rip the tracks. The -D flag is for debug output, -k was to keep the wav files afterwards. In the debug output, I noticed an inconsistency in the way the paths are compared: + '[' media/dvd/ '!=' /media/dvd/ ']' The left side of this part should have the leading forward slash. Messing around with it, I noticed that the left side knocks off the first character in the string. This seems to be an off-by-one error.
Hmm. Old bug. Try latest media-sound/abcde, and preferably libcdio-paranoia, with libcdio-paranoia selected as cdparanoia backend in eselect
(In reply to Samuli Suominen from comment #1) > Hmm. Old bug. > > Try latest media-sound/abcde, and preferably libcdio-paranoia, with > libcdio-paranoia selected as cdparanoia backend in eselect After retrying the steps I outlined a year ago, I decided to read the manpage again. The path to the disc block device must be preceded with `-d`, otherwise it'll be interpreted as a set of tracks to rip. This was purely user error, haha. Sorry to take up your time. I have no clue why I overlooked that...
no worries, no time was wasted really, to be honest, after reading your first post, i still wasn't 100% sure if i understood the problem correctly :-) no open abcde bugs left open in our bugzilla now o/ thanks for your quick response!