roadsideseb / revelation-indicator

GNU General Public License v3.0
2 stars 0 forks source link

can't enter preference settings #6

Open abraxas-von-abrasax opened 10 years ago

abraxas-von-abrasax commented 10 years ago

dear elbashid,

at first: thank you very much for the indicator. i just built all dependencies and installed it but as soon as i try to enter the 'preferences', the indicator crashes and displays the following error message:

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/revelation_indicator/__init__.py", line 162, in <lambda>
lambda w, d=None: self.prefs()
File "/usr/local/lib/python2.7/dist-packages/revelation_indicator/__init__.py", line 272, in prefs
dialog.run_unique(Preferences, None, self.config)
File "/usr/lib/python2.7/dist-packages/revelation/dialog.py", line 1324, in run_unique
d = create_unique(dialog, *args)
File "/usr/lib/python2.7/dist-packages/revelation/dialog.py", line 1282, in create_unique
UNIQUE_DIALOGS[dialog] = dialog(*args)
File "/usr/local/lib/python2.7/dist-packages/revelation_indicator/__init__.py", line 518, in __init__
self.__init_section_file(self.page_general)
File "/usr/local/lib/python2.7/dist-packages/revelation_indicator/__init__.py", line 537, in __init_section_file
ui.config_bind(self.config, "autolock", self.check_autolock)
File "/usr/lib/python2.7/dist-packages/revelation/ui.py", line 182, in config_bind
id = cfg.monitor(key, cb_get, widget)
File "/usr/lib/python2.7/dist-packages/revelation/config.py", line 150, in monitor
callback(key, self.get(key), userdata)
File "/usr/lib/python2.7/dist-packages/revelation/ui.py", line 161, in <lambda>
cb_get = lambda c,v,w: w.set_active(v)
TypeError: an integer is required

Thank you for your help!:-)