On 10/15/2012 11:05 AM, Dave Howorth wrote: > Where did you get it? According to my Ubuntu 12.04, there is only > 1.2.1-1.1 (precise) available and that corresponds to the production > version on dirvish.org. On dirvish.org I also see an experimental > release 1.3.1.
It's a non-official source: http://developer.gauner.org/dirvish/ > Since you are not using the normal version of dirvish, you will need to > tell us what code is present at that line, or wait for somebody who has > the same version. You should also post your config files - both the > failing and working ones. You're right: 473 sub scriptrun { 474 my (%A) = @_; 475 my ( $cmd, $rcmd, $return ); 476 477 $A{now} ||= time; 478 $A{log} or seppuku 229, "must specify logfile for scriptrun()"; 479 ref( $A{cmd} ) and seppuku 232, "$A{label} option specification error"; 480 481 $cmd = strftime( $A{cmd}, localtime( $A{now} ) ); 482 if ( $A{dir} != /^:/ ) # Eric M's BadShellCmd fix of 2004-09-04 483 { 484 $rcmd = sprintf( 485 "%s 'cd %s; %s %s' >>%s", 486 ( "$A{shell}" || "/bin/sh -c" ), 487 $A{dir}, $A{env}, $cmd, $A{log} 488 ); 489 } 490 else { 491 $rcmd = sprintf( "%s '%s %s' >>%s", 492 ( "$A{shell}" || "/bin/sh -c" ), 493 $A{env}, $cmd, $A{log} ); 494 } 495 496 $A{label} =~ /^Post/ and logappend( $A{log}, "\n" ); 497 498 logappend( $A{log}, "$A{label}: $cmd" ); 499 500 $return = system($rcmd); 501 502 $A{label} =~ /^Pre/ and logappend( $A{log}, "\n" ); 503 504 return $return; 505 } Again, this is the message: Use of uninitialized value $_ in pattern match (m//) at /usr/lib/perl5/Dirvish.pm line 482. Argument "/data/backup/access/2012-10-15--11-34/tree" isn't numeric in numeric ne (!=) at /usr/lib/perl5/Dirvish.pm line 482. Use of uninitialized value $A{"shell"} in string at /usr/lib/perl5/Dirvish.pm line 491. > If you do not understand perl, I recommend that you not try to use > experimental versions, but instead install and use the production > version from the standard repositories. BTW from the same source dirvish_1.3.2-r634-1_all.deb works fine for many years. Thank you, tamas _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
