poor handling of missing replaygain element
Bug #490898 reported by
reacocard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Fix Released
|
High
|
reacocard | ||
exaile (Fedora) |
Fix Released
|
Medium
|
Bug Description
Presently, if the replaygain elements are missing from the user's gstreamer installation, the replaygain plugin will cause Exaile to crash during player init on start with a "gst.ElementNot
1) Making the replaygain plugin's enable() check for the element, and raise an exception if it is missing
2) Making the player pipeline (specifically ElementBin) resistant to missing elements during setup
Changed in exaile (Fedora): | |
status: | Unknown → Confirmed |
Changed in exaile (Fedora): | |
status: | Confirmed → In Progress |
Changed in exaile: | |
status: | Fix Committed → Fix Released |
Changed in exaile (Fedora): | |
importance: | Unknown → Medium |
status: | In Progress → Fix Released |
To post a comment you must log in.
abrt 1.0.0 detected a crash.
Comment: happens upon start
backtrace _.py:62: __init_ _:ElementNotFou ndError: rgvolume
-----
Summary: TB322f570b __init_
Traceback (most recent call last): python2. 6/site- packages/ exaile/ exaile. py", line 56, in <module> python2. 6/site- packages/ exaile/ exaile. py", line 53, in main python2. 6/site- packages/ exaile/ xl/main. py", line 90, in __init__ python2. 6/site- packages/ exaile/ xl/main. py", line 155, in __init get_player( )() python2. 6/site- packages/ exaile/ xl/player/ engine_ normal. py", line 40, in __init__ elems=[ pipe.ProviderBi n("stream_ element" )]) python2. 6/site- packages/ exaile/ xl/player/ pipe.py" , line 181, in __init__ reset_providers () python2. 6/site- packages/ exaile/ xl/player/ pipe.py" , line 187, in reset_providers elements[ provider. index] = provider() exaile/ plugins/ replaygain/ __init_ _.py", line 62, in __init__ factory_ make("rgvolume" ) Error: rgvolume
File "/usr/lib/
main()
File "/usr/lib/
exaile = main.Exaile()
File "/usr/lib/
self.__init()
File "/usr/lib/
self.player = player.
File "/usr/lib/
pre_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/share/
self.rgvol = gst.element_
ElementNotFound
Local variables in innermost frame:
self: /GstBin:rgvolume (ReplaygainVolume)
cmdline: python /usr/lib/ python2. 6/site- packages/ exaile/ exaile. py --datadir= /usr/share/ exaile/ data --startgui python2. 6/site- packages/ exaile/ exaile. py 6-145.fc12. x86_64 0.3.0.1- 1.fc12
component: exaile
executable: /usr/lib/
kernel: 2.6.31.
package: exaile-
uuid: 322f570b