Bug 844109 - revelation crashes when selecting "Preferences"
revelation crashes when selecting "Preferences"
Product: Fedora
Classification: Fedora
Component: revelation (Show other bugs)
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Jef Spaleta
Fedora Extras Quality Assurance
: 912041 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2012-07-28 19:23 EDT by Jeremy Fitzhardinge
Modified: 2013-05-19 08:39 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-05-19 08:39:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jeremy Fitzhardinge 2012-07-28 19:23:39 EDT
Description of problem:
When trying to edit preferences, it crashes with a python exception

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Start revelation
2. Choose Edit -> Preferences
Actual results:

Expected results:
Preferences editing

Additional info:

Traceback (most recent call last):
  File "/usr/bin/revelation", line 206, in <lambda>
    action.connect("activate",		lambda w: self.prefs())
  File "/usr/bin/revelation", line 1527, in prefs
    dialog.run_unique(Preferences, self, self.config)
  File "/usr/lib64/python2.7/site-packages/revelation/dialog.py", line 1324, in run_unique
    d = create_unique(dialog, *args)
  File "/usr/lib64/python2.7/site-packages/revelation/dialog.py", line 1282, in create_unique
    UNIQUE_DIALOGS[dialog] = dialog(*args)
  File "/usr/bin/revelation", line 1623, in __init__
  File "/usr/bin/revelation", line 1762, in __init_section_password
    ui.config_bind(self.config, "passwordgen/punctuation", self.check_punctuation_chars)
  File "/usr/lib64/python2.7/site-packages/revelation/ui.py", line 182, in config_bind
    id = cfg.monitor(key, cb_get, widget)
  File "/usr/lib64/python2.7/site-packages/revelation/config.py", line 150, in monitor
    callback(key, self.get(key), userdata)
  File "/usr/lib64/python2.7/site-packages/revelation/config.py", line 129, in get
    raise ConfigError
Comment 1 Jef Spaleta 2012-07-28 21:03:07 EDT
this is most assuredly the result of the gconf schema drift.

if you remove the gconf revelation directory under your user and relogin or otherwise make gconf restart... i bet the problem clears up for you.

This gconf schema change is the thing holding this package in testing.  Once you blow away your gconf settings for revelation and let them regenerate, everything works as expected. 

I am at a loss as to how to prevent this for users via a change in the packaging.  If you have any ideas on how I can prevent this from happening for users I'm all ears.

Comment 2 Ankur Sinha (FranciscoD) 2013-03-06 18:43:35 EST
*** Bug 912041 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.