After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 308735 - Can't edit a profile a second time
Can't edit a profile a second time
Status: RESOLVED FIXED
Product: sabayon
Classification: Deprecated
Component: general
SVN trunk
Other Linux
: Normal normal
: ---
Assigned To: Maintainers of sabayon
Maintainers of sabayon
Depends on:
Blocks:
 
 
Reported: 2005-06-23 04:42 UTC by William Lachance
Modified: 2007-09-19 19:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to ignore .gconf.path.defaults and .gconf.path.mandatory (577 bytes, patch)
2005-06-23 04:45 UTC, William Lachance
accepted-commit_now Details | Review

Description William Lachance 2005-06-23 04:42:59 UTC
Create a profile, save it, attempt to edit it again. A dialog will pop up
complaining that it can't find the XML source to a non-existent directory.

This error seems to be occurring because ".gconf.path.defaults" and
".gconf.path.mandatory" are now being saved to disk (they weren't in 0.18).
Setting them to ignore while editing the profile allows you to reload it
successfully. 

Also see the attached patch which sets the directory monitor to ignore them (not
sure if this is the appropriate solution).
Comment 1 William Lachance 2005-06-23 04:45:21 UTC
Created attachment 48194 [details] [review]
patch to ignore .gconf.path.defaults and .gconf.path.mandatory
Comment 2 William Lachance 2005-06-23 04:51:10 UTC
Another potential solution would be to ensure that the gconf settings are
applied _after_ the file settings, as that would nuke the (invalid)
.gconf.path.defaults and .gconf.path.mandatory with guaranteed-to-be-working ones. 

Comment 3 Mark McLoughlin 2005-06-23 10:05:03 UTC
Thanks, patch looks good, but we should also ignore the .gconf.xml.defaults and
.gconf.xml.mandatory directories ... could you make that change when you're
committing too?
Comment 4 Mark McLoughlin 2005-06-30 14:13:30 UTC
Thanks

2005-06-30  Mark McLoughlin  <markmc@redhat.com>

        Patch from William Lachance <wrlach@gmail.com> in
        bug #308735

        * lib/config.py.in: add .gconf.path.defaults and
        .gconf.path.mandatory to FILES_TO_IGNORE