Re: [greenstone-users] Disappearing Collection

From Qiu
DateTue, 06 Nov 2007 13:02:29 +1300
Subject Re: [greenstone-users] Disappearing Collection
In-Reply-To (ecbf3bd40711051321g78014ab2i2ee7b1244dedb31e-mail-gmail-com)
Hi Robert

Can this collection be opened successfully on the server side?
Greenstone 2.74b has released. You can upgrade Greenstone from 2.72 to
2.74b.

Regards
Quan

Robert Nix wrote:
>
> We have been creating collections in Greenstone 2.72 for a few months
> now with no problems. Recently one of our employees needed to add data
> to a collection but when they tried to open it they received an error
> and the collection was removed from the open collections list. The
> employee is using the gli client 2.72 on Windows XP. The server
> running Greenstone 2.72 is a CentOS 4 server. The error that is
> showing on the Command Prompt for the gli client is:
>
>
>
> gliserver args: cmd=download-collection&c=alexande
>
> java.io.FileNotFoundException: C:Documents and
> Settings/username/Application Dat
>
> aGreenstoneGLIcollectalexandearchivesDAlexander McBeth Store
> Ledger pa
>
> ge 10.dirdoc.xml (The system cannot find the path specified)
>
> at java.io.FileOutputStream.open(Native Method)
>
> at java.io.FileOutputStream.<init>(Unknown Source)
>
> at java.io.FileOutputStream.<init>(Unknown Source)
>
> at
> org.greenstone.gatherer.util.UnzipTools.unzipFile(UnzipTools.java:70)
>
>
>
> at
> org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenston
>
> eServerDownloadCollectionAction.perform(RemoteGreenstoneServer.java:427)
>
> at
> org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenston
>
> eServerActionQueue.run(RemoteGreenstoneServer.java:229)
>
> CollectionManager.loadCollection: No config file.
>
>
>
> I've checked to see if the collect.cfg and the build.cfg files are
> there and they are. They look identical to the files before the
> incident but I'll attach them anyway just to make sure that there
> isn't something that I'm missing. Also, these are the entries in the
> error log in Greenstone:
>
>
>
> Warning: couldn't read build.cfg
> file for collection "alexande", gsdlhome="/var/www/html/gsdl"
> database open failed on: /var/www/html/gsdl/etc/history.db
>
> There is nothing in the collect directory on my local machine, even
> after I try to open the collection. I successfully opened another
> collection and there is still nothing in the collect directory so I
> don't know if java is just trying to look in the wrong directory or if
> it's looking on the server for the information(which the information
> is on the server just how it is listed in the path with the
> seperating the names). I can give you a detailed list if you want but
> there is a lot of directories and data in the archives directory. I
> will give you a list right now of what is in the directory that is
> failing to load according to the java error. That list is: archives(d)
> DAlexand(d) er McBet(d) h Store(d) Ledger p(d) age 10.dir(d)
> ( doc.xml(f) , gcls_mbth_ldgr_010.jpg(f) , thumbnail.gif(f) ). The
> (d)'s are directories and the (f)'s are files. I'm guessing this is
> pretty standard for having pictures and things of that nature in the
> metadata. I have attached a copy of the file that the client is having
> issues accessing. See if you see anything out of the ordinary with it.
> I can tell you that I cannot pull the file up in the web browser on
> the server so maybe that's an issue. The permissions on the attached
> files are globally readable, owner writable with the exception of the
> history.db which is globally readable and writable. Any help on this
> issue would be greatly appreciated.
>
> Thank you in advance,
> Robert
> ------------------------------------------------------------------------
>
> builddate1191599797
> buildtypemgpp
> indexfieldmapSCMem.Subject->SC
> indexfieldsSCMem.Subject
> indexlevelsDoc
> indexmapSCMem.Subject;->idx
> indexstemalexande
> levelmapdocument->Doc
> maxnumeric4
> numbytes650
> numdocs25
> numsections25
> stemindexes7
> textlevelDoc
>
> ------------------------------------------------------------------------
>
> creator
> creatoremail@somewhere.com
> maintaineremail@somewhere.com
> maintainer
> publictrue
>
> buildtypemgpp
>
> #indexesdocument:text document:Title document:Source
> indexesSCMem.Subject
> defaultindexSCMem.Subject
>
> levelsdocument
>
> indexoptionsaccentfold casefold stem
>
> defaultleveldocument
>
> pluginZIPPlug
> pluginGAPlug
> pluginTEXTPlug
> pluginHTMLPlug -smart_block
> pluginEMAILPlug
> pluginPDFPlug
> pluginRTFPlug
> pluginWordPlug
> pluginPSPlug
> pluginImagePlug
> pluginISISPlug
> pluginNULPlug
> pluginMetadataXMLPlug
> pluginArcPlug
> pluginRecPlug
>
> classifyAZCompactList -metadata SCMem.Title
>
> format VList "<td valign="top">[link][icon][/link]</td>
> <td valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
> <td valign="top">[highlight]
> {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}
> [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
>
> format HList "[link][highlight][ex.Title][/highlight][/link]"
>
> format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
>
> format DocumentText "[Text]"
>
> format DocumentButtons "Detach|Highlight"
>
> format SearchTypes "plain,form"
>
> collectionmeta.document:text [l=en] "text"
> collectionmeta.document:Title [l=en] "titles"
> collectionmeta.document:Source [l=en] "filenames"
> collectionmetacollectionname [l=en] "Alexander McBeth Ledger"
> collectionmetacollectionextra [l=en] "A 1794 store ledger from the general store of Alexander MacBeth. The store was located in Greenville, South Carolina on the White Horse Road."
> collectionmetaiconcollection [l=en] "/gsdl/collect/alexande/images/Mcbeth_ledger_page3_1.jpg"
> collectionmetaiconcollectionsmall [l=en] "/gsdl/collect/alexande/images/McBeth_ledger_covertext2.jpg"
> collectionmeta.SCMem.Subject [l=en] "Keywords"
>
> ------------------------------------------------------------------------
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">
> <Archive>
> <Section>
> <Description>
> <Metadata name="gsdlsourcefilename">import/Alexander McBeth Ledger/gcls_mbth_ldgr_010.jpg</Metadata>
> <Metadata name="gsdldoctype">indexed_doc</Metadata>
> <Metadata name="Plugin">ImagePlug</Metadata>
> <Metadata name="Image">gcls_mbth_ldgr_010.jpg</Metadata>
> <Metadata name="Source">gcls_mbth_ldgr_010.jpg</Metadata>
> <Metadata name="FileFormat">JPEG</Metadata>
> <Metadata name="FileSize">182272</Metadata>
> <Metadata name="ImageType">JPEG</Metadata>
> <Metadata name="ImageWidth">753</Metadata>
> <Metadata name="ImageHeight">1200</Metadata>
> <Metadata name="ImageSize">182272</Metadata>
> <Metadata name="srclink">&lt;a href=&quot;/gsdl/collect/[collection]/index/assoc/[assocfilepath]/[Image]&quot;&gt;</Metadata>
> <Metadata name="/srclink">&lt;/a&gt;</Metadata>
> <Metadata name="srcicon">&lt;img src=&quot;/gsdl/collect/[collection]/index/assoc/[assocfilepath]/[Image]&quot; width=100&gt;</Metadata>
> <Metadata name="ThumbType">gif</Metadata>
> <Metadata name="Thumb">thumbnail.gif</Metadata>
> <Metadata name="thumbicon">&lt;img src=&quot;/gsdl/collect/[collection]/index/assoc/[assocfilepath]/[Thumb]&quot; width=[ThumbWidth] height=[ThumbHeight]&gt;</Metadata>
> <Metadata name="ThumbWidth">63</Metadata>
> <Metadata name="ThumbHeight">100</Metadata>
> <Metadata name="SCMem.Format">image/jpeg</Metadata>
> <Metadata name="SCMem.Format">image/jpeg</Metadata>
> <Metadata name="SCMem.Rights">This image is free from copyright and may be used without prior consent from the Greenville County Library System.</Metadata>
> <Metadata name="SCMem.Rights">This image is free from copyright and may be used without prior consent from the Greenville County Library System.</Metadata>
> <Metadata name="SCMem.Language">eng</Metadata>
> <Metadata name="SCMem.Language">eng</Metadata>
> <Metadata name="SCMem.Digitization Specifications">30,240,768 bytes; 24 bit color; 300 ppi; TIFF; scanned with hp scanjet7400c; edited with Adobe Photoshop Elements 2.0</Metadata>
> <Metadata name="SCMem.Creator">McBeth, Alexander</Metadata>
> <Metadata name="SCMem.Creator">McBeth, Alexander</Metadata>
> <Metadata name="SCMem.Date.Digital">2007-09-14</Metadata>
> <Metadata name="SCMem.Type">Still image</Metadata>
> <Metadata name="SCMem.Type">Still image</Metadata>
> <Metadata name="SCMem.Publisher">Greenville County Library System; Carolina First South Carolina Room</Metadata>
> <Metadata name="SCMem.Publisher">Greenville County Library System; Carolina First South Carolina Room</Metadata>
> <Metadata name="SCMem.Title">Alexander McBeth Store Ledger page 10</Metadata>
> <Metadata name="SCMem.Contributing Institution">Greenville County (SC) Library System; Carolina First South Carolina Room</Metadata>
> <Metadata name="SCMem.Contributing Institution">Greenville County (SC) Library System; Carolina First South Carolina Room</Metadata>
> <Metadata name="SCMem.Date.Original">1794-01</Metadata>
> <Metadata name="SCMem.Identifier">gcls_mbth_ldgr_010</Metadata>
> <Metadata name="SCMem.Subject">McBeth, Alexander; Greenville (S.C.); South Carolina; Account books; General stores; Gillerland, Robert; Hunt, John; Blasingame, John; Bayner, James; Bowen, Charles; McClur, SM; Nicholas, Dr. John; Parker, Samuel; Leech, David </Metadata>
> <Metadata name="Title">gcls mbth ldgr 010</Metadata>
> <Metadata name="Identifier">DAlexander McBeth Store Ledger page 10</Metadata>
> <Metadata name="lastmodified">1190212886</Metadata>
> <Metadata name="assocfilepath">DAlexand/er McBet/h Store /Ledger p/age 10.dir</Metadata>
> <Metadata name="gsdlassocfile">gcls_mbth_ldgr_010.jpg:image/JPEG:</Metadata>
> <Metadata name="gsdlassocfile">thumbnail.gif:image/gif:</Metadata>
> </Description>
> <Content>This document has no text.</Content>
> </Section>
> </Archive>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>