Failed to load canberra-gtk-module & IndexError

Asked by T Tran

Hi, I just converted from xubuntu to lubuntu, using instructions provided on http://www.psychocats.net/ubuntu/purelubuntu. When I run lxkeymap, I get the following error:

Gtk-Message: Failed to load module "canberra-gtk-module"

Traceback (most recent call last):
  File "/usr/bin/lxkeymap", line 628, in <module>
    window = LxkeymapWindow()
  File "/usr/bin/lxkeymap", line 86, in __new__
    new_object.finish_initializing(builder)
  File "/usr/bin/lxkeymap", line 156, in finish_initializing
    self.config.set('Global', 'Variant', self.variant_current[0])
IndexError: list index out of range

I can appreciate that converting from one desktop env to another can be error prone. I tried to recover by removing lxkeymap and reinstalling. That did not help.

Next, I installed the canberra module. This fixed the "Failed to load" problem, but the IndexError is still there.

1) I wonder why reinstallation didn't help fix the "Failed to load" problem.
2) What to do about the "IndexError"

Thanks for your time.

Question information

Language:
English Edit question
Status:
Solved
For:
LXKeymap Edit question
Assignee:
No assignee Edit question
Solved by:
T Tran
Solved:
Last query:
Last reply:
Revision history for this message
T Tran (t-tran) said :
#1

Installing libcanberra-gtk-module and related removed the error, but then I still get:

Traceback (most recent call last):
  File "/usr/bin/lxkeymap", line 628, in <module>
    window = LxkeymapWindow()
  File "/usr/bin/lxkeymap", line 86, in __new__
    new_object.finish_initializing(builder)
  File "/usr/bin/lxkeymap", line 156, in finish_initializing
    self.config.set('Global', 'Variant', self.variant_current[0])
IndexError: list index out of range

this problem actually was there previously, when I had the failed to load problem. I didn't realized they were separate issues.

Revision history for this message
T Tran (t-tran) said :
#2

I see this is a bug being fixed. I've linked to the bug.