[greenstone-users] GLI failure (version 2.80) on Mac OSX

From Yohannes Mulugeta
DateWed Jul 23 18:28:16 2008
Subject [greenstone-users] GLI failure (version 2.80) on Mac OSX
In-Reply-To (23371-206-207-225-22-1216661294-squirrel-webmail-scms-waikato-ac-nz)
Thank you Quan,
Your comment helped me to fix the same problem on Debian Linux. I have been
trying a week to install greenstone 2.8 on Debian. Now it is OK! Thank you
again!

Yohannes Mulugeta
Addis Ababa University

On Mon, Jul 21, 2008 at 10:28 AM, <qq6@cs.waikato.ac.nz> wrote:

> Hi Repke
>
> It could be that the current installed Perl's XML parser couldn't work for
> Greenstone. You can fix it by following the instruction at:
>
>
> http://greenstonewiki.cs.waikato.ac.nz/wiki/index.php/Building_Greenstone_collections#How_do_I_fix_XML::Parser_errors_during_import.pl.3F
>
> If the installed Perl's XML parser works for Greenstone, you will get a
> list of plugins in XML format by running a command "pluginfo.pl -xml
> -listall" on a console.
>
>
> Regards
> Quan
>
>
> > Hi,
> >
> > this is on an iMAC (OSX 10.4.11) and with otherwise the installation
> > OK and Greenstone working fine.
> >
> > However: with the GLI not working, it is hardly of use. Problem:
> > cannot Open Collection or Start New Collection (and therefore
> > couldn't spot other errors beyond this).
> >
> > I checked the list's archive and the doc's on the wiki and my problem
> > already existed in 2006 (May 04) with the 2.70 for Mac OSX and this
> > year for 2.80 Hongyan Ma and Nisa Khairun reported the same problems
> > (March 2008, Ma, Hongyan <hym at ucla.edu> ; k.n.fachry at
> > gmail.com) which Katherine Don tried to tackle but inconclusively and
> > unresolved as yet.
> >
> > Any progress or solution ?
> >
> > Below what the GLI application reports back: first the errors on
> > start up of the GLI, then the problems when Opening an existing
> > collection.
> >
> > PLEASE: I really wish to work with Greenstone on a Mac as well. Thx,
> > Repke de Vries
> >
> > ------------
> >
> > computer-van-repke-de-vries:/opt/greenstone/gli imacrepke$ ./gli.sh
> >
> > 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: /opt/greenstone
> > 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: 2.80
> >
> > Java vendor: Apple Computer, Inc.
> > Note that the Librarian Interface has been developed and tested with
> > Java from Sun Microsystems.
> > 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 "</PluginList>".
> > 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.sendEndOfInputNotificat
> > ions(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:436)
> > at
> > org.greenstone.gatherer.greenstone.Plugins.parsePluginsListXML
> > (Plugins.java:302)
> > at org.greenstone.gatherer.greenstone.Plugins.loadPluginsList
> > (Plugins.java:232)
> > at org.greenstone.gatherer.Gatherer.init(Gatherer.java:441)
> > at org.greenstone.gatherer.Gatherer.<init>(Gatherer.java:201)
> > at org.greenstone.gatherer.GathererProg.main
> > (GathererProg.java:77)
> > java.lang.NullPointerException
> > at
> > org.greenstone.gatherer.greenstone.Plugins.parsePluginsListXML
> > (Plugins.java:303)
> > at org.greenstone.gatherer.greenstone.Plugins.loadPluginsList
> > (Plugins.java:232)
> > at org.greenstone.gatherer.Gatherer.init(Gatherer.java:441)
> > at org.greenstone.gatherer.Gatherer.<init>(Gatherer.java:201)
> > at org.greenstone.gatherer.GathererProg.main
> > (GathererProg.java:77)
> > 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:436)
> > at org.greenstone.gatherer.util.XMLTools.parseXML
> > (XMLTools.java:412)
> > at org.greenstone.gatherer.gui.DownloadPane.loadDownload
> > (DownloadPane.java:256)
> > at org.greenstone.gatherer.gui.DownloadPane.<init>
> > (DownloadPane.java:106)
> > at org.greenstone.gatherer.gui.GUIManager.display
> > (GUIManager.java:363)
> > at org.greenstone.gatherer.Gatherer.openGUI(Gatherer.java:480)
> > at org.greenstone.gatherer.GathererProg.main
> > (GathererProg.java:80)
> > 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:436)
> > at org.greenstone.gatherer.util.XMLTools.parseXML
> > (XMLTools.java:412)
> > at
> > org.greenstone.gatherer.collection.ScriptOptions.loadArguments
> > (ScriptOptions.java:252)
> > at org.greenstone.gatherer.collection.ScriptOptions.<init>
> > (ScriptOptions.java:43)
> > at org.greenstone.gatherer.collection.Collection.<init>
> > (Collection.java:113)
> > at
> > org.greenstone.gatherer.collection.CollectionManager.loadCollectionInter
> > nal(CollectionManager.java:974)
> > at
> > org.greenstone.gatherer.collection.CollectionManager.access$200
> > (CollectionManager.java:82)
> > at org.greenstone.gatherer.collection.CollectionManager
> > $LoadCollectionTask.run(CollectionManager.java:856)
> > java.lang.NullPointerException
> > at
> > org.greenstone.gatherer.collection.ScriptOptions.loadArguments
> > (ScriptOptions.java:255)
> > at org.greenstone.gatherer.collection.ScriptOptions.<init>
> > (ScriptOptions.java:43)
> > at org.greenstone.gatherer.collection.Collection.<init>
> > (Collection.java:113)
> > at
> > org.greenstone.gatherer.collection.CollectionManager.loadCollectionInter
> > nal(CollectionManager.java:974)
> > at
> > org.greenstone.gatherer.collection.CollectionManager.access$200
> > (CollectionManager.java:82)
> > at org.greenstone.gatherer.collection.CollectionManager
> > $LoadCollectionTask.run(CollectionManager.java:856)
> > 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:436)
> > at org.greenstone.gatherer.util.XMLTools.parseXML
> > (XMLTools.java:412)
> > at
> > org.greenstone.gatherer.collection.ScriptOptions.loadArguments
> > (ScriptOptions.java:252)
> > at org.greenstone.gatherer.collection.ScriptOptions.<init>
> > (ScriptOptions.java:43)
> > at org.greenstone.gatherer.collection.Collection.<init>
> > (Collection.java:114)
> > at
> > org.greenstone.gatherer.collection.CollectionManager.loadCollectionInter
> > nal(CollectionManager.java:974)
> > at
> > org.greenstone.gatherer.collection.CollectionManager.access$200
> > (CollectionManager.java:82)
> > at org.greenstone.gatherer.collection.CollectionManager
> > $LoadCollectionTask.run(CollectionManager.java:856)
> > java.lang.NullPointerException
> > at
> > org.greenstone.gatherer.collection.ScriptOptions.loadArguments
> > (ScriptOptions.java:255)
> > at org.greenstone.gatherer.collection.ScriptOptions.<init>
> > (ScriptOptions.java:43)
> > at org.greenstone.gatherer.collection.Collection.<init>
> > (Collection.java:114)
> > at
> > org.greenstone.gatherer.collection.CollectionManager.loadCollectionInter
> > nal(CollectionManager.java:974)
> > at
> > org.greenstone.gatherer.collection.CollectionManager.access$200
> > (CollectionManager.java:82)
> > at org.greenstone.gatherer.collection.CollectionManager
> > $LoadCollectionTask.run(CollectionManager.java:856)
> > java.lang.NullPointerException
> > at org.greenstone.gatherer.greenstone.Plugins.getPlugin
> > (Plugins.java:74)
> > at org.greenstone.gatherer.cdm.Plugin.create(Plugin.java:75)
> > at org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt
> > (DOMProxyListModel.java:221)
> > at org.greenstone.gatherer.cdm.PluginManager.<init>
> > (PluginManager.java:80)
> > at
> > org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails
> > (CollectionDesignManager.java:125)
> > at org.greenstone.gatherer.cdm.CollectionDesignManager.<init>
> > (CollectionDesignManager.java:100)
> > at
> > org.greenstone.gatherer.collection.CollectionManager.loadCollectionInter
> > nal(CollectionManager.java:1013)
> > at
> > org.greenstone.gatherer.collection.CollectionManager.access$200
> > (CollectionManager.java:82)
> > at org.greenstone.gatherer.collection.CollectionManager
> > $LoadCollectionTask.run(CollectionManager.java:856)
> > java.lang.NullPointerException
> > at org.greenstone.gatherer.greenstone.Plugins.getPlugin
> > (Plugins.java:74)
> > at org.greenstone.gatherer.cdm.Plugin.create(Plugin.java:75)
> > at org.greenstone.gatherer.cdm.DOMProxyListModel.getElementAt
> > (DOMProxyListModel.java:221)
> > at org.greenstone.gatherer.cdm.PluginManager.<init>
> > (PluginManager.java:80)
> > at
> > org.greenstone.gatherer.cdm.CollectionDesignManager.loadDesignDetails
> > (CollectionDesignManager.java:125)
> > at org.greenstone.gatherer.cdm.CollectionDesignManager.<init>
> > (CollectionDesignManager.java:100)
> > at
> > org.greenstone.gatherer.collection.CollectionManager.loadCollectionInter
> > nal(CollectionManager.java:1013)
> > at
> > org.greenstone.gatherer.collection.CollectionManager.access$200
> > (CollectionManager.java:82)
> > at org.greenstone.gatherer.collection.CollectionManager
> > $LoadCollectionTask.run(CollectionManager.java:856)
> > Exception in thread "Thread-6" java.lang.NullPointerException
> > at
> > org.greenstone.gatherer.collection.CollectionManager.saveCollection
> > (CollectionManager.java:1295)
> > at
> > org.greenstone.gatherer.gui.GUIManager.saveThenCloseCurrentCollection
> > (GUIManager.java:299)
> > at org.greenstone.gatherer.gui.GUIManager
> > $OpenCollectionTask.run(GUIManager.java:681)
> > ^CDone!
> > computer-van-repke-de-vries:/opt/greenstone/gli imacrepke$
> >
> >
> > _______________________________________________
> > greenstone-users mailing list
> > greenstone-users@list.scms.waikato.ac.nz
> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >
>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>

--
Yohannes Mulugeta
Head, Computer & Information Retrieval Center
Addis Ababa University Library System
P.O.Box 1176
Addis Ababa, Ethiopia

cell phone +251-(0)911 395 572
e-mail: yohannesmulu<AT>gmai.com
yohannesmulu<AT>yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20080722/f6e266ee/attachment-0001.html