Public bug reported:
Exception 'TypeError' is raised if an error occurs while pulling a
snapshot:
If an error occurs while pulling a snapshot another exception gets
raised. The log message contains a format error, here is the
corresponding output:
2008-11-14 17:26:46,069 - DEBUG - tar.py:extract2(132) - output was :
2008-11-14 17:26:46,072 - ERROR - nssbackupd.py:__onError(216) - not enough
arguments for format string
2008-11-14 17:26:46,101 - ERROR - nssbackupd.py:__onError(217) - Traceback
(most recent call last):
File
"/home/peer/programming/python/nssb/modified/minor_bugfixes/0.2/src/nssbackup/nssbackupd.py",
line 136, in run
self.__bm.makeBackup()
File
"/home/peer/programming/python/nssb/modified/minor_bugfixes/0.2/src/nssbackup/managers/BackupManager.py",
line 123, in makeBackup
self.__snpman.purge(purge)
File
"/home/peer/programming/python/nssb/modified/minor_bugfixes/0.2/src/nssbackup/managers/SnapshotManager.py",
line 587, in purge
purgeinterval(_2daysbefore - n*daytime,_2daysbefore - (n-1)*daytime)
File
"/home/peer/programming/python/nssb/modified/minor_bugfixes/0.2/src/nssbackup/managers/SnapshotManager.py",
line 542, in purgeinterval
self.rebaseSnapshot(snps[0],snps[-1])
File
"/home/peer/programming/python/nssb/modified/minor_bugfixes/0.2/src/nssbackup/managers/SnapshotManager.py",
line 170, in rebaseSnapshot
self.__rebaseOnLastSnp(currentTorebase)
File
"/home/peer/programming/python/nssb/modified/minor_bugfixes/0.2/src/nssbackup/managers/SnapshotManager.py",
line 429, in __rebaseOnLastSnp
self.__pullSnpContent(snapshot, basesnp)
File
"/home/peer/programming/python/nssb/modified/minor_bugfixes/0.2/src/nssbackup/managers/SnapshotManager.py",
line 414, in __pullSnpContent
self.logger.error(_("Got an exception when Pulling '%s' : "+str(e)) %
snapshot.getName() )
TypeError: not enough arguments for format string
2008-11-14 17:26:46,102 - INFO - nssbackupd.py:__onError(233) - Session of
backup is finished (lockfile is removed)
2008-11-14 17:26:46,103 - ERROR - nssbackupd.py:__onError(248) - Couldn't
copy the logfile into the snapshot directory
** Affects: nssbackup
Importance: Undecided
Status: New
** Tags: nssbackup
--
Exception 'TypeError' is raised if an error occurs while pulling a snapshot.
https://bugs.launchpad.net/bugs/299964
You received this bug notification because you are a member of NSsbackup
team, which is subscribed to NSsbackup.
_______________________________________________
Mailing list: https://launchpad.net/~nssbackup-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~nssbackup-team
More help : https://help.launchpad.net/ListHelp