Re: [greenstone-devel] Re: WARNING: List::classify called multipletimesfor xxxxxx

From Stephen.DeGabrielle@nt.gov.au
DateMon, 19 Jan 2004 09:05:11 +0930
Subject Re: [greenstone-devel] Re: WARNING: List::classify called multipletimesfor xxxxxx

Hi Xiao,

I've had the 'classify called multiple        timesfor ' error before when I had the same metadata name/value combination appear more than once for a particular record.
It didn't cause the build to fail but it was annoying.
Maybe the failure if from the "No value given for -buttonname." issue?  (I thought this failed more gracefully than this normally)

s.


Sent by:        greenstone-devel-bounces@list.scms.waikato.ac.nz

To:        greenstone-devel@list.scms.waikato.ac.nz
cc:        

Subject:        [greenstone-devel] Re: WARNING: List::classify called multiple        timesfor xxxxxx

Hi, All,

I also got this warning, and the collection couldn't be built. From the previous messages about this topic. I suspect the reason for the failure on building is that some of the documents don't contain the metadata that I am trying to build a List on.

Could anyone give me a confirmation on if my suspection is correct or not? I really hope it can work even some documents don't have specified metadata, because my collection consists documents from heterogenous sources.

I appreciate any suggestions and replies!


********Below are the warning messages*********
Version: v2.40 for Unix
Platform: Red Hat Linux release 7.3 (Valhalla)
Built on commandline


WARNING: List::classify called multiple times for HASH01679c6fdfcfd06834e6e54b
No value given for -buttonname.

Incorrect options passed to List, check your collect.cfg file
usage: classify List [options]

specific options:
 -metadata <metadata>  (REQUIRED) Metadata field used for classification. List
                       will be sorted by this element.

 -buttonname <string>  Button name for this classification.
                       Default: Metadata element specified with -metadata

 -sort <string>        Metadata field to sort by. If not set, sorts in build
                       (random) order.
                       Default: Metadata field specified with -metadata

general options (from BasClas):
 -builddir <string>    Where to put the built indexes.
                       Default:

 -outhandle <string>   The file handle to write output to.
                       Default: STDERR

 -verbosity <enum>     Controls the quantity of output.
                       Default: 2

                       0: No output.
                       1: A little bit of output.
                       2: Some output.
                       3: Lots of output.

Uncaught exception from user code:

       List::new(undef, undef, undef, undef, undef, undef, undef) called at (eval 338) line 1
       eval '$listclassobj = new List(@args)
;' called at /ppa/DocRoot/gsdl/perllib/classify/AZCompactList.pm line 414
       AZCompactList::reinit('AZCompactList=HASH(0x8865ddc)', 'ARRAY(0x88a95a4)') called at /ppa/DocRoot/gsdl/perllib/classify/AZCompactList.pm line 621
       AZCompactList::get_classify_info('AZCompactList=HASH(0x8865ddc)') called at /ppa/DocRoot/gsdl/perllib/classify.pm line 117
       classify::output_classify_info('ARRAY(0x82276ec)', 'mgbuilder::PIPEOUT', 0) called at /ppa/DocRoot/gsdl/perllib/mgbuilder.pm line 762
       mgbuilder::make_infodatabase('mgbuilder=HASH(0x82423bc)') called at /ppa/DocRoot/gsdl/bin/script/buildcol.pl line 439
       buildcol::main() called at /ppa/DocRoot/gsdl/bin/script/buildcol.pl line 216
Uncaught exception from user code:

       List::new(undef, undef, undef, undef, undef, undef, undef) called at (eval 338) line 1
       eval '$listclassobj = new List(@args)
;' called at /ppa/DocRoot/gsdl/perllib/classify/AZCompactList.pm line 414
       AZCompactList::reinit('AZCompactList=HASH(0x8865ddc)', 'ARRAY(0x88a95a4)') called at /ppa/DocRoot/gsdl/perllib/classify/AZCompactList.pm line 621
       AZCompactList::get_classify_info('AZCompactList=HASH(0x8865ddc)') called at /ppa/DocRoot/gsdl/perllib/classify.pm line 117
       classify::output_classify_info('ARRAY(0x82276ec)', 'mgbuilder::PIPEOUT', 0) called at /ppa/DocRoot/gsdl/perllib/mgbuilder.pm line 762
       mgbuilder::make_infodatabase('mgbuilder=HASH(0x82423bc)') called at /ppa/DocRoot/gsdl/bin/script/buildcol.pl line 439
       buildcol::main() called at /ppa/DocRoot/gsdl/bin/script/buildcol.pl line 216
Uncaught exception from user code:

       AZCompactList::reinit('AZCompactList=HASH(0x8865ddc)', 'ARRAY(0x88a95a4)') called at /ppa/DocRoot/gsdl/perllib/classify/AZCompactList.pm line 621
       AZCompactList::get_classify_info('AZCompactList=HASH(0x8865ddc)') called at /ppa/DocRoot/gsdl/perllib/classify.pm line 117
       classify::output_classify_info('ARRAY(0x82276ec)', 'mgbuilder::PIPEOUT', 0) called at /ppa/DocRoot/gsdl/perllib/mgbuilder.pm line 762
       mgbuilder::make_infodatabase('mgbuilder=HASH(0x82423bc)') called at /ppa/DocRoot/gsdl/bin/script/buildcol.pl line 439
       buildcol::main() called at /ppa/DocRoot/gsdl/bin/script/buildcol.pl line 216

****************************

Nice weekend!

Xiao

_______________________________________________
greenstone-devel mailing list
greenstone-devel@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel