From | ak19@cs.waikato.ac.nz |
Date | Thu Mar 6 15:48:33 2008 |
Subject | [greenstone-devel] [greenstone - Help] GLI for Greenstone v2.80 freezes |
In-Reply-To | (4816306-38148-sourceforge-net) |
>
> Read and respond to this message at: > https://sourceforge.net/forum/message.php?msg_id=4816306 > By: xflogar > > Hi, > > I installed Greenstone v2.80 for Linux (I'm using CentOS) and it seemed to > work > properly, but I can't make a new collection. Since I start GLI from a > terminal > window, it throws some exceptions: > > 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 > ) > > ...this repeated for other libraries and lines of code. When the > application > starts, it let me create a a new collection, but when I try to open it, > the > message > > "La colección en: /usr/local/gsdl/collect/prueba/prueba.col no se pudo > abrir" > "Cannot open the collection: /usr/local/gsdl/collect/prueba/prueba.col " > > appears and if I try to choose any option of the menu bar (like trying to > reopen > it or another one) the program frezees and throws several Java exceptions > like: > > 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(XML > DocumentScanner.java:626) > > 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(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) > > > ...And the same if try to open the demo collection provided by default > with > the distribution. > > I also tried to make a new collection following the steps at the Developer > manual, > the first step works ok, the second (using mkecol.pl)works but doesn't > create > all the folder it indicates... Well, after that I made a new folder > import, > placed the files inside and tried the command import.pl (the new > collection's > name is nuevo). > > But it didn't work at all, it showed me: > > Can't load > '/usr/local/gsdl/perllib/cpan/perl-5.8/auto/XML/Parser/Expat/Expat.so' > for module XML::Parser::Expat: > /usr/local/gsdl/perllib/cpan/perl-5.8/auto/XML/Parser/Expat/Expat.so: > undefined > symbol: PL_stack_sp at > /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm > line 230. > at /usr/local/gsdl/perllib/cpan/perl-5.8/XML/Parser.pm line 14 > Compilation failed in require at > /usr/local/gsdl/perllib/cpan/perl-5.8/XML/Parser.pm > line 14. > BEGIN failed--compilation aborted at > /usr/local/gsdl/perllib/cpan/perl-5.8/XML/Parser.pm line 18. > Compilation failed in require at /usr/local/gsdl/perllib/cfgread4gs3.pm > line > 60. > BEGIN failed--compilation aborted at > /usr/local/gsdl/perllib/cfgread4gs3.pm > line 60. > Compilation failed in require at /usr/local/gsdl/perllib/colcfg.pm line > 31. > BEGIN failed--compilation aborted at /usr/local/gsdl/perllib/colcfg.pm > line 31. > Compilation failed in require at /usr/local/gsdl/bin/script/import.pl line > 44. > BEGIN failed--compilation aborted at /usr/local/gsdl/bin/script/import.pl > line > 44. > > ...and I realized the collection 'nuevo' doesn't exists if I try to open > it > with GLI (it isn't listed). > > If someone can help me I apreciate it so much... > (Spanish spoken for those who just understand reading english...) > > Hi, I had installed Greenstone 2.80 on Linux just day-before-yesterday and
The following solved it for me. See if it solves your problem as well. The
CAUSE:
You can do this either by:
I will assume you just want to go by the first option: compile your Linux
HOW:
(2) Go through the installation and choose Custom setup and tick
(3) Check if your installation folder (perhaps it is called gsdl) contains
Put the indexers folder inside your gsdl/greenstone 2 installation folder
(4) Now, go to the $GSDLHOME folder and type
(
If you still have difficulties here, looking at
(5) Still in $GSDLHOME, set up the environment for GSDLHOME:
(6) You should be able to view it in your web server after you do the
#Greenstone 2 script:
Alias /gsdl "$GSDLHOME/"
(b) in the file $GSDLHOME/cgi-bin/gsdlsite.cfg,
(c) Open your browser at
(8) Run GLI (I run the application):
(9) Try creating new collections and opening existing ones now. Does it
And if it still gives trouble creating/opening collections, go to
(It takes a long time to "make all". I had to do it a second time now
Anu,
|