[greenstone-users] GLI client

From qq6@cs.waikato.ac.nz
DateTue Jun 17 06:50:24 2008
Subject [greenstone-users] GLI client
In-Reply-To (F8BF00A70B281946ADC0959A36B00B817C8E142FDC-JJAYEXCH-jjay-cuny-edu)
Hi Javeria

The problem is that the perl "XML:: Parser" couldn't work properly when
passing the xml file.

Take a look at the document
http://wiki.greenstone.org/wiki/index.php/Building_Greenstone_collections#How_do_I_fix_XML::Parser_errors
to see how to fix this problem.

Regards
Quan


> Hi Quan
> These are the messages I get on the console.
>
> Greenstone Librarian Interface (GLI)
> Copyright (C) 2006, New Zealand Digital Library Project, University Of
> Waikato
> GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt
> This is free software, and you are welcome to redistribute it
> Checking Java: C:WINDOWSsystem32
>
> Running the Greenstone Librarian Interface...
> Version: 2.80
>
> Deleting user's local collect directory...
> Done.
> gliserver args:
> cmd=get-script-options&script=classinfo.pl&xml=&language=en&list
> all
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&lista
> ll
> gliserver args: cmd=download-collection-configurations
> gliserver args: cmd=download-collection&c=newcrime
> gliserver args: cmd=get-script-options&script=buildcol.pl&xml=&language=en
> gliserver args: cmd=get-script-options&script=import.pl&xml=&language=en
> gliserver args:
> cmd=get-script-options&script=classinfo.pl&xml=&language=en&list
> all&collection=newcrime
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&lista
> ll&collection=newcrime
> gliserver args:
> cmd=get-script-options&script=classinfo.pl&xml=&language=en&clas
> sifier=AZList
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=ZIPPlug
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=GAPlug
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=TEXTPlug
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=HTMLPlug
> SAX exception: The markup in the document preceding the root element must
> be wel
> l-formed.
> org.xml.sax.SAXParseException: The markup in the document preceding the
> root ele
> ment must be well-formed.
> at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196
> )
> at
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
> LDocumentScanner.java:626)
> at
> org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
> atch(XMLDocumentScanner.java:809)
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
> canner.java:381)
> at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
> at
> org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:436)
> at
> org.greenstone.gatherer.greenstone.Plugins.parsePluginInfoXML(Plugins
> .java:243)
> at
> org.greenstone.gatherer.greenstone.Plugins.loadPluginInfo(Plugins.jav
> a:172)
> at
> org.greenstone.gatherer.greenstone.Plugins.getPlugin(Plugins.java:86)
>
> at org.greenstone.gatherer.cdm.Plugin.create(Plugin.java:75)
> at
> org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyLi
> stModel.java:221)
> at
> org.greenstone.gatherer.cdm.PluginManager.<init>(PluginManager.java:8
> 0)
> at
> org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails
> (CollectionDesignManager.java:125)
> at
> org.greenstone.gatherer.cdm.CollectionDesignManager.<init>(Collection
> DesignManager.java:100)
> at
> org.greenstone.gatherer.collection.CollectionManager.loadCollectionIn
> ternal(CollectionManager.java:1013)
> at
> org.greenstone.gatherer.collection.CollectionManager.access$200(Colle
> ctionManager.java:82)
> at
> org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTa
> sk.run(CollectionManager.java:856)
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=EMAILPlug
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=PDFPlug
> SAX exception: The markup in the document preceding the root element must
> be wel
> l-formed.
> org.xml.sax.SAXParseException: The markup in the document preceding the
> root ele
> ment must be well-formed.
> at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196
> )
> at
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
> LDocumentScanner.java:626)
> at
> org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
> atch(XMLDocumentScanner.java:809)
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
> canner.java:381)
> at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
> at
> org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:436)
> at
> org.greenstone.gatherer.greenstone.Plugins.parsePluginInfoXML(Plugins
> .java:243)
> at
> org.greenstone.gatherer.greenstone.Plugins.loadPluginInfo(Plugins.jav
> a:172)
> at
> org.greenstone.gatherer.greenstone.Plugins.getPlugin(Plugins.java:86)
>
> at org.greenstone.gatherer.cdm.Plugin.create(Plugin.java:75)
> at
> org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyLi
> stModel.java:221)
> at
> org.greenstone.gatherer.cdm.PluginManager.<init>(PluginManager.java:8
> 0)
> at
> org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails
> (CollectionDesignManager.java:125)
> at
> org.greenstone.gatherer.cdm.CollectionDesignManager.<init>(Collection
> DesignManager.java:100)
> at
> org.greenstone.gatherer.collection.CollectionManager.loadCollectionIn
> ternal(CollectionManager.java:1013)
> at
> org.greenstone.gatherer.collection.CollectionManager.access$200(Colle
> ctionManager.java:82)
> at
> org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTa
> sk.run(CollectionManager.java:856)
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=RTFPlug
> SAX exception: The markup in the document preceding the root element must
> be wel
> l-formed.
> org.xml.sax.SAXParseException: The markup in the document preceding the
> root ele
> ment must be well-formed.
> at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196
> )
> at
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
> LDocumentScanner.java:626)
> at
> org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
> atch(XMLDocumentScanner.java:809)
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
> canner.java:381)
> at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
> at
> org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:436)
> at
> org.greenstone.gatherer.greenstone.Plugins.parsePluginInfoXML(Plugins
> .java:243)
> at
> org.greenstone.gatherer.greenstone.Plugins.loadPluginInfo(Plugins.jav
> a:172)
> at
> org.greenstone.gatherer.greenstone.Plugins.getPlugin(Plugins.java:86)
>
> at org.greenstone.gatherer.cdm.Plugin.create(Plugin.java:75)
> at
> org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyLi
> stModel.java:221)
> at
> org.greenstone.gatherer.cdm.PluginManager.<init>(PluginManager.java:8
> 0)
> at
> org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails
> (CollectionDesignManager.java:125)
> at
> org.greenstone.gatherer.cdm.CollectionDesignManager.<init>(Collection
> DesignManager.java:100)
> at
> org.greenstone.gatherer.collection.CollectionManager.loadCollectionIn
> ternal(CollectionManager.java:1013)
> at
> org.greenstone.gatherer.collection.CollectionManager.access$200(Colle
> ctionManager.java:82)
> at
> org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTa
> sk.run(CollectionManager.java:856)
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=WordPlug
> SAX exception: The markup in the document preceding the root element must
> be wel
> l-formed.
> org.xml.sax.SAXParseException: The markup in the document preceding the
> root ele
> ment must be well-formed.
> at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196
> )
> at
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
> LDocumentScanner.java:626)
> at
> org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
> atch(XMLDocumentScanner.java:809)
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
> canner.java:381)
> at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
> at
> org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:436)
> at
> org.greenstone.gatherer.greenstone.Plugins.parsePluginInfoXML(Plugins
> .java:243)
> at
> org.greenstone.gatherer.greenstone.Plugins.loadPluginInfo(Plugins.jav
> a:172)
> at
> org.greenstone.gatherer.greenstone.Plugins.getPlugin(Plugins.java:86)
>
> at org.greenstone.gatherer.cdm.Plugin.create(Plugin.java:75)
> at
> org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyLi
> stModel.java:221)
> at
> org.greenstone.gatherer.cdm.PluginManager.<init>(PluginManager.java:8
> 0)
> at
> org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails
> (CollectionDesignManager.java:125)
> at
> org.greenstone.gatherer.cdm.CollectionDesignManager.<init>(Collection
> DesignManager.java:100)
> at
> org.greenstone.gatherer.collection.CollectionManager.loadCollectionIn
> ternal(CollectionManager.java:1013)
> at
> org.greenstone.gatherer.collection.CollectionManager.access$200(Colle
> ctionManager.java:82)
> at
> org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTa
> sk.run(CollectionManager.java:856)
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=PSPlug
> SAX exception: The markup in the document preceding the root element must
> be wel
> l-formed.
> org.xml.sax.SAXParseException: The markup in the document preceding the
> root ele
> ment must be well-formed.
> at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196
> )
> at
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
> LDocumentScanner.java:626)
> at
> org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.disp
> atch(XMLDocumentScanner.java:809)
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
> canner.java:381)
> at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
> at
> org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:436)
> at
> org.greenstone.gatherer.greenstone.Plugins.parsePluginInfoXML(Plugins
> .java:243)
> at
> org.greenstone.gatherer.greenstone.Plugins.loadPluginInfo(Plugins.jav
> a:172)
> at
> org.greenstone.gatherer.greenstone.Plugins.getPlugin(Plugins.java:86)
>
> at org.greenstone.gatherer.cdm.Plugin.create(Plugin.java:75)
> at
> org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt(DOMProxyLi
> stModel.java:221)
> at
> org.greenstone.gatherer.cdm.PluginManager.<init>(PluginManager.java:8
> 0)
> at
> org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails
> (CollectionDesignManager.java:125)
> at
> org.greenstone.gatherer.cdm.CollectionDesignManager.<init>(Collection
> DesignManager.java:100)
> at
> org.greenstone.gatherer.collection.CollectionManager.loadCollectionIn
> ternal(CollectionManager.java:1013)
> at
> org.greenstone.gatherer.collection.CollectionManager.access$200(Colle
> ctionManager.java:82)
> at
> org.greenstone.gatherer.collection.CollectionManager$LoadCollectionTa
> sk.run(CollectionManager.java:856)
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=ImagePlug
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=ISISPlug
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=NULPlug
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=MetadataXMLPlug
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=ArcPlug
> gliserver args:
> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&plugi
> n=RecPlug
> WARNING: In event dispatch thread, returning immediately...
> gliserver URL: http://10.1.12.60/Greenstone/cgi-bin/gliserver.pl
> gliserver args:
> cmd=upload-collection-file&c=newcrime&file=newcrime-121364069953
> 7.zip&directory=&zip=true
>
> Javeria Sharif
>
> Library Webmaster
>
> Lloyd Sealy Library John Jay College of Criminal Justice, CUNY
>
> 899 Tenth Ave, New York, NY 10019
>
> jsharif&#64;jjay.cuny.edu
>
>
> -----Original Message-----
> From: qq6@cs.waikato.ac.nz [mailto:qq6@cs.waikato.ac.nz]
> Sent: Monday, June 16, 2008 2:23 PM
> To: Javeria Sharif
> Cc: greenstone-users@list.scms.waikato.ac.nz
> Subject: RE: [greenstone-users] GLI client
>
> Hi Javeria
>
> Could you send me all the error messages displayed on the console?
>
> Regards
> Quan
>
>> Hi Quan,
>>
>> I can open the collection but while loading it I get plug in error like
>> this for each plugin. How do I get rid of that. Thanks a lot for your
>> help.
>>
>>
>>
>> [cid:image001.jpg@01C8CFB6.F8DED610]
>>
>>
>>
>> Javeria Sharif
>>
>>
>>
>> Library Webmaster
>>
>>
>>
>> Lloyd Sealy Library John Jay College of Criminal Justice, CUNY
>>
>>
>>
>> 899 Tenth Ave, New York, NY 10019
>>
>>
>>
>> jsharif@jjay.cuny.edu
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: qq6@cs.waikato.ac.nz [mailto:qq6@cs.waikato.ac.nz]
>> Sent: Monday, June 09, 2008 4:28 PM
>> To: Javeria Sharif
>> Cc: greenstone-users@list.scms.waikato.ac.nz
>> Subject: RE: [greenstone-users] GLI client
>>
>>
>>
>> Hi Javeria
>>
>>
>>
>> The error happened when trying to download the collection Newcrime. As
>>
>> Windows is the platform for running the Greenstone, could you please
>> check
>>
>> whether the user has a full-control permission of the greenstone/collect
>>
>> folder?
>>
>>
>>
>> In addition, more error messages will be captured by running the remote
>>
>> GLI with a debug option.
>>
>> cd c:remotegli
>>
>> clinet-gli.bat -debug
>>
>>
>>
>> Could you please check it again and let me know the progress.
>>
>>
>>
>> Quan
>>
>>
>>
>>
>>
>>
>>
>>> Hi Quan,
>>
>>>
>>
>>> These are all the messages I got on the console. I am running stand
>>> alone
>>
>>> client. I tried to run GLI applet but it says Loading Java applet
>>> failed
>>
>>> so now I am trying to use stand alone.
>>
>>>
>>
>>>
>>
>>> Greenstone Librarian Interface (GLI)
>>
>>> Copyright (C) 2006, New Zealand Digital Library Project, University Of
>>
>>> Waikato
>>
>>> GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt
>>
>>> This is free software, and you are welcome to redistribute it
>>
>>> Checking Java: C:WINDOWSsystem32
>>
>>>
>>
>>> Running the Greenstone Librarian Interface...
>>
>>> Version: 2.80
>>
>>>
>>
>>> Deleting user's local collect directory...
>>
>>> Done.
>>
>>> gliserver args:
>>
>>> cmd=get-script-options&script=classinfo.pl&xml=&language=en&list
>>
>>> all
>>
>>> gliserver args:
>>
>>> cmd=get-script-options&script=pluginfo.pl&xml=&language=en&lista
>>
>>> ll
>>
>>> gliserver args: cmd=download-collection-configurations
>>
>>> gliserver args: cmd=download-collection&c=newcrime
>>
>>> java.io.IOException: Server returned HTTP response code: 502 for URL:
>>
>>> http://10.
>>
>>> 1.12.60/Greenstone/cgi-bin/gliserver.pl
>>
>>> at
>>
>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
>>
>>> So
>>
>>> urce)
>>
>>> at
>>
>>> org.greenstone.gatherer.remote.RemoteGreenstoneServer.downloadFileInt
>>
>>> ernal(RemoteGreenstoneServer.java:1076)
>>
>>> at
>>
>>> org.greenstone.gatherer.remote.RemoteGreenstoneServer.downloadFile(Re
>>
>>> moteGreenstoneServer.java:928)
>>
>>> at
>>
>>> org.greenstone.gatherer.remote.RemoteGreenstoneServer.access$300(Remo
>>
>>> teGreenstoneServer.java:56)
>>
>>> at
>>
>>> org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenston
>>
>>> eServerDownloadCollectionAction.perform(RemoteGreenstoneServer.java:441)
>>
>>> at
>>
>>> org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenston
>>
>>> eServerActionQueue.run(RemoteGreenstoneServer.java:249)
>>
>>>
>>
>>> Javeria Sharif
>>
>>>
>>
>>> Library Webmaster
>>
>>>
>>
>>> Lloyd Sealy Library John Jay College of Criminal Justice, CUNY
>>
>>>
>>
>>> 899 Tenth Ave, New York, NY 10019
>>
>>>
>>
>>> jsharif@jjay.cuny.edu
>>
>>>
>>
>>> -----Original Message-----
>>
>>> From: qq6@cs.waikato.ac.nz [mailto:qq6@cs.waikato.ac.nz]
>>
>>> Sent: Thursday, June 05, 2008 12:48 PM
>>
>>> To: Javeria Sharif
>>
>>> Cc: greenstone-users@list.scms.waikato.ac.nz
>>
>>> Subject: RE: [greenstone-users] GLI client
>>
>>>
>>
>>> Hi Javeria
>>
>>>
>>
>>> Which remote GLI are you running (a stand along remote GLI or a GLI
>>> Java
>>
>>> applet)? If you are running a stand along remote GLI, more error
>>> messages
>>
>>> will appear on a console when error happens. If you are running a GLI
>>> Java
>>
>>> applet, more error messages will be captured by Java console of the web
>>
>>> browser.
>>
>>>
>>
>>> Could you have a close look again and copy the error messages other
>>> than
>>
>>> the error windows to me?
>>
>>>
>>
>>> Regards
>>
>>> Quan
>>
>>>
>>
>>>
>>
>>>> Here is the screenshot
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> [cid:image001.jpg@01C8C708.5696D350]
>>
>>>>
>>
>>>> Javeria Sharif
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> Library Webmaster
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> Lloyd Sealy Library John Jay College of Criminal Justice, CUNY
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> 899 Tenth Ave, New York, NY 10019
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> jsharif@jjay.cuny.edu
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> -----Original Message-----
>>
>>>> From: qq6@cs.waikato.ac.nz [mailto:qq6@cs.waikato.ac.nz]
>>
>>>> Sent: Thursday, June 05, 2008 12:31 PM
>>
>>>> To: Javeria Sharif
>>
>>>> Cc: greenstone-users@list.scms.waikato.ac.nz
>>
>>>> Subject: RE: [greenstone-users] GLI client
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> Hi Javeria
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> Could you copy the error message displayed on the console to me?
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>> Regards
>>
>>>>
>>
>>>> Quan
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>>> Hi Quan,
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> Thanks with your help I was able to see all collections now when I
>>
>>>>> choose
>>
>>>>
>>
>>>>> the collection that I created it gives me this error message An error
>>
>>>>
>>
>>>>> occurred on the remote Greenstone server while performing this
>>
>>>>> operation:
>>
>>>>
>>
>>>>> Server returned HTTP response code: 502 for
>>
>>>>
>>
>>>>> URL:HTTP://10.1.12.60/Greenstone / cgi-bin/gliserver.pl
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> Javeria Sharif
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> Library Webmaster
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> Lloyd Sealy Library John Jay College of Criminal Justice, CUNY
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>> 899 Tenth Ave, New York, NY 10019
>>
>>>>
>>
>>>>>
>>
>>>>
>>
>>>>
>>
>>>>
>>
>>>
>>
>>>
>>
>>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>