1. Felix Krull
  2. rgain
  3. Issues
Issue #15 resolved

Errors when analyzing file for replaygain

Jimbo Jones
created an issue

Hi, I tried to run replaygain on a flac file and got some errors. Perhaps I don't have a dependency satisfied... The package names in Manjaro are slightly different, so I may have confused something.

Checking for Replay Gain information ...
  Eirik Suhrke - Carus [Game music 3].flac:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/rgain/script/replaygain.py", line 85, in do_gain
    trackdata, albumdata = formats_map.read_gain(filename)
  File "/usr/lib/python2.7/site-packages/rgain/rgio.py", line 374, in read_gain
    return accessor.read_gain(filename)
  File "/usr/lib/python2.7/site-packages/rgain/rgio.py", line 93, in read_gain
    track_gain.ref_level = album_gain.ref_level = ref_level
AttributeError: 'NoneType' object has no attribute 'ref_level'

I have the following installed -> gst-plugins-good 1.2.4 gst-plugins-base 1.2.4 mutagen 1.22 python2 2.7.6 python2-docutils 0.11 python2-gobject 3.12 gobject-introspection 0.2

I also changed #!/usr/bin/python -> #!/usr/bin/python2 since Manjaro uses python3 by default.

Anyways, if there's anything I missed or you can think of. --Thanks!

Comments (3)

  1. Log in to comment