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 170280 - Traceback printed when saving profile
Traceback printed when saving profile
Status: RESOLVED OBSOLETE
Product: sabayon
Classification: Deprecated
Component: general
SVN trunk
Other Linux
: Normal minor
: ---
Assigned To: Maintainers of sabayon
Maintainers of sabayon
: 311464 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-03-14 07:59 UTC by William Lachance
Modified: 2008-03-13 20:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Lachance 2005-03-14 07:59:07 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):
  • File "/usr/share/sabayon/monitorwindow.py", line 105 in __handle_save
    change.get_source ().commit_change (change, mandatory)
  • File "/usr/share/sabayon/sources/filessource.py", line 100 in commit_change
    { "mandatory" : mandatory })
  • File "/usr/share/sabayon/storage.py", line 516 in add
    raise ProfileStorageException (_("Cannot add non-existent file '%s'" % (src_path)))
torage.ProfileStorageException: Cannot add non-existent file
'/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
Comment 1 Mark McLoughlin 2005-03-15 12:12:24 UTC
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.
Comment 2 Daniel Veillard 2005-03-15 12:36:20 UTC
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
Comment 3 Luis Villa 2005-05-04 17:54:58 UTC
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?
Comment 4 Daniel Veillard 2005-05-04 20:25:54 UTC
if Mark analysis is right, then it's a gamin bug, yes.

Daniel
Comment 5 Mark McLoughlin 2005-05-05 09:51:54 UTC
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.
Comment 6 Mark McLoughlin 2005-07-28 08:46:55 UTC
*** Bug 311464 has been marked as a duplicate of this bug. ***
Comment 7 Federico Mena Quintero 2007-01-18 20:44:08 UTC
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".
Comment 8 Johnny Robeson 2008-01-25 09:12:17 UTC
this bug is solved in newer gamin right? i'll leave it open for a week for more comments
Comment 9 William Lachance 2008-03-13 20:07:53 UTC
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".