[greenstone-users] problem with hierarchy classifier

From jens wille
DateSat, 26 Jun 2004 15:02:02 +0200
Subject [greenstone-users] problem with hierarchy classifier
hi there,

i got a problem with the hierarchy classifier in greenstone 2.51
(running under suse linux 9.0).
when trying to build a collection i get the following error message:

<------------------------------------------------------------------>
*** creating the info database and processing associated files
<Stage name='CreateInfoData'>
ArcPlug: processing
/usr/local/gsdl/collect/ddc_dem2/archives/archives.inf
GAPLug: processing HASH01ef.dir/doc.xml
Modification of non-creatable array value attempted, subscript -1 at
/usr/local/gsdl/perllib/classify/Hierarchy.pm line 262 (#1)
(F) You tried to make an array value spring into existence, and
the subscript was probably negative, even counting from end of the
array backwards.

Uncaught exception from user code:
Modification of non-creatable array value attempted,
subscript -1 at /usr/local/gsdl/perllib/classify/Hierarchy.pm line 262.

Hierarchy::get_OID_entry('Hierarchy=HASH(0x87b702c)',0,'HASH(0x8a62314)','Generalities','VList')
called at /usr/local/gsdl/perllib/classify/Hierarchy.pm line 220

Hierarchy::get_classify_info('Hierarchy=HASH(0x87b702c)','buildcol::FAILLOG')
called at /usr/local/gsdl/perllib/classify.pm line 155

classify::output_classify_info('ARRAY(0x8322768)','mgppbuilder::PIPEOUT',0,'buildcol::FAILLOG')
called at /usr/local/gsdl/perllib/mgppbuilder.pm line 936

mgppbuilder::make_infodatabase('mgppbuilder=HASH(0x825a1c4)') called
at /usr/local/gsdl/bin/script/buildcol.pl line 407
buildcol::main() called at
/usr/local/gsdl/bin/script/buildcol.pl line 160
<------------------------------------------------------------------>

the classify statement in the collect.cfg is:

classify Hierarchy -metadata "deweyclassno" -hfile
"my/ddc_dem1-hierarchy.txt" -buttonname "DDC"

and the beginning of my hierarchy file reads as follows:

000 0 "Generalities"
001 0.0 "Generalities & computer science"
010 0.1 "Bibliography"
020 0.2 "Library & information sciences"
030 0.3 "General encyclopedic works"
040 0.4 "Unassigned"
050 0.5 "General serials & their indexes"
060 0.6 "General organizations & museology"
070 0.7 "News media, journalism, publishing"
080 0.8 "General collections "
090 0.9 "Manuscripts & rare books"
100 1 "Philosophy and Psychology"
110 1.1 "Metaphysics"
120 1.2 "Epistemology, causation, humankind"
130 1.3 "Paranormal phenomena"
140 1.4 "Specific philosophical schools"
150 1.5 "Psychology"
160 1.6 "Logic"

is there anything i did wrong with it?
i'd be very grateful if somebody could explain this error to me.

thanks in advance

jens