[greenstone-users] Antwort: Re: PagedImagePlug with djvu-files

From peter.paessler@volksbund.de
DateWed, 3 Aug 2005 10:19:07 +0200
Subject [greenstone-users] Antwort: Re: PagedImagePlug with djvu-files
In-Reply-To (42F0020E-5000307-cs-waikato-ac-nz)


Katherine Don <kjdon@cs.waikato.ac.nz> schrieb am 03.08.2005 01:30:22:

> Do you mean that you get two HASHxxx folders for each djvu image in the
> archives directory?

Yes, exactly. I came upon this, because I wanted to export the collection to CDROM, but the amount of Bytes doubles (import-folder: 450 MB, archives-folder: 910 MB)

> And each image appears twice in the collection?
> This shouldn't happen.

It is not openly twice visible.

Fetching example page 1922 Heft 1 page 2 with the DateClassifier gives
http://127.0.0.1/gsdl/cgi-bin/library.exe?e=d-000-00---0djvutest--00-1-0Date--0prompt-10-TX%2cZZ%2cTX%2cZZ--4--jahresbericht%2c%2c%2c-Sec---0-1l--1-de-50---20-about-%5bjahresbericht%5d%3aTX--00131-001-1-0utfZz-8-00&a=d&cl=CL1.2&d=HASH5df861b754109e00c2abe8.2

Fetching the same page with Search [ex.srclink] [...<img src='/gsdl/web/images/djvu.gif'>...] [ex./srclink] gives
http://127.0.0.1/gsdl/collect/djvutest/index/assoc/HASH5df8.dir/19220102.djvu

And fetching it with Search [link][icon][/link] gives

http://127.0.0.1/gsdl/cgi-bin/library.exe?e=q-000-00---0djvutest--00-1-0Date--0prompt-10-TX%2cZZ%2cTX%2cZZ--4--jahresbericht%2c%2c%2c-Sec---0-1l--1-de-50---20-about-%5bjahresbericht%5d%3aTX--00131-001-1-0utfZz-8-00&a=d&c=djvutest&cl=search&d=HASH5df861b754109e00c2abe8.2

The Page 19220102.djvu lives in the following two folders:
..djvutestarchivesHASH0f6e.dir
..djvutestarchivesHASH5df8.dir

> Do you run import.pl with -removeold? (this will be on by default if you
> use the GLI).
Yes.


> Is UnknownPlug processing each image twice? Does it say this in the
> import output?
No - import output is

Command: C:ProgrammegreenstonebinwindowsperlbinPerl.exe -S C:Programmegreenstonebinscriptimport.pl -gli -language en -collectdir C:Programmegreenstonecollect -removeold djvutest
import.pl> Removing current contents of the archives directory...
import.pl> RecPlug: getting directory C:Programmegreenstonecollectdjvutestimport
import.pl> RecPlug: getting directory C:Programmegreenstonecollectdjvutestimport192101-02
import.pl> PagedImgPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-02.item"
import.pl> BasPlug: WARNING: language could not be extracted from C:Programmegreenstonecollectdjvutestimport192101-02192101-0211.txt - defaulting to de
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0201.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0202.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0203.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0204.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0205.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0206.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0207.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0208.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0209.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0210.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0211.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0212.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0213.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0214.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0215.djvu"
import.pl> UnknownPlug processing "C:Programmegreenstonecollectdjvutestimport192101-02192101-0216.djvu"
import.pl> RecPlug: getting directory C:Programmegreenstonecollectdjvutestimport192103
...

> Are you using GLI or command line building?
GLI.


best regards
peter paessler