[greenstone-users] ImageMagick not working when building collections using client-gli or gli applet

From SEAFDEC/AQD Library
DateThu Sep 3 21:05:54 2009
Subject [greenstone-users] ImageMagick not working when building collections using client-gli or gli applet
Hello Mon,

I reinstalled greenstone ver. 2.82 outside Program Files and made
C:Greenstonecollect and C:Greenstone mp directory writeable by the
webserver user. Still can't build collection using pdfplugin -convert_to
pagedimg_jpg. I followed Katherine's advice to add imagemagick's directory
to the path environment variable of the server. Here's my message log from
GLI:

import.pl> perl -S full-import.pl -gli -language "en" pdfcolle -collectdir
"C:Greenstonecollect" 2>&1
import.pl> Removing current contents of the archives directory...
import.pl> Removing contents of the collection "tmp" directory...
import.pl> Global file scan checking directory: C:Greenstonecollect
pdfcolleimport
import.pl> Converting pdf01.pdf to PagedImage format
import.pl> Error executing pdftoimg.pl
import.pl> pdfpstoimg error log:
import.pl> Invalid Parameter -
"C:Greenstonecollectpdfcolle mppdf01pdf01.jpg"
import.pl> Convert error for C:Greenstonecollectpdfcolle mppdf01.pdf
import.pl> Could not convert pdf01.pdf to PagedImage format
import.pl> Invalid Parameter -
"C:Greenstonecollectpdfcolle mppdf01pdf01.jpg"
import.pl> Convert error for C:Greenstonecollectpdfcolle mppdf01.pdf
import.pl>
import.pl> WARNING: No plugin could process pdf01.pdf

Here's my apache's error log:

[Thu Sep 03 16:36:53 2009] [error] [client xxx.xxx.x.xx]
java.util.zip.ZipException: ZIP file must have at least one entryr

[Thu Sep 03 16:36:53 2009] [error] [client xxx.xxx.x.xx] at
java.util.zip.ZipOutputStream.finish(Unknown Source)r

[Thu Sep 03 16:36:53 2009] [error] [client xxx.xxx.x.xx] at
java.util.zip.DeflaterOutputStream.close(Unknown Source)r

[Thu Sep 03 16:36:53 2009] [error] [client xxx.xxx.x.xx] at
java.util.zip.ZipOutputStream.close(Unknown Source)r

[Thu Sep 03 16:36:53 2009] [error] [client xxx.xxx.x.xx] at
org.greenstone.gatherer.remote.ZipCollectionArchives.main(ZipCollectionArchives.java:34)r

[Thu Sep 03 16:36:53 2009] [error] [client xxx.xxx.x.xx] ERROR: Collection
archives zip file
C:\Greenstone\collect\pdfcolle-archives-1251966875343.zip could not be
created.

[Thu Sep 03 16:36:53 2009] [error] [client xxx.xxx.x.xx]
(cmd=download-collection-archives&c=pdfcolle&lr=&un=euler&pw=TpiHpRfcflpig&ts=1251966875343r

[Thu Sep 03 16:36:53 2009] [error] [client xxx.xxx.x.xx] )

[Thu Sep 03 16:38:36 2009] [error] [client xxx.xxx.x.xx]
java.util.zip.ZipException: ZIP file must have at least one entryr

[Thu Sep 03 16:38:36 2009] [error] [client xxx.xxx.x.xx] at
java.util.zip.ZipOutputStream.finish(Unknown Source)r

[Thu Sep 03 16:38:36 2009] [error] [client xxx.xxx.x.xx] at
java.util.zip.DeflaterOutputStream.close(Unknown Source)r

[Thu Sep 03 16:38:36 2009] [error] [client xxx.xxx.x.xx] at
java.util.zip.ZipOutputStream.close(Unknown Source)r

[Thu Sep 03 16:38:36 2009] [error] [client xxx.xxx.x.xx] at
org.greenstone.gatherer.remote.ZipCollectionArchives.main(ZipCollectionArchives.java:34)r

[Thu Sep 03 16:38:36 2009] [error] [client xxx.xxx.x.xx] ERROR: Collection
archives zip file
C:\Greenstone\collect\pdfcolle-archives-1251966985328.zip could not be
created.

[Thu Sep 03 16:38:36 2009] [error] [client xxx.xxx.x.xx]
(cmd=download-collection-archives&c=pdfcolle&lr=&un=euler&pw=TpiHpRfcflpig&ts=1251966985328r

[Thu Sep 03 16:38:36 2009] [error] [client xxx.xxx.x.xx] )


Also, while building, a message would pop up saying: Remote Greenstone
Server Error

An error has occurred on the remote Greenstone server while performing this
operation: Collection archives zip file
C:Greenstonecollectpdfcolle-archives-1251967713218.zip could not be
created.

I have no idea what to do to resolve this issue, please help.

Thanks in advance and I really appreciate your help. More power to you and
the rest of the Greenstone team.


Sincerly,

Elvi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20090903/6a1d496e/attachment.html