GNOME Bugzilla – Bug 170280
Traceback printed when saving profile
Last modified: 2008-03-13 20:07:53 UTC
Open Sabayon, start editing a profile, attempt to save it. No error dialog will pop-up, but nothing will be saved. The following exception is generated: Traceback (most recent call last):
+ Trace 56836
change.get_source ().commit_change (change, mandatory)
{ "mandatory" : mandatory })
raise ProfileStorageException (_("Cannot add non-existent file '%s'" % (src_path)))
'/tmp/sabayon-temp-home-DBW6Hp/.fonts.cache-1.NEW' Setting .fonts* to IGNORE avoids the error and the settings are saved as expected. Strangely enough, I can't reproduce this error on my (supposedly identical) desktop. Any light on what might be going on here? This is on the Ubuntu Hoary "Preview Release", with: python2.4-gnome 2.10.0-0ubuntu1 python2.4-gamin 0.0.25-0ubuntu python2.4-libxml2 2.6.17-0ubuntu
Hmm, I guess what's going on is the .fonts.cache-1.NEW gets created and we get a "created" notification, then gets moved to .fonts-cache-1 and we never get a "deleted" notification. DV: does that sound right ? I've committed this: 2005-03-15 Mark McLoughlin <markmc@redhat.com> Partial fix for bug #170280 * admin-tool/monitorwindow.py: just print a traceback if commit_change() fails and continue committing remaining changes. But it might be still worth while figuring out is there an underlying bug here that we can anything about.
that sound wrong, I mean, it might be what's happening but in that case it's an error in gamin if we are watching the parent directory. I need to increase the testing of gamin with move and rename operations. Daniel
FWIW I'm still getting this error with sabayon CVS (as of today, 2005-05-04) and gamin 0.0.26-0ubuntu4- Daniel, should this be made a gamin bug, or left in sabayon?
if Mark analysis is right, then it's a gamin bug, yes. Daniel
Need to confirm that analysis ... The bug isn't a big deal now, though - all that's happening is a harmless traceback is being spewed.
*** Bug 311464 has been marked as a duplicate of this bug. ***
I just made Sabayon abort if it gets an exception while committing the changes. Ignoring the exception is a *terrible* idea; it means "we will not care about bugs".
this bug is solved in newer gamin right? i'll leave it open for a week for more comments
I think it is likely that this bug is obsolete, but someone should at least run through the (trivial) reproduction steps to make sure. I hate it when people close bugs without checking just because they're "old".