Ubuntu 17.10 and an abcde ripping failure

Recorded here as I couldn’t find any mention online: abcde is a fantastic command-line CD ripper for Linux that does something very clever- it glues together lots of individual tools to automate ripping, encoding, and tagging music files. Handily it can rip to FLAC and MP3 (for the car stereo) in one hit, like this:

I recently had a bit of a mishap involving a laptop, so had to fresh-install Ubuntu, and copied over the config file for abcde. It sort-of worked, but at the point where it has ripped tracks, and is meant to tag them and move them from the working folder to $HOME/Music/mp3 and $HOME/Music/flac it bombed with

tagtrack-mp3-03: returned code 1: nice -n 10 eyeD3 [arguments sent to eyeD3]

Running eyeD3 with the same arguments manually gave

Traceback (most recent call last):
File "/usr/bin/eyeD3", line 6, in
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

The simple answer is

sudo apt-get install python-pkg-resources

and away it goes. I’m not sure if that package is suggested for eyeD3 or abcde, but it’s clearly not set as a dependency, or apt would install it- apt is usually extremely good at this kind of stuff.

Leave a Reply


This blog is protected by Spam Karma 2: 41253 Spams eaten and counting...