Ubuntu Tweak crash after install in Ubuntu 12.04 system76 laptop

Bug #990270 reported by Leo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Fix Released
High
Ding Zhou
gconf
New
Undecided
Unassigned

Bug Description

Got it running in a Dell XPS 1530 without issues on Ubuntu 12.04. Maybe something related to System76 custom drivers?

Here is the print out from running ubuntu-tweak -d on the System76 machine:

[Launcher][DEBUG] Distribution: Ubuntu 12.04 precise
Application: Ubuntu Tweak 0.7.0-1~precise4
Desktop:ubuntu (ubuntu-tweak:68)
[gtk][DEBUG] <function post_ui at 0x1c64b18>: (debug.py:179)
[gtk][DEBUG] args-1: <function on_find_object at 0x1ee8d70> (debug.py:181)
[gtk][DEBUG] <function post_ui at 0x1c64b18>: (debug.py:179)
[gtk][DEBUG] args-1: <function on_scan_finished at 0x1ee8ed8> (debug.py:181)
[gtk][DEBUG] <function post_ui at 0x1c64b18>: (debug.py:179)
[gtk][DEBUG] args-1: <function on_scan_error at 0x1ee9050> (debug.py:181)
[gtk][DEBUG] <function post_ui at 0x1c64b18>: (debug.py:179)
[gtk][DEBUG] args-1: <function on_plugin_object_cleaned at 0x1ee9320> (debug.py:181)

(ubuntu-tweak:11391): GConf-WARNING **: : You can't use a GConfEngine that has an active GConfClient wrapper object. Use GConfClient API instead.

(ubuntu-tweak:11391): GConf-WARNING **: : You can't use a GConfEngine that has an active GConfClient wrapper object. Use GConfClient API instead.
Checking if settings need to be migrated ...no
Checking if internal files need to be migrated ...no
Backend : gconf
Integration : true
Profile : unity
Adding plugins
Initializing core options...done
[gtk][DEBUG] <function post_ui at 0x1c64b18>: (debug.py:179)
[gtk][DEBUG] args-1: <function _load_module at 0x208dc08> (debug.py:181)
Traceback (most recent call last):
  File "/usr/bin/ubuntu-tweak", line 124, in <module>
    window = UbuntuTweakWindow(feature=options.feature, module=options.module, splash_window=splash_window)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/main.py", line 305, in __init__
    tweaks_page = FeaturePage('tweaks')
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/main.py", line 166, in __init__
    self._setting = GSetting('com.ubuntu-tweak.tweak.%s' % feature_name)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/settings/gsettings.py", line 19, in __init__
    self.schema_default = self.default or Schema.load_schema(self.schema_id, self.key)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/settings/common.py", line 105, in load_schema
    cls.load_override()
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/settings/common.py", line 96, in load_override
    cs = RawConfigSetting(override)
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/settings/common.py", line 17, in __init__
    self.init_configparser()
  File "/usr/lib/python2.7/dist-packages/ubuntutweak/settings/common.py", line 48, in init_configparser
    self._configparser.read(self._path)
  File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read
    raise e
ConfigParser.ParsingError: File contains parsing errors: /usr/share/glib-2.0/schemas/system76-touchpad.gschema.override
 [line 2]: ' horiz-scroll-enabled=true\n'
 [line 3]: ' scroll-method="two-finger-scrolling"\n'

Revision history for this message
Ding Zhou (tualatrix) wrote :

Thanks for your report. This may related to system76's customization file.

Could you upload this file? /usr/share/glib-2.0/schemas/system76-touchpad.gschema.override

Changed in ubuntu-tweak:
status: New → Confirmed
milestone: none → 0.7.1
assignee: nobody → Ding Zhou (tualatrix)
importance: Undecided → High
Revision history for this message
Leo (leopoldo-pena) wrote :

Here is the file.
Also started a thread in system76 forums about this issue.

Revision history for this message
Ding Zhou (tualatrix) wrote :

Thanks.

It seems the file has some format issue, the tab isn't needed before the line.

Please use my new file to override the old one.

And I will also try to fix it on Ubuntu Tweak, to avoid crash if meet this kind of file.

Changed in ubuntu-tweak:
status: Confirmed → In Progress
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: In Progress → Fix Committed
Revision history for this message
Leo (leopoldo-pena) wrote :

That worked!

Manually removed the tabs and now Ubuntu-tweak works.
Thanks for the help and keep up the good work!

Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
status: Fix Committed → Fix Released
Revision history for this message
boskysquelch (boskysquelch) wrote :

I have tried to find the CORRECT & OTHER bug report that I put against this issue ie ubuntu-tweak crashes whilst attempting to clean kernels in Janitor mode.

I can't find it.

I can't even to get Launchpad to even recognize this similar bug-report.

So I give up. I unsubscribe.

I will stop using ubuntu-tweak until I see something in the plethora of the Interwebz that suggest that is has been repaired.

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.