Crash when attempting to disable global menu

Bug #1021484 reported by hackvan on 2012-07-05
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unsettings
High
Florian Diesch

Bug Description

this is probably related to some other problem, but i was unable to disable the global menu, possibly because unsettings is spitting tracebacks...

ValueError
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/unsettings/main.py", line 187, in on_ac_apply_activate
    self.apply_settings()
  File "/usr/lib/python2.7/dist-packages/unsettings/main.py", line 127, in apply_settings
    self.connections.store()
  File "/usr/lib/python2.7/dist-packages/unsettings/connection.py", line 114, in store
    conn.store()
  File "/usr/lib/python2.7/dist-packages/unsettings/connection.py", line 77, in store
    self.set_value(self.get_widget().get_data())
  File "/usr/lib/python2.7/dist-packages/unsettings/connection.py", line 60, in set_value
    self.data_store[self.data_key] = value
  File "/usr/lib/python2.7/dist-packages/unsettings/backends.py", line 64, in __setitem__
    self.set(key, value)
  File "/usr/lib/python2.7/dist-packages/unsettings/backends.py", line 101, in set
    self.backends[scheme].set(name, value)
  File "/usr/lib/python2.7/dist-packages/unsettings/backends.py", line 217, in set
    self.gclient.set(self.normalize_key(key), self.from_python(value))
  File "/usr/lib/python2.7/dist-packages/unsettings/backends.py", line 336, in from_python
    else: raise ValueError()

Daniel Ellis (danellisuk) wrote :

Also unable to disable the global menu, here is the full error:-

 unsettings
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/unsettings/main.py", line 187, in on_ac_apply_activate
    self.apply_settings()
  File "/usr/lib/python2.7/dist-packages/unsettings/main.py", line 127, in apply_settings
    self.connections.store()
  File "/usr/lib/python2.7/dist-packages/unsettings/connection.py", line 114, in store
    conn.store()
  File "/usr/lib/python2.7/dist-packages/unsettings/connection.py", line 77, in store
    self.set_value(self.get_widget().get_data())
  File "/usr/lib/python2.7/dist-packages/unsettings/connection.py", line 60, in set_value
    self.data_store[self.data_key] = value
  File "/usr/lib/python2.7/dist-packages/unsettings/backends.py", line 64, in __setitem__
    self.set(key, value)
  File "/usr/lib/python2.7/dist-packages/unsettings/backends.py", line 101, in set
    self.backends[scheme].set(name, value)
  File "/usr/lib/python2.7/dist-packages/unsettings/backends.py", line 142, in set
    settings.set_value(name, GLib.Variant(type_string, value))
  File "/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py", line 167, in __new__
    (v, rest_format, _) = creator._create(format_string, [value])
  File "/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py", line 67, in _create
    v = constructor(args[0])
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 72, in constructor
    return info.invoke(cls, *args, **kwargs)
TypeError: Argument 0 does not allow None as a value

summary: - can't disable global menu
+ Crash when attempting to disable global menu
Changed in unsettings:
status: New → Confirmed
Florian Diesch (diesch) wrote :

Thanks for reporting this bug. Will be fixed in v0.07

Changed in unsettings:
status: Confirmed → Fix Committed
importance: Undecided → High
assignee: nobody → Florian Diesch (diesch)
Florian Diesch (diesch) on 2012-08-23
Changed in unsettings:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers