On Thu, 2012-04-26 at 09:54 -0600, Steven Backus wrote:

Thanks to Steven Backus and Jean-Louis for the win. This excerpt was
sent to me by Steven and did fix my issue. 

I manually applied it to the perl module from my source build directory
and then simply copied it into production. Of course, I made backups
before I changed anything. I already had the required swig version
installed.

After installation, the restore was fast and painless.

This mailing list and those who contribute are by far one of Amanda's
greatest strengths.

Cheers,



> 1. Install swig-1.3.40.
> 
> 2. Apply this patch, but not to Header.swg, to Header.pm
> 
> diff --git a/perl/Amanda/Header.swg b/perl/Amanda/Header.swg
> index a7d391b..28cb4e8 100644
> --- a/perl/Amanda/Header.swg
> +++ b/perl/Amanda/Header.swg
> @@ -151,7 +151,11 @@ sub from_string {
>  sub get_dle {
>      my $self = shift;
>  
> -    return Amanda::Header::HeaderXML->new($self->{'dle_str'});
> +    if ($self->{'dle_str'}) {
> +     return Amanda::Header::HeaderXML->new($self->{'dle_str'});
> +    } else {
> +     return undef;
> +    }
>  }
>  
> Steve



-- 
Greg Copeland <[email protected]>
Copeland Computer Consulting

Reply via email to