Re: [greenstone-users] gli problems

From robin ros
DateThu, 15 Feb 2007 09:19:21 -0600
Subject Re: [greenstone-users] gli problems
In-Reply-To (45D41102-9030407-ulib-sk)
thanks for your answer,

i already have that line on gliserver.pl,

this is an other error with the remote client gli, when i try to make
a collection:

Script name: import.pl
Collection name: quinient
Script args: &gli=&language=en&removeold=
gliserver args:
cmd=run-script&c=quinient&script=import.pl&language=en&gli=&language=en&removeold=
gliserver args: cmd=download-collection-archives&c=quinient
java.lang.Exception: Collection archives zip file
/usr/local/gsdl/collect/test1-quinient-archives.zip could not be
created.
at org.greenstone.gatherer.remote.RemoteGreenstoneServer.downloadFile(RemoteGreenstoneServer.java:878)
at org.greenstone.gatherer.remote.RemoteGreenstoneServer.access$300(RemoteGreenstoneServer.java:46)
at org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenstoneServerDownloadCollectionArchivesAction.perform(RemoteGreenstoneServer.java:455)
at org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenstoneServerActionQueue.run(RemoteGreenstoneServer.java:229)
Script name: buildcol.pl
Collection name: quinient
Script args: &gli=&language=en&removeold=
gliserver args:
cmd=run-script&c=quinient&script=buildcol.pl&language=en&gli=&language=en&removeold=
gliserver args:
cmd=download-collection-file&c=quinient&file=building%7Cbuild.cfg
java.lang.Exception: Collection file building/build.cfg does not exist.
at org.greenstone.gatherer.remote.RemoteGreenstoneServer.downloadFile(RemoteGreenstoneServer.java:878)
at org.greenstone.gatherer.remote.RemoteGreenstoneServer.access$300(RemoteGreenstoneServer.java:46)
at org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenstoneServerDownloadCollectionFileAction.perform(RemoteGreenstoneServer.java:527)
at org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenstoneServerActionQueue.run(RemoteGreenstoneServer.java:229)
gliserver args: cmd=delete-collection-file&c=quinient&file=index
gliserver args: cmd=move-collection-file&c=quinient&source=building&target=index


thanks for the help

robin


2007/2/15, Tomáš Fiala <tomas.fiala@ulib.sk>:
> Hello Robin,
>
> I'm not sure, but first of all try to check java versions on your
> machines.
>
> #!/usr/bin/perl -w should be written in cgi-bin/gliserver.pl
>
> I think the documentation at
> http://greenstone.sourceforge.net/wiki/index.php/Remote_Greenstone is quite good.
>
> Maybe you should also try command line building.
>
> I'm sorry that i cant help you more.
>
> Sincerely,
>
> Tomas Fiala
>
>
>
> robin ros wrote / napísal(a):
> > hi every one,
> >
> > i have problems with gli standalone and remote, i have a debian etch
> > server with greenstone, and i want to install the gli on kubuntu edgy
> > machines, and connect me remotely, but alwasy give an error,
> >
> > like this on console:
> >
> > gliserver args:
> > cmd=get-script-options&script=classinfo.pl&xml=&language=en&listall
> > gliserver args:
> > cmd=get-script-options&script=pluginfo.pl&xml=&language=en&listall
> > gliserver args: cmd=download-collection-configurations
> > Script name: mkcol.pl
> > Collection name: nueva
> > Script args: &win31compat=false
> > gliserver args:
> > cmd=run-script&c=nueva&script=mkcol.pl&language=en&win31compat=false
> > gliserver args: cmd=download-collection&c=nueva
> > gliserver args: cmd=new-collection-directory&c=nueva&directory=import
> > java.lang.Exception: Collection directory import already exists.
> >
> > (cmd=new-collection-directory&c=nueva&directory=import&un=test1&pw=TpZXVnL.Tuq3k)
> >
> >
> > at
> > org.greenstone.gatherer.remote.RemoteGreenstoneServer.sendCommandToServer(RemoteGreenstoneServer.java:922)
> >
> > at
> > org.greenstone.gatherer.remote.RemoteGreenstoneServer.access$200(RemoteGreenstoneServer.java:46)
> >
> > at
> > org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenstoneServerNewCollectionDirectoryAction.perform(RemoteGreenstoneServer.java:633)
> >
> > at
> > org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenstoneServerActionQueue.run(RemoteGreenstoneServer.java:229)
> >
> > gliserver args:
> > cmd=get-script-options&script=buildcol.pl&xml=&language=en
> > gliserver args: cmd=get-script-options&script=import.pl&xml=&language=en
> > gliserver args: cmd=download-collection&c=wrdpdf-e
> > gliserver args:
> > cmd=upload-collection-file&c=nueva&file=nueva-1171466491114.zip&directory=&zip=true
> >
> > gliserver args:
> > cmd=upload-collection-file&c=nueva&file=nueva-1171466492500.zip&directory=&zip=true
> >
> > gliserver args:
> > cmd=upload-collection-file&c=nueva&file=nueva-1171466493674.zip&directory=&zip=true
> >
> > gliserver args:
> > cmd=upload-collection-file&c=nueva&file=nueva-1171466512919.zip&directory=import&zip=true
> >
> > gliserver args:
> > cmd=upload-collection-file&c=nueva&file=nueva-1171466520440.zip&directory=import&zip=true
> >
> > gliserver args:
> > cmd=upload-collection-file&c=nueva&file=nueva-1171466522008.zip&directory=import&zip=true
> >
> > gliserver args:
> > cmd=upload-collection-file&c=nueva&file=nueva-1171466523805.zip&directory=import&zip=true
> >
> > WARNING: In event dispatch thread, returning immediately...
> > gliserver args:
> > cmd=upload-collection-file&c=nueva&file=nueva-1171466542966.zip&directory=&zip=true
> >
> > WARNING: In event dispatch thread, returning immediately...
> > gliserver args:
> > cmd=upload-collection-file&c=nueva&file=nueva-1171466548837.zip&directory=&zip=true
> >
> > Script name: import.pl
> > Collection name: nueva
> > Script args: &gli=&language=en&removeold=
> > gliserver args:
> > cmd=run-script&c=nueva&script=import.pl&language=en&gli=&language=en&removeold=
> >
> > gliserver args: cmd=download-collection-archives&c=nueva
> > java.lang.Exception: Collection archives zip file
> > /usr/local/gsdl/collect/test1-nueva-archives.zip could not be created.
> > at
> > org.greenstone.gatherer.remote.RemoteGreenstoneServer.downloadFile(RemoteGreenstoneServer.java:878)
> >
> > at
> > org.greenstone.gatherer.remote.RemoteGreenstoneServer.access$300(RemoteGreenstoneServer.java:46)
> >
> > at
> > org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenstoneServerDownloadCollectionArchivesAction.perform(RemoteGreenstoneServer.java:455)
> >
> > at
> > org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenstoneServerActionQueue.run(RemoteGreenstoneServer.java:229)
> >
> > Script name: buildcol.pl
> > Collection name: nueva
> > Script args: &gli=&language=en&removeold=
> > gliserver args:
> > cmd=run-script&c=nueva&script=buildcol.pl&language=en&gli=&language=en&removeold=
> >
> > gliserver args:
> > cmd=download-collection-file&c=nueva&file=building%7Cbuild.cfg
> > java.lang.Exception: Collection file building/build.cfg does not exist.
> > at
> > org.greenstone.gatherer.remote.RemoteGreenstoneServer.downloadFile(RemoteGreenstoneServer.java:878)
> >
> > at
> > org.greenstone.gatherer.remote.RemoteGreenstoneServer.access$300(RemoteGreenstoneServer.java:46)
> >
> > at
> > org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenstoneServerDownloadCollectionFileAction.perform(RemoteGreenstoneServer.java:527)
> >
> > at
> > org.greenstone.gatherer.remote.RemoteGreenstoneServer$RemoteGreenstoneServerActionQueue.run(RemoteGreenstoneServer.java:229)
> >
> > gliserver args: cmd=delete-collection-file&c=nueva&file=index
> > gliserver args:
> > cmd=move-collection-file&c=nueva&source=building&target=index
> >
> > i donot know what is happens
> >
> > anybody already make this only on linux??, almost documentacion are
> > for windows, and the wiki page is not so good for problems,
> >
> > thanks for your help,
> >
> > robin
> >
> > _______________________________________________
> > greenstone-users mailing list
> > greenstone-users@list.scms.waikato.ac.nz
> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >
>
> --
> Department of digitization
> University library Bratislava
> http://www.ulib.sk
>
>