Hmmm... that sounds like a nasty one. Building from the GLI should be no different
from building from the command-line, because all it does is run the same Perl
scripts. However, the GLI does provide a few extra arguments to import.pl and
buildcol.pl, so it actually runs:
perl -S import.pl -gli -language [lang] -collect_dir [collectdir]
perl -S buildcol.pl -gli -language [lang] -collect_dir [collectdir]
I can't imagine adding these options would cause the HTML version to break, but you
should try adding them at the command-line just in case. You should also try
building the collection in the GLI in Expert mode, and setting the verbosity option
to 3 to see if there are any errors.
Regarding your second question, the GLI does not cache anything from the
collect.cfg file. You can change it as you wish and the GLI should deal with it
correctly when you next open the collection.
> I have recently experimented with running the import/build from the commmand
> line and am noticing something very interesting (this is in the 2.52 version).
> The collection consists of Microsoft Word documents. When I do the import/build
> with the GLI, it says it is converting them to HTML and the icons for both Word
> and HTML show up when previewed. But clicking on the HTML icon shows no text,
> though if there is a cover image that shows up.
> Meanwhile, doing the same thing from the command line, the HTML version shows up
> just fine. I have not altered the config file between doing it one way and
> another, at least not intentionally! Any ideas on what's happening?
> My commands with the manual method are simply:
> perl -S import.pl [collectionname]
> perl -S buildcol.pl [collectionname]
> followed by a manual drag of the "building" directory contents into "index".
> A second query is this - if I choose to go the manual route for a while and
> change the config file in the process, then choose to try the GLI again - is
> there a way to make the GLI recognize the new changes in the config file or
> will it default to the last way it was used?
> greenstone-users mailing list