Closed simonbcn closed 9 years ago
You are using an old version of the GStreamer python bindings. Please upgrade to a version higher than 1.0 (you're using 0.10).
I have installed python-gst-1.0
and python-gst0.10
. I have uninstalled python-gst0.10
and now it seems work well.
I think beets should be select the right gst version automatically.
The code requires 1.0 and I've had luck running it with 1.0 and 0.1 installed concurrently. Are you sure you had 1.0 installed when it hung?
We've seen some hangs when using both versions simultaneously, as can happen when the chroma plugin is also enabled. Could that have been the case here?
Yes, I had installed both versions.
@sampsyo chroma uses acoustid, which in turn uses audioread, which in turn uses gstreamer. Maybe you're not enforcing the correct version in audioread?
Edit: Seems audioread uses the pre-1.0 bindings. I guess they don't like being imported simultaneously.
We are enforcing the correct version, but the correct version is (unfortunately) still 0.10 for audioread. See also: https://github.com/sampsyo/audioread/issues/11
Any reason? (other than lack of time)
Nope; just time.
FWIW, I ran into a similar issue while trying to run on Debian testing, where it would hang indefinitely after printing some errors. (This was a little disturbing since the manual warns you to expect the initial import to be very slow so I was unsure if it was broken or just very slow until I googled the error and got here.) Doing a sudo apt-get remove python-gst0.10
got it running again
But I am uncertain if the chroma plugin was working or not during my import. To be safe I ran beet fingerprint; beet submit
after I was finished.
Ubuntu 14.04 64 bits
I try to import a mp3 folder with
replaygain: gstreamer
but beets hangs.