You are not logged in.

#1 2011-05-02 00:55:37

lemanski6
Member
Registered: 2011-05-02
Posts: 15

GnomeTweakTool Problem.

Hi, i've got a problem running GnomeTweakTool.  When i start it i get this error message:

INFO    : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.desktop.interface>
INFO    : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.shell.clock>
INFO    : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.shell.calendar>
INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /desktop/gnome/shell/windows/button_layout> (--short-docs)
INFO    : Caching gconf: <gtweak.gconf.GConfSetting: /desktop/gnome/shell/windows/button_layout> (--long-docs)
INFO    : Caching gsettings: <gtweak.gsettings._GSettingsSchema: org.gnome.settings-daemon.plugins.power>
Traceback (most recent call last):
  File "/usr/bin/gnome-tweak-tool", line 84, in <module>
    MainWindow()
  File "/usr/bin/gnome-tweak-tool", line 47, in __init__
    model)
  File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 38, in __init__
    self._model.load_tweaks()
  File "/usr/lib/python2.7/site-packages/gtweak/tweakmodel.py", line 97, in load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
  File "/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_shell.py", line 201, in <module>
    GSettingsComboEnumTweak("org.gnome.settings-daemon.plugins.power", "lid-close-battery-action", size_group=sg),
  File "/usr/lib/python2.7/site-packages/gtweak/widgets.py", line 104, in __init__
    _type, values = self.settings.get_range(key_name)
AttributeError: 'GSettingsSetting' object has no attribute 'get_range'

I've tried setting pythonpath

export PYTHONPATH="/usr/lib/python3.2/site-packages/:/usr/lib/python3.2/site-packages/gtk-2.0//usr/lib/python3.2/site-packages/gi/"

And i get this:

Traceback (most recent call last):
  File "/usr/bin/gnome-tweak-tool", line 20, in <module>
    import gi
  File "/usr/lib/python3.2/site-packages/gi/__init__.py", line 23, in <module>
    from ._gi import _API, Repository
ImportError: /usr/lib/libpyglib-2.0-python.so.0: undefined symbol: _Py_FalseStruct

Can someone help?

Offline

#2 2011-05-02 08:03:39

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,937
Website

Re: GnomeTweakTool Problem.

i suspect you don't use gobject-introspection from extra.


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-05-02 09:09:35

lemanski6
Member
Registered: 2011-05-02
Posts: 15

Re: GnomeTweakTool Problem.

You were right, i was using the git version. Installing the one from extra solved the problem.
Thanks a lot.

Offline

#4 2011-05-02 09:58:25

caseyjp1
Member
From: Denver
Registered: 2009-12-22
Posts: 34
Website

Re: GnomeTweakTool Problem.

I lubs you wonder.  That was my problem as well (just discovered a short bit ago).  Thanks for that catch!

Offline

#5 2011-05-04 11:20:43

Yusufsan21
Member
From: Turkey
Registered: 2010-01-08
Posts: 4
Website

Re: GnomeTweakTool Problem.

Not running Gnome tweak tool

[yusuff@arch-laptop ~]$ gnome-tweak-tool
Traceback (most recent call last):
  File "/usr/bin/gnome-tweak-tool", line 27, in <module>
    from gtweak.tweakview import TweakView
  File "/usr/lib/python2.7/site-packages/gtweak/tweakview.py", line 18, in <module>
    from gi.repository import Gtk, Gdk, GObject
  File "/usr/lib/python2.7/site-packages/gi/importer.py", line 76, in load_module
    dynamic_module._load()
  File "/usr/lib/python2.7/site-packages/gi/module.py", line 242, in _load
    overrides_modules = __import__('gi.overrides', fromlist=[self._namespace])
  File "/usr/lib/python2.7/site-packages/gi/overrides/Gdk.py", line 114, in <module>
    class Event(Gdk.Event):
  File "/usr/lib/python2.7/site-packages/gi/overrides/Gdk.py", line 119, in Event
    Gdk.EventType.MOTION_NOTIFY: 'motion',
