TypeError: argument must be a GstElement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Fix Released
|
High
|
reacocard |
Bug Description
when runing exaile 0.3.01 after build and install I got this:
$ exaile
INFO : Loading Exaile 0.3.0.1...
INFO : Loading settings...
AttributeError: 'module' object has no attribute 'Element'
INFO : Setting up deferred idle manager function...
INFO : Loading plugins...
INFO : Loading collection...
WARNING : Could not enable auto sink, attempting to autoselect.
Traceback (most recent call last):
File "/usr/share/
main()
File "/usr/share/
exaile = main.Exaile()
File "/usr/share/
self.__init()
File "/usr/share/
self.player = player.
File "/usr/share/
pre_
File "/usr/share/
self.mainbin = pipe.MainBin(
File "/usr/share/
self.
TypeError: argument must be a GstElement
Changed in exaile: | |
status: | Fix Committed → Fix Released |
This appears to happen because there is no replaygain elements on the system, so we dont get a valid gst.Element for the plugin. We need to catch and handle that case gracefully.