Re: [greenstone-users] gsdl error

From Qiu
DateThu, 12 Apr 2007 10:34:05 +1200
Subject Re: [greenstone-users] gsdl error
In-Reply-To (014d01c777f8$78c0bb40$6501a8c0-hmg2006Dec)
Hi

Can you run " pluginfo.pl -xml -listall" on console?

If you couldn't, it might be the xml parser problem. You can fix it by
following the instruction below.

http://greenstonewiki.cs.waikato.ac.nz/wiki/index.php/Building_Greenstone_collections#How_do_I_fix_XML::Parser_errors_during_import.pl.3F


Regards
Quan


H.M. Gladney wrote:

> Immediately after a clean installation of GSDL 2.72 on Ubuntu Linux
> with Apache2 running, GLI failed to start.
>
> The console log is attached.
>
> Cheerio, Henry
>
> H.M. Gladney, Ph.D. http://home.pacbell.net/hgladney
>
> ------------------------------------------------------------------------
> 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 GSDL: /home/gladney/gsdl
> Your environment has successfully been set up to run Greenstone
> Checking Perl: /usr/bin/perl
> Checking Java: /usr/bin/java
>
> Running the Greenstone Librarian Interface...
> Version: v2.72
>
> SAX exception: The element type "PluginList" must be terminated by the
> matching end-tag "</PluginList>".
> org.xml.sax.SAXParseException: The element type "PluginList" must be
> terminated by the matching end-tag "</PluginLi st>".
> at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)
> at
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:635)
> at
> org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.endOfInput
> (XMLDocumentScanner.java:1462 )
> at
> org.apache.xerces.framework.XMLDocumentScanner.endOfInput(XMLDocumentScanner.java:418)
> at
> org.apache.xerces.validators.common.XMLValidator.sendEndOfInputNotifications
> (XMLValidator.java:694)
> at
> org.apache.xerces.readers.DefaultEntityHandler.changeReaders(DefaultEntityHandler.java:1026)
> at
> org.apache.xerces.readers.XMLEntityReader.changeReaders(XMLEntityReader.java
> :168)
> at
> org.apache.xerces.readers.AbstractCharReader.changeReaders(AbstractCharReader.java:150)
> at
> org.apache.xerces.readers.AbstractCharReader.scanContent(AbstractCharReader.java:1097)
> at
> org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1150)
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
> at org.apache.xerces.framework.XMLParser.parse
> (XMLParser.java:1081)
> at
> org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:170)
> at
> org.greenstone.gatherer.greenstone.Plugins.parsePluginsListXML(Plugins.java:303)
> at org.greenstone.gatherer.greenstone.Plugins.loadPluginsList
> (Plugins.java:233)
> at org.greenstone.gatherer.Gatherer.init(Gatherer.java:404)
> at org.greenstone.gatherer.Gatherer.<init>(Gatherer.java:183)
> at org.greenstone.gatherer.GathererProg.main
> (GathererProg.java:79)
> java.lang.NullPointerException
> at
> org.greenstone.gatherer.greenstone.Plugins.parsePluginsListXML(Plugins.java:304)
> at org.greenstone.gatherer.greenstone.Plugins.loadPluginsList
> (Plugins.java:233)
> at org.greenstone.gatherer.Gatherer.init(Gatherer.java:404)
> at org.greenstone.gatherer.Gatherer.<init>(Gatherer.java:183)
> at org.greenstone.gatherer.GathererProg.main
> (GathererProg.java:79)
> SAX exception: The markup in the document preceding the root element
> must be well-formed.
> org.xml.sax.SAXParseException: The markup in the document preceding
> the root element must be well-formed.
> at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)
> at
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:626)
> at
> org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch
> (XMLDocumentScanner.java:809)
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
> at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
> at
> org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:170)
> at
> org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:145)
> at
> org.greenstone.gatherer.gui.DownloadPane.loadDownload(DownloadPane.java
> :255)
> at
> org.greenstone.gatherer.gui.DownloadPane.<init>(DownloadPane.java:104)
> at
> org.greenstone.gatherer.gui.GUIManager.display(GUIManager.java:360)
> at org.greenstone.gatherer.Gatherer.openGUI (Gatherer.java:434)
> at org.greenstone.gatherer.GathererProg.main(GathererProg.java:82)
> SAX exception: The markup in the document preceding the root element
> must be well-formed.
> org.xml.sax.SAXParseException : The markup in the document preceding
> the root element must be well-formed.
> at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)
> at
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError
> (XMLDocumentScanner.java:626)
> at
> org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:809)
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java
> :381)
> at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
> at
> org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:170)
> at org.greenstone.gatherer.util.XMLTools.parseXML
> (XMLTools.java:145)
> at
> org.greenstone.gatherer.gui.DownloadPane.loadDownload(DownloadPane.java:255)
> at
> org.greenstone.gatherer.gui.DownloadPane.<init>(DownloadPane.java:105)
> at org.greenstone.gatherer.gui.GUIManager.display
> (GUIManager.java:360)
> at org.greenstone.gatherer.Gatherer.openGUI(Gatherer.java:434)
> at org.greenstone.gatherer.GathererProg.main(GathererProg.java:82)
> SAX exception: The markup in the document preceding the root element
> must be well-formed.
> org.xml.sax.SAXParseException: The markup in the document preceding
> the root element must be well-formed.
> at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)
> at
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError
> (XMLDocumentScanner.java:626)
> at
> org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:809)
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java
> :381)
> at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
> at
> org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:170)
> at org.greenstone.gatherer.util.XMLTools.parseXML
> (XMLTools.java:145)
> at
> org.greenstone.gatherer.gui.DownloadPane.loadDownload(DownloadPane.java:255)
> at
> org.greenstone.gatherer.gui.DownloadPane.<init>(DownloadPane.java:106)
> at org.greenstone.gatherer.gui.GUIManager.display
> (GUIManager.java:360)
> at org.greenstone.gatherer.Gatherer.openGUI(Gatherer.java:434)
> at org.greenstone.gatherer.GathererProg.main(GathererProg.java:82)
> SAX exception: The markup in the document preceding the root element
> must be well-formed.
> org.xml.sax.SAXParseException: The markup in the document preceding
> the root element must be well-formed.
> at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)
> at
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError
> (XMLDocumentScanner.java:626)
> at
> org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:809)
> at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java
> :381)
> at
> org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
> at
> org.greenstone.gatherer.util.XMLTools.parseXML(XMLTools.java:170)
> at org.greenstone.gatherer.util.XMLTools.parseXML
> (XMLTools.java:145)
> at
> org.greenstone.gatherer.gui.DownloadPane.loadDownload(DownloadPane.java:255)
> at
> org.greenstone.gatherer.gui.DownloadPane.<init>(DownloadPane.java:107)
> at org.greenstone.gatherer.gui.GUIManager.display
> (GUIManager.java:360)
> at org.greenstone.gatherer.Gatherer.openGUI(Gatherer.java:434)
> at org.greenstone.gatherer.GathererProg.main(GathererProg.java:82)
> java.lang.NullPointerException
> at
> org.greenstone.gatherer.gui.DownloadPane.generateOptions(DownloadPane.java:332)
> at
> org.greenstone.gatherer.gui.DownloadPane.<init>(DownloadPane.java:178)
> at org.greenstone.gatherer.gui.GUIManager.display
> (GUIManager.java:360)
> at org.greenstone.gatherer.Gatherer.openGUI(Gatherer.java:434)
> at org.greenstone.gatherer.GathererProg.main(GathererProg.java:82)
> java.lang.NullPointerException
> at
> org.greenstone.gatherer.gui.DownloadPane.generateOptions(DownloadPane.java:332)
> at
> org.greenstone.gatherer.gui.DownloadPane.<init>(DownloadPane.java:178)
> at org.greenstone.gatherer.gui.GUIManager.display
> (GUIManager.java:360)
> at org.greenstone.gatherer.Gatherer.openGUI(Gatherer.java:434)
> at org.greenstone.gatherer.GathererProg.main(GathererProg.java:82)
> Done!
>
>------------------------------------------------------------------------
>
>_______________________________________________
>greenstone-users mailing list
>greenstone-users@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>