[Nssbackup-team] [Bug 632605] Re: Incremental backups fail but not full backups

2010-09-08 Thread Martin Schaaf
The fix is to handle the error (gio.Error) on closing the stream.
An exception on closing a stream for reading should not lead to a failing 
application. Even more if the error say that the connection is closed. So my 
suggestion is to catch the error and log but do not fail.
Here is some code that works for me:

import sys

...

try:
fd.close()
except:
LogFactory.getLogger().warn(error on closing the snarfile header after 
reading:  + sys.exc_info()[1])

With this fix I can now create incremental backups.

-- 
Incremental backups fail but not full backups
https://bugs.launchpad.net/bugs/632605
You received this bug notification because you are a member of Simple
Backup Maintainers, which is subscribed to nssbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


[Nssbackup-team] [Bug 632605] Re: Incremental backups fail but not full backups

2010-09-07 Thread Jean-Peer Lorenz
Of course, you'll have to install the package 'sbackup-plugins-fuse'
then.

-- 
Incremental backups fail but not full backups
https://bugs.launchpad.net/bugs/632605
You received this bug notification because you are a member of Simple
Backup Maintainers, which is subscribed to nssbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp