module import error and administration doesn't work

Bug #1013656 reported by grindaizer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Fix Released
Medium
Ding Zhou

Bug Description

Hi, I have installed version 7.2 on ubuntu 11.10 with gnome shell, and I have the following error message :

[ModuleLoader][ERROR] Module import error: invalid syntax (<string>, line 1) (__init__.py:169)

I can only use the cleaning function, not administration, it just stops working and display errors on the terminal and freezes :

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/gui/gtk.py", line 25, in func_wrapper
    func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/main.py", line 488, in _load_module
    feature, module = ModuleLoader.search_module_for_name(name)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/__init__.py", line 116, in search_module_for_name
    module = cls._get_module_by_name_from_folder(name, m.__path__[0])
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/__init__.py", line 134, in _get_module_by_name_from_folder
    package = __import__(module_name)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/tweaks/window.py", line 31, in <module>
    class Window(TweakModule):
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/tweaks/window.py", line 42, in Window
    config = GconfSetting(key='/desktop/gnome/shell/windows/button_layout')
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/settings/gconfsettings.py", line 21, in __init__
    self.load_override()
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/settings/gconfsettings.py", line 47, in load_override
    value = eval(value)
  File "<string>", line 1
    "gnome-text-editor --new-window +${lineno} "${filename}""
                                                ^
SyntaxError: invalid syntax

that's it, from here I have to kill the process !!!!

Related branches

Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: New → Fix Committed
milestone: none → 0.7.3
assignee: nobody → Ding Zhou (tualatrix)
importance: Undecided → Medium
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.