[greenstone-users] buildcol.pl coming up empty

From H.M. Gladney
DateFri, 1 Jun 2007 06:21:09 -0700
Subject [greenstone-users] buildcol.pl coming up empty

Ref: greenstone-users Digest, Vol 47, Issue 2   message 1
       greenstone-users Digest, Vol 41, Issue 39        message 1      

The problem reported below is similar to those reported in the referenced messages, but does not seem to be identical.

(1) Using the terminal procedure described under "Collection building under Unix" in the GSDL Developer's Guide, the "buildcol.pl" routine for my "snotest2" produces almost nothing.  (See the terminal log under "=====" below.)  The "…/collect/snotest2/import" directory seems to contain a correct copy of my souce directories and files.

(2) A similar result for "buildcol.pl" occurs    for another instance of the same collection (snotest1) imported using the GLI interface.

(3) The "collect.cfg" file for snotest2 looks OK.  It contains 15 "plugin" lines, but these do not include certain plugins found in "collect.cfg" for snotest1--plugins that were prompted for in the snotest1 import (e.g., BibTexPlug and DSpacePlug.)

(4) The "…/collect/snotest2/archives", "…/collect/snotest2/building", "…/collect/snotest2/images", and "…/collect/snotest2/perllib" directories are empty.  The "…/collect/snotest2/index/assoc" directory is empty.  The "…/collect/snotest2/index/idx" and "…/collect/snotest2/index/text" directories contain about 18 and 6 files respectively.

Cheerio, Henry
 
H.M. Gladney, Ph.D.  http://home.pacbell.net/hgladney
=======
Your environment has successfully been set up to run Greenstone
gladney@HMG3:~/gsdl$ mkcol.pl -creator
hgladney@pacbell.net snotest2
/home/gladney/gsdl/perllib/strings.properties

Creating the collection snotest2...
doing replacements for collect.cfg
doing replacements for
extra.dm

The new collection was created successfully at /home/gladney/gsdl/collect/snotest2
gladney@HMG3:~/gsdl$ cd $GSDLHOME/collect/snotest2
gladney@HMG3:~/gsdl/collect/snotest2$ ls
archives building etc images import index macros perllib
gladney@HMG3:~/gsdl/collect/snotest2$ cp -r ~/Snobol/* import/
gladney@HMG3:~/gsdl/collect/snotest2$ gedit etc/collect.cfg
gladney@HMG3:~/gsdl/collect/snotest2$ buildcol.pl snotest2
/home/gladney/gsdl/perllib/strings.properties
WARNING: None of -removeold, -keepold or -incremental were specified, defaulting to -removeold. Current contents of building directory will be deleted.

*** creating the compressed text

collecting text statistics (mgpp_passes -T1)
RecPlug: getting directory /home/gladney/gsdl/collect/snotest2/archives
Stats (Compressing text from text)
Total bytes in collection: 0
Total bytes in text: 0
***************
WARNING: There is very little or no text to compress
Was this your intention?
***************

creating the compression dictionary

compressing the text (mgpp_passes -T2)
RecPlug: getting directory /home/gladney/gsdl/collect/snotest2/archives
Stats (Compressing text from text)
Total bytes in collection: 0
Total bytes in text: 0
***************
WARNING: There is very little or no text to compress
Was this your intention?
***************

*** building index text;Title;Source; in subdirectory idx

creating index dictionary (mgpp_passes -I1)
RecPlug: getting directory /home/gladney/gsdl/collect/snotest2/archives
Stats (Creating index text;Title;Source;)
Total bytes in collection: 0
Total bytes in text;Title;Source;: 0
***************
WARNING: There is very little or no text to process for text;Title;Source;
Was this your intention?
***************

inverting the text (mgpp_passes -I2)
RecPlug: getting directory /home/gladney/gsdl/collect/snotest2/archives
Stats (Creating index text;Title;Source;)
Total bytes in collection: 0
Total bytes in text;Title;Source;: 0
***************
WARNING: There is very little or no text to process for text;Title;Source;
Was this your intention?
***************

create the weights file

creating 'on-disk' stemmed dictionary

creating stem indexes
BuildDir: /home/gladney/gsdl/collect/snotest2/building

*** creating the info database and processing associated files
RecPlug: getting directory /home/gladney/gsdl/collect/snotest2/archives
*** outputting information for classifier: CL1
*** outputting information for classifier: CL2
*** outputting information for classifier: oai

*** creating auxiliary files
gladney@HMG3:~/gsdl/collect/snotest2$ rm -r index/*
rm: cannot remove `index/*': No such file or directory
gladney@HMG3:~/gsdl/collect/snotest2$ mv building/* index/
gladney@HMG3 :~/gsdl/collect/snotest2$