Re: [BackupPC-users] BUG & SOLUTION: Can't call method "getStats" on
2013-10-31 21:55:14
backuppc AT kosowsky DOT org wrote at about 21:08:33 -0400 on Thursday, October
31, 2013:
> From: Rob Sheldon <rob@as...> - 2013-11-01 00:13
> > Just ran into the bug described back in 2011 by Jeffrey
> > (http://sourceforge.net/mailarchive/forum.php?thread_name=20017.43110.617411.92113%40consult.pretender&forum_name=backuppc-users).
> >
> > I had to reinstall BackupPC after an OS upgrade broke it (*sigh*)
> > and my quick glance at the situation matches Jeff's.
>
> Has the simple bug code fix that I suggested back in 2011 ever been
> implemented?
To answer my own question, no it hasn't -- at least as of
BackupPC-3.3.0
Hello Craig?
Here is the diff...
--- BackupPC_dump.orig 2013-10-31 21:51:57.269388705 -0400
+++ BackupPC_dump.new 2013-10-31 21:52:30.291387541 -0400
@@ -1156,7 +1156,7 @@
# only keep this backup if it has more files than the previous
# partial.
#
- if ( $type eq "full" ) {
+ if ( $type eq "full" && defined($xfer)) {
if ( $nFilesTotal == 0 && $xfer->getStats->{fileCnt} == 0 ) {
#
# Xfer didn't report any files, but check in the new
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|