roadsideseb / revelation-indicator

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

Error opening preferences #5

Closed jocarcelen closed 11 years ago

jocarcelen commented 11 years ago

Thanks for this effort, I used the revelation password applet, I found it very useful and I miss it in Unity.

I have tried your indicator but it throws this when I open the preferences menu:

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/revelation_indicator/init.py", line 162, in 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 1310, in run_unique d = create_unique(dialog, _args) File "/usr/lib/python2.7/dist-packages/revelation/dialog.py", line 1268, 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 180, in config_bind id = cfg.monitor(key, cb_get, widget) File "/usr/lib/python2.7/dist-packages/revelation/config.py", line 152, in monitor callback(key, self.get(key), userdata) File "/usr/lib/python2.7/dist-packages/revelation/ui.py", line 159, in cb_get = lambda c,v,w: w.set_active(v) TypeError: an integer is required

Any idea?


Sorry, after rebooting the system it works.

rafacouto commented 11 years ago

I confirm this bug.