Re: [greenstone-users] internal relative links causing errors

From Rich Robinson
DateTue, 5 Oct 2004 16:26:43 -0700
Subject Re: [greenstone-users] internal relative links causing errors
In-Reply-To (20041003232533-B90B523BF4-mail1-gtcinternet-com)
FYI I think I found the problem for my case. I deleted links,
images, and it still gave the same errors. Problem seems to be, that
I was importing Word docs created by opening an html file in Word and
saving out as a Word doc. When I created a Word doc with the exact
same text but as a "native" Word document, it worked fine. Haven't
tested with links yet but so far so good. Some kind of formatting or
something that Word uses when converting existing HTML docs which the
Word->HTML converter or the "escher" parser doesn't like.

Rich

>Hi Rich,
>
>The problem here is that the wvWare Word -> HTML converter that Greenstone
>uses doesn't seem to handle hyperlinks correctly. Running the coverter
>externally to Greenstone and looking at the HTML output shows that the
>hyperlinks are gone. This is true even for wvWare version 1.02. (There might
>be a wvWare option that controls this, but I couldn't find it.)
>
>There isn't much we can do about this until wvWare is improved. However,
>saving the Word files as HTML from within Microsoft Word gives files that
>work correctly. You don't need a non-standard collection configuration for
>this to work, either. The downside is that you have to do this manually, and
>you'll need to do a bit more work if you want to make the Word files
>available to the collection viewer.
>
>Regards,
>
>Michael
>
>
>
>Rich Robinson wrote:
>
>> Hi,
>>
>> I have imported a Word doc that has two relative links, to a .zip
>> file and to a .jpg file. I've imported both those files into the
>> import directory where the Word doc resides. The following errors
>> are generated. I've configured Word plug and HTML plug for
>> associated files and added .zip to the types of files. Didn't work.
>> Added ImagePlug, both below and above the other two plugs. Ticked
>> associated files in Image Plug. Any help on these links is welcome!
>>
>> Rich R.
>>
>> Command: C:Program FilesgsdlbinwindowsperlbinPerl.exe -S
>> C:Program Filesgsdlbinscriptimport.pl -gli -language en
>> -collectdir C:Program Filesgsdlcollect jewishmi -maxdocs 200
>> -verbosity 3 -removeold
>> import.pl> Removing current contents of the archives directory...
>> import.pl> RecPlug: getting directory C:Program
>> Filesgsdlcollectjewishmiimport
>> import.pl> RecPlug: found metadata in C:Program
>> Filesgsdlcollectjewishmiimportmetadata.xml
>> import.pl> RecPlug: preparing metadata for leila_ada.doc
>> import.pl> File "leila_ada.doc" matches filespec "leila_ada.doc"
>> import.pl> RecPlug recurring: leila_ada.doc
>> import.pl> Converting leila_ada.doc to HTML format
>> import.pl> I won't mmap that file, using a slower method
>> import.pl> Diagnostic: (./wvWare.c:1225) field began
>> import.pl>
>> import.pl> Diagnostic: (./field.c:340) command HYPERLINK
>> "spezra.zip", ret is 0
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
> > import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
> > import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
> > import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:223) Eating type 0xf004
>> import.pl>
>> import.pl> Diagnostic: (./wvWare.c:591) Strange No Graphic Data in
>> the 0x01/0x08 graphic
>> import.pl>
>> import.pl> Diagnostic: (./wvWare.c:1225) field began
>> import.pl>
>> import.pl> Diagnostic: (./wvWare.c:1225) field began
>> import.pl>
>> import.pl> Diagnostic: (./wvWare.c:1276) picture 0x01 here, at offset
>> b7 in Data Stream, obj is 0, ole is 0
>> import.pl>
>> import.pl> Diagnostic: (./wvWare.c:1225) field began
>> import.pl>
>> import.pl> Diagnostic: (./field.c:340) command HYPERLINK
>> "leila_ada_large.jpg", ret is 0
>> import.pl>
>> import.pl> Diagnostic: (./wvWare.c:1225) field began
>> import.pl>
>> import.pl> Diagnostic: (./wvWare.c:1225) field began
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:223) Eating type 0xf004
> > import.pl>
>> import.pl> Diagnostic: (./wvWare.c:591) Strange No Graphic Data in
> > the 0x01/0x08 graphic
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
> > import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:223) Eating type 0xf004
>> import.pl>
>> import.pl> Diagnostic: (./wvWare.c:591) Strange No Graphic Data in
>> the 0x01/0x08 graphic
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
> > import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
> > import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
> > import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:223) Eating type 0xf004
>> import.pl>
>> import.pl> Diagnostic: (./wvWare.c:591) Strange No Graphic Data in
>> the 0x01/0x08 graphic
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:223) Eating type 0xf004
>> import.pl>
>> import.pl> Diagnostic: (./wvWare.c:591) Strange No Graphic Data in
>> the 0x01/0x08 graphic
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
> > import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
> > import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
> > import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:223) Eating type 0xf004
>> import.pl>
>> import.pl> Diagnostic: (./wvWare.c:591) Strange No Graphic Data in
>> the 0x01/0x08 graphic
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>> import.pl> Diagnostic: (./escher.c:631) Eating type 0xf122
>> import.pl>
>>
>> ------------------------------------------------------------------------
>> Name: build_log.1096570088118.txt
>> build_log.1096570088118.txt Type: Plain Text (text/plain)
>> Encoding: x-uuencode
>>
>> ------------------------------------------------------------------------
>> _______________________________________________
>> greenstone-users mailing list
>> greenstone-users@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users