Erro de Python ao lançar o gnome-tweak-tool no Debian [closed]

0

Ao tentar iniciar o gnome-tweak-tool, recebo este erro

~ gnome-tweak-tool
gnome-tweak-tool\Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gtweak/app.py", line 39, in do_activate
    self.win = Window(self, model)
  File "/usr/lib/python2.7/dist-packages/gtweak/tweakview.py", line 46, in __init__
    titlebar = self.titlebar()
  File "/usr/lib/python2.7/dist-packages/gtweak/tweakview.py", line 81, in titlebar
    self._update_decorations (Gtk.Settings.get_default(), None)
  File "/usr/lib/python2.7/dist-packages/gtweak/tweakview.py", line 196, in _update_decorations
    self._right_header.props.decoration_layout = ":" + tokens[1]
IndexError: list index out of range

Alguma idéia de como iniciar com sucesso o gnome-tweak-tool?

    
por winchendonsprings 07.10.2015 / 21:09

1 resposta

1

Esta postagem pode ser útil:

Go to /usr/lib/python2.7/dist-packages/gtweak/tweakview.py & find the line, that generated an error: self._right_header.props.decoration_layout = ":" + tokens[1]

One line before that there should be if tokens != None: Change that to if not tokens:

The first one doesn't account for tokens being empty, which, for some reason, is the case. Hope that helped.

    
por mxdsp 08.10.2015 / 12:45