Comment 26 for bug 720960

Revision history for this message
El Microvio (el-microvio) wrote : Re: [Bug 720960] Re: (On using Compiz) Failed on initialization: launcher_autohide error

this bug occurs in the function "UnityLauncherAutoHide" of file
"/usr/lib/python2.7/dist-packages/ubuntutweak/modules/compiz.py" which
is called from line 351.

if you do not require this specific feature, you can replace the code
line 350 to 351

if system.CODENAME == 'natty':
    self.launcher_autohide = None
else:
    self.launcher_autohide = None

by this single line: self.launcher_autohide = None

--
You received this bug notification because you are a direct subscriber
of a duplicate bug (754181).
https://bugs.launchpad.net/bugs/720960

Title:
  (On using Compiz) Failed on initialization: launcher_autohide error

Status in Ubuntu Tweak:
  Confirmed

Bug description:
  using daily build of natty (2/17). Message said Distribution: Ubuntu
11.04 natty
  Application: Ubuntu Tweak 0.5.11
  Desktop: gnome

  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py",
line 502, in setup_notebook
      page = module()
    File
"/usr/lib/python2.7/dist-packages/ubuntutweak/modules/compiz.py", line
325, in __init__
      self.create_interface()
    File
"/usr/lib/python2.7/dist-packages/ubuntutweak/modules/compiz.py", line
351, in create_interface
      self.launcher_autohide = UnityLauncherAutoHide(_('Make the
launcher hide automatically after some time inactive'))
    File
"/usr/lib/python2.7/dist-packages/ubuntutweak/modules/compiz.py", line
274, in __init__
      self.autohide_setting = CompizSetting(self.plugin,
'launcher_autohide')
    File
"/usr/lib/python2.7/dist-packages/ubuntutweak/modules/compiz.py", line
149, in __init__
      self.__setting = self.__plugin.create_setting(key, target)
    File
"/usr/lib/python2.7/dist-packages/ubuntutweak/modules/compiz.py", line
144, in create_setting
      return settings[key]
  KeyError: 'launcher_autohide'

-----Mensaje original-----
De: susema <email address hidden>
Reply-to: Bug 720960 <email address hidden>
Para: <email address hidden>
Asunto: [Bug 720960] Re: (On using Compiz) Failed on initialization:
launcher_autohide error
Fecha: Thu, 21 Apr 2011 07:38:13 -0000

Same this and worked with "env LANG=tr" or "env LANG=C" for me.