AttributeError: type object 'GdkEventType' has no attribute 'MOTION_NOTIFY'

İnsanlar ikiye ayrılır, bilginler ve öğrenenler. Diğerlerinde hayır yoktur.

Offline

#6 2011-05-04 11:25:14

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,937
Website

Re: GnomeTweakTool Problem.

@Yusufsan21 pacman -Qm please


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2011-05-04 11:30:44

Yusufsan21
Member
From: Turkey
Registered: 2010-01-08
Posts: 4
Website

Re: GnomeTweakTool Problem.

alacarte 0.13.2-3
cairo-cleartype 1.10.0-1
deskbar-applet 2.32.0-4
fontconfig-lcd 2.8.0-1
gnome-netstatus 2.28.2-1
hamster-applet 2.32.1-1
libgail-gnome 1.20.4-1
python-gnomeapplet 2.32.0-4
seahorse-plugins 2.30.1-3

İnsanlar ikiye ayrılır, bilginler ve öğrenenler. Diğerlerinde hayır yoktur.

Offline

#8 2011-05-04 12:33:34

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,937
Website

Re: GnomeTweakTool Problem.

i wonder if is because of cairo-cleartype. use stock cairo and see if is working


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2011-05-04 13:13:05

Yusufsan21
Member
From: Turkey
Registered: 2010-01-08
Posts: 4
Website

Re: GnomeTweakTool Problem.

I've installed cairo but still not work

pacman -Qm

alacarte 0.13.2-3
deskbar-applet 2.32.0-4
fontconfig-lcd 2.8.0-1
gnome-netstatus 2.28.2-1
hamster-applet 2.32.1-1
libgail-gnome 1.20.4-1
python-gnomeapplet 2.32.0-4
seahorse-plugins 2.30.1-3

İnsanlar ikiye ayrılır, bilginler ve öğrenenler. Diğerlerinde hayır yoktur.

Offline

#10 2011-05-04 13:24:58

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,937
Website

Re: GnomeTweakTool Problem.

@Yusufsan21 is your system fully up to date? that event is in gtk3


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2011-05-04 14:12:51

Yusufsan21
Member
From: Turkey
Registered: 2010-01-08
Posts: 4
Website

Re: GnomeTweakTool Problem.

I have update system and reinstall gnome and gnome-extra but not work.

I was installed some packages for font configuration from aur.

Anyway I'll reinstall Arch Thanks


İnsanlar ikiye ayrılır, bilginler ve öğrenenler. Diğerlerinde hayır yoktur.

Offline

#12 2011-05-18 18:15:04

alperenel
Member
From: Turkiye
Registered: 2011-02-05
Posts: 35
Website

Re: GnomeTweakTool Problem.

i think the problem is with Turkish language. Because i also use Turkish and getting the same error.

Offline

#13 2011-05-21 16:09:06

zubak
Member
From: Turkey
Registered: 2009-07-04
Posts: 2
Website

Re: GnomeTweakTool Problem.

@Yusufsan21 it's locale problem. You can use LC_ALL=C gnome-tweak-tool

Offline

#14 2011-06-04 21:04:09

dimigoua
Member
Registered: 2007-12-23
Posts: 1

Re: GnomeTweakTool Problem.

any help???

gnome-tweak-tool
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site

Offline

#15 2011-08-31 19:29:00

^-Ubermensch-^
Member
Registered: 2008-07-08
Posts: 58

Re: GnomeTweakTool Problem.

I'm italian user and i've the same problem.... http://www.archlinux.it/forum/viewtopic.php?id=12434

EDIT
The solution is downgrade of gobject-introspection.

Last edited by ^-Ubermensch-^ (2011-08-31 19:50:58)

Offline

Board footer

Powered by FluxBB