Traceback: GNOME Audio Profile output can be selected if no profiles are available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SoundConverter |
Fix Released
|
High
|
GautierPortet |
Bug Description
https:/
If no audio profiles are found via GConf, in gstreamer.py audio_profiles_list is empty. In ui.py set_widget_
backtrace:
:gstreamer.
:
:Traceback (most recent call last):
: File "/usr/lib/
on_convert_
: self.do_convert()
: File "/usr/lib/
do_convert
: self.converter.
: File "/usr/lib/
in add
: c.init()
: File "/usr/lib/
in init
: encoder = self.encoders[
: File "/usr/lib/
in add_audio_profile
: pipeline = audio_profiles_
:KeyError: None
:
:Local variables in innermost frame:
:self: <soundconverter
Changed in soundconverter: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → GautierPortet (kassoulet) |
milestone: | none → 2.0.5 |
status: | In Progress → Fix Committed |
Changed in soundconverter: | |
status: | Fix Committed → Fix Released |
As I don't grok the enabling/disabling of encoders yet (in particular, the relationship of the encoder_present and available_elements values), I've opted for the short'n'sweet brute-force workaround that disables the gst-profile output, if audio_profiles_list is empty.
;-)