[Thread Prev][Thread Next][Index]

[las_users] error in generating LAS sample page



Hi all,

 

I am trying to set up LAS version 6.5.1 on a Linux Fedora Core3 server (x86_64 AMD chip). I have installed all of pre-required software. In particular, I have,

 

Apache 2.0

Ferret 5.8.1

Perl 5.8.5

MySQL 3.23.58

NetCDF 3.6.1

 

I have succeeded to run the configure file up to final step(I think): program tried to create a sample web page for LAS but somehow failed. Below is an excerpt of the final messages,

 

Generating HTML...

Serializing file:/opt/las/server/las.xml to database

Building indexes...

Resolving links...

Generating dataset COADS climatology

Generating dataset Levitus Climatology

Can't find <optiondef> href: Options_Data_Default at ../xml/perl/LASServlet.pm line 1560.

Error in generating HTML.

 

The block in the LASServlet.pm is as below,

 

package LAS::ServletDB::UI::Options;

use LAS;

sub new {

    my ($class,$gen,$map) = @_;

    my $self = {

        children => []

    };

    foreach my $child ($map->getChildren){

        if ($child->getName eq 'ifoptions'){

            my $op = $child->getAttribute('op');

            my $href = $child->getAttribute('href');

            $href =~ s/^#//;

            my $optiondef = $LAS::UI::Generator::OptionDefs{$href};

            die "Can't find <optiondef> href: $href" if ! $optiondef;

            push(@{$self->{children}},

                 new LAS::ServletDB::UI::OptionDef($optiondef, $op));

        }

    }

    bless $self,$class;

}

 

Is this due to option definitions? What should I change?

 

Any suggestions will be appreciated.

 

Best,

 

Mingshun Jiang

 

 


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement