[greenstone-devel] Re: GLI Error Message

From John M Thompson
DateWed, 13 Aug 2003 10:20:06 +1200
Subject [greenstone-devel] Re: GLI Error Message
In-Reply-To (206B70F1D58AD7119D83006094234257126CB2-NCAERMAIL)
Hello Siva,

Are you attempting to build a collection with the DLS metadata set,
specifically with dls.Subject metadata? If so then this error occurs
because GLI writes the wrong element name, one containing spaces, into
the collect.cfg file in the etc folder of your collection. If you look
at it I'd expect you to see something like "classify SomeClassifier
-metadata dls.Subject And Keywords". It should have been "classify
SomeClassifier -metadata dls.Subject".

The easiest solution is to edit the DLS metadata set file, found at
<gli_install>/metadata/dls.mds, and change the part that says:

<Element name="Subject" hierarchy="true" remember_values="true">
...
<Attribute name="identifier" language="en">Subject And
Keywords</Attribute>

to:

<Element name="Subject" hierarchy="true" remember_values="true">
...
<Attribute name="identifier" language="en">Subject</Attribute>

Any new collections built after this change won't suffer from the bug.
To fix your current collection replace the string "Subject And Keywords"
with just "Subject" in <your_collection>/etc/collect.cfg and rename the
file <your_collection>/etc/Subject And Keywords.txt.

I'm sorry this rather critical bug slipped through, but rest assured it
will be fixed by the next release.

Could I also recommend that you direct any further queries to our
mailing lists, which you can subscribe for at:

http://www.greenstone.org/english/docs.html

This is the preferred way of contacting us, ensures your questions are
answered promptly, and allows other list subscribers to share their
experiences and solutions with you.

Good Luck,
John Thompson
Greenstone Digital Library, University of Waikato
New Zealand

Chidambaram, Siva wrote:

>Dear Mr. John M Thompson
>While processing the collection GLI the folowing message is occurred.
>
>http://library/gsdl?a=q&r=1&hs=1&e=p-0-00-test--00-0-0-0prompt-10---4----dtx
>--0-1l--1-en-50---20-about---00001-001-1-0utfZz-8-0&h=dtx&t=1&q=k
>An error occurred during the construction of cgi page.
>
>
>
>Kindly let me know the problem.
>I would be grateful if you are sending simple instruction guide for
>processing the document through GLI.
>
>
>Note: I have installed in window version
>
>Thanks
>siva
>
>
>