Public bug reported:

I am running Gnome3 (not fallback, not unity, gnome3) in Oneiric on
Ubuntu/ppc

gnome-tweak tool errors out when I try to launch it.  It seems to think
that gnome3 isn't running (first warning), and errors out with various
complaints.

Package: gnome-tweak-tool                
New: yes
State: installed
Automatically installed: no
Version: 3.2.0-0ubuntu1
Priority: optional
Section: universe/gnome
Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
Uncompressed Size: 672 k
Depends: python2.7 | python2.6, python (>= 2.7.1-0ubuntu2), python (< 2.8), 
gnome-shell, gsettings-desktop-schemas (>= 2.91.92)
Description: tool to adjust advanced configuration settings for GNOME
 GNOME Tweak Tool (pronounced [kræptuːl]) allows the adjustment of a number of 
GNOME configuration settings that is felt would not be of interest to ordinary
 users. This includes things like the fonts used in user interface elements, 
alternative user interface themes, changes in window management behaviour and
 others.

~ $ gnome-tweak-tool 
WARNING : Shell not running
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gtweak/tweaks/tweak_shell.py", line 
57, in __init__
    self._shell = GnomeShellFactory().get_shell()
  File "/usr/lib/python2.7/dist-packages/gtweak/utils.py", line 38, in 
getinstance
    instances[cls] = cls()
  File "/usr/lib/python2.7/dist-packages/gtweak/gshellwrapper.py", line 123, in 
__init__
    v = map(int,proxy.version.split("."))
  File "/usr/lib/python2.7/dist-packages/gtweak/gshellwrapper.py", line 46, in 
version
    return json.loads(self.execute_js('const Config = imports.misc.config; 
Config.PACKAGE_VERSION'))
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
WARNING : Could not list shell extensions
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gtweak/tweaks/tweak_shell.py", line 
62, in __init__
    extensions = self._shell.list_extensions()
AttributeError: ShellThemeTweak instance has no attribute '_shell'
Traceback (most recent call last):
  File "/usr/bin/gnome-tweak-tool", line 76, in <module>
    MainWindow()
  File "/usr/lib/python2.7/dist-packages/gtweak/mainwindow.py", line 44, in 
__init__
    model)
  File "/usr/lib/python2.7/dist-packages/gtweak/tweakview.py", line 40, in 
__init__
    self._model.load_tweaks()
  File "/usr/lib/python2.7/dist-packages/gtweak/tweakmodel.py", line 131, in 
load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
  File "/usr/lib/python2.7/dist-packages/gtweak/tweaks/tweak_font.py", line 24, 
in <module>
    GSettingsRangeTweak("org.gnome.desktop.interface", "text-scaling-factor", 
adjustment_step=0.1, group_name=TWEAK_GROUP_FONTS),
  File "/usr/lib/python2.7/dist-packages/gtweak/widgets.py", line 129, in 
__init__
    _min, _max = self.settings.get_range(key_name)[1]
ValueError: too many values to unpack

** Affects: gnome-tweak-tool (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/887231

Title:
  gnome-tweak-tool fails to run (first error: TypeError: expected string
  or buffer)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-tweak-tool/+bug/887231/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